SU2
SU2 copied to clipboard
RAMP_* deprecation messages are misspelled and run into the next error line
Describe the bug
The messages for the deprecated options RAMP_OUTLET_PRESSURE, RAMP_OUTLET_PRESSURE_COEFF, RAMP_ROTATION_FRAME and RAMP_ROTATION_FRAME_COEFF in CConfig::SetConfig_Parsing say "deprectaed" and, unlike the other deprecation messages, do not end with a newline, so the next error is printed on the same line.
To Reproduce
Add RAMP_OUTLET_PRESSURE= NO and RAMP_ROTATION_FRAME= NO to any configuration, for example TestCases/euler/naca0012/inv_NACA0012_Roe.cfg, and run SU2_CFD -d:
Line 96 RAMP_OUTLET_PRESSURE: invalid option name. Check current SU2 options in config_template.cfg.
RAMP_OUTLET_PRESSURE is deprectaed. Use RAMP_OUTLET insteadLine 97 RAMP_ROTATION_FRAME: invalid option name. Check current SU2 options in config_template.cfg.
RAMP_ROTATION_FRAME is deprectaed. Use RAMP_MOTION_FRAME instead
Expected behavior
Each message is spelled correctly and followed by a blank line like the other deprecation messages.
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