|
[Sponsors] |
SU2 doesn't run but throws "Error in TokenizeString()…" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 6, 2023, 06:53 |
SU2 doesn't run but throws "Error in TokenizeString()…"
|
#1 |
New Member
Horst Philipp
Join Date: Nov 2023
Posts: 2
Rep Power: 0 |
Dear community,
after tedious search I surprisingly found no answer although I suspect this happens a lot: The solver SU2 v8.0.0 "Harrier" would not run but throws the following message: Error in TokenizeString(): line in the configuration file with no "=" sign. Look for: 5 417 69 311 0 str.length() = 14 terminate called after throwing an instance of 'int' Aborted (core dumped) I executed the following: SU2_CFD mesh_NACA0012_inv.su2 The grid and config files are downloaded from SU2's Tutorial page, but I have attached the .cfg-file for Your convenience. Additionally, can anyone give me advice on what the "Look for:…" line means, how to read it, what the solver wants to tell me? Thanks in advance Horscht
P.S.: changed to .txt because .cfg is not allowed… |
|
November 6, 2023, 07:35 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Hi Horscht,
Don't execute SU2 using the .su2 file but use the .cfg file: Code:
SU2_CFD config.cfg so a simple check to see if the configuration file is valid is to check the presence of the equal sign. |
|
November 6, 2023, 08:40 |
Hell no…
|
#3 |
New Member
Horst Philipp
Join Date: Nov 2023
Posts: 2
Rep Power: 0 |
bigfootedrockmidget, thank You very much!
I only installed SU2 ten days ago but this I already knew. Believe it or not, I wasn't aware of choosing the wrong file. After all, at least my post was detailed enough to expose the mistake… I guess that's life Have a nice day, bigfootedrockmidget! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to run SU2 on cluster of computers (How to specify nodes ?) | aero_amit | SU2 | 29 | February 24, 2020 14:44 |
SU2 Divergence Problem | Gui_AP | SU2 | 5 | February 21, 2020 12:10 |
MPI error when trying to run su2 in parallel | Gui_AP | SU2 | 11 | June 3, 2019 04:38 |
Needed SU2 input configuration file for longer run | Samirs | SU2 Installation | 0 | July 5, 2018 02:02 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |