SU2 icon indicating copy to clipboard operation
SU2 copied to clipboard

config_template.cfg contains option names that SU2_CFD rejects

Open ManasBagul23 opened this issue 2 months ago • 0 comments

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_COORDS and DEFORM_POISSON_RATIO are misspellings of DNETTHRUST_DBCTHRUST, HOLD_GRID_FIXED_COORD and DEFORM_POISSONS_RATIO
  • BUFFET_MONITORING, SINGLEZONE_DRIVER, SMOOTH_GEOMETRY and THERMAL_DIFFUSIVITY were removed from CConfig
  • IGNITION_TEMPERATURE was never registered, the flame thickness threshold it describes is FLAME_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

ManasBagul23 avatar Sep 17 '26 16:09 ManasBagul23