SU2
SU2 copied to clipboard
config_template.cfg contains option names that SU2_CFD rejects
Describe the bug
Eight options in config_template.cfg are not registered in CConfig, so a configuration copied from the template stops with invalid option name:
NETTHRUST_DBCTHRUST,HOLD_GRID_FIXED_COORDSandDEFORM_POISSON_RATIOare misspellings ofDNETTHRUST_DBCTHRUST,HOLD_GRID_FIXED_COORDandDEFORM_POISSONS_RATIOBUFFET_MONITORING,SINGLEZONE_DRIVER,SMOOTH_GEOMETRYandTHERMAL_DIFFUSIVITYwere removed fromCConfigIGNITION_TEMPERATUREwas never registered, the flame thickness threshold it describes isFLAME_INIT_IGNITION
To Reproduce
SU2_CFD -d config_template.cfg
Line 421 NETTHRUST_DBCTHRUST: invalid option name. Check current SU2 options in config_template.cfg.
Line 674 BUFFET_MONITORING: invalid option name. Check current SU2 options in config_template.cfg.
Line 875 SINGLEZONE_DRIVER: invalid option name. Check current SU2 options in config_template.cfg.
...
Expected behavior
Every option in config_template.cfg is accepted by SU2_CFD.
A fix is proposed in #2904.
Bug report checklist
- [x] Consulting the build instructions (https://su2code.github.io/docs_v7/Build-SU2-Linux-MacOS/).
- [x] Looking for similar problems on GitHub or CFD-Online (https://www.cfd-online.com/Forums/su2/).
- [x] Updating to the newest version of SU2 (either develop, master, or the pre-built executables https://su2code.github.io/download.html).
Desktop (please complete the following information):
- OS: Windows 11
- C++ compiler and version: MSVC 19.44 (Visual Studio 2022 Build Tools)
- MPI implementation and version: Microsoft MPI 10.1
- SU2 Version: develop