Skip to content

Fix outdated options in 12 TestCases configs - #3068

Open
BLACKNIGHT-cloud12 wants to merge 1 commit into
su2code:developfrom
BLACKNIGHT-cloud12:fix/testcase-configs-2898
Open

BLACKNIGHT-cloud12 wants to merge 1 commit into
su2code:developfrom
BLACKNIGHT-cloud12:fix/testcase-configs-2898

Conversation

@BLACKNIGHT-cloud12

Copy link
Copy Markdown

Proposed Changes

Updates a dozen test case config files that failed to parse or initialize on develop due to removed or renamed options:

  • Switched NAVIER_STOKES / INC_NAVIER_STOKES with KIND_TURB_MODEL= SA to RANS / INC_RANS in the adjoint, Ahmed body, and RANS optimization cases.
  • Replaced EXT_ITER, FROZEN_VISC, *_LIN_FILENAME, scalar rigid-motion options (GRID_MOVEMENT_KIND, MOTION_ORIGIN_*, PITCHING_*), and GEO_AXIS_STATIONS / GEO_WING_BOUNDS with their current equivalents.
  • Added TIME_DOMAIN= YES and TIME_ITER to the unsteady pitching optimization configs.
  • Updated transition/E387_Airfoil and transition/T3A_FlatPlate to use INC_DENSITY_INIT, INC_VELOCITY_INIT, VISCOSITY_MODEL= CONSTANT_VISCOSITY, MU_CONSTANT, and INC_INLET_TYPE / INC_OUTLET_TYPE to match transition/Schubauer_Klebanoff.
  • Added READ_BINARY_RESTART= NO in cont_adj_rans/oneram6 and optimization_rans/steady_oneram6 so they load the .csv restart files in su2code/TestCases, and set RESTART_SOL= NO in rans/vki_turbine/turb_vki.cfg (the solution_flow.csv in TestCases has 15715 points while mesh_vki_turbine_prepbc.su2 has 15860, so ASCII restart fails).

Tested locally by running SU2_CFD -d and short 1–2 iteration runs against the meshes from su2code/TestCases, plus SU2_GEO for optimization_rans/steady_oneram6.

Related Work

Part of #2898 (leaves out hom_euler/, control_surface/, rans_uq/, non-CFD configs, and the FSI/turbomachinery cases that need separate changes).

PR Checklist

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
  • My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/).
  • I used the pre-commit hook to prevent dirty commits and used pre-commit run --all to format old commits.
  • 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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant