Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test cases for turbulence model variants #1418

Merged
merged 10 commits into from
Nov 6, 2021

Conversation

suargi
Copy link
Contributor

@suargi suargi commented Nov 2, 2021

Pull request description

This pull request introduces a series of regression cases for the Spalart-Allmaras turbulence model variations and corrections:

  • Baseline
  • Negative
  • Edwards
  • Compressibility
  • Compressibility and Edwards
  • QCR2000

The residuals on the python scripts are wrong. These values are temporary and will be updated once the regression tests are run on the Travis CI system.
Since this pull request does not introduce any code modification, the residuals on the python scripts have been updated on commit 1a1661f with the Travis Cl (sim_vals (computed)) values.

Related Work

These tests will be further used to verify the correct implementation of #1413

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with the '-Wall -Wextra -Wno-unused-parameter -Wno-empty-body' compiler flags, or simply --warnlevel=2 when using meson).
  • My contribution is commented and consistent with SU2 style.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp) , if necessary.

Modified the serial_regression.py and parallel_regression.py for a better looking
@pr-triage pr-triage bot added the PR: draft label Nov 2, 2021
@suargi
Copy link
Contributor Author

suargi commented Nov 2, 2021

As stated in #1384 some hybrid parallel AD regression tests failed.
The regression test visc_cone has also failed with ERROR: The code was not able to get to the "Begin solver" section. for both serial_regression.py and parallel_regression.py.

@suargi suargi removed the PR: draft label Nov 2, 2021
@suargi suargi changed the title [WIP] Feature turbmod variants testcases Feature turbmod variants testcases Nov 2, 2021
@pr-triage pr-triage bot added the PR: draft label Nov 2, 2021
@WallyMaier
Copy link
Contributor

WallyMaier commented Nov 2, 2021

@suargi An update to the TestCases repo renamed a folder for the visc_cone. I have a PR open to fix the problem ---> Should be fixed now.

@suargi
Copy link
Contributor Author

suargi commented Nov 2, 2021

@suargi An update to the TestCases repo renamed a folder for the visc_cone. I have a PR open to fix the problem ---> Should be fixed now.

Thanks @WallyMaier. Now serial and parallel regression test work smoothly.

@suargi suargi removed the PR: draft label Nov 3, 2021
@suargi suargi marked this pull request as ready for review November 3, 2021 09:00
@pcarruscag pcarruscag changed the title Feature turbmod variants testcases Test cases for turbulence model variants Nov 3, 2021
Copy link
Member

@pcarruscag pcarruscag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this 👍
Please strip all the comments and non relevant options from the configs.

TestCases/serial_regression.py Outdated Show resolved Hide resolved
OUTPUT_WRT_FREQ= 250
%
% Screen output fields
SCREEN_OUTPUT= (INNER_ITER, RMS_DENSITY, RMS_MOMENTUM-X, RMS_MOMENTUM-Y, RMS_NU_TILDE, LIFT, DRAG)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

…nfig files

Remove the turbulence models serial regression tests. Left only parallel tests.
Strip all the comments and non relevant options from the config files
@suargi
Copy link
Contributor Author

suargi commented Nov 3, 2021

Thanks for this +1 Please strip all the comments and non relevant options from the configs.

Thank you Pedro for all your suggestions.
I have reverted the serial_regression.py file and updated the configuration files. This work is done in 84c9584.

TestCases/parallel_regression.py Outdated Show resolved Hide resolved
TestCases/parallel_regression.py Outdated Show resolved Hide resolved
TestCases/parallel_regression.py Outdated Show resolved Hide resolved
TestCases/parallel_regression.py Outdated Show resolved Hide resolved
TestCases/parallel_regression.py Outdated Show resolved Hide resolved
TestCases/parallel_regression.py Outdated Show resolved Hide resolved
Remove the configiguration file header info: case description, author, institution and date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants