trackcvg bug

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
lorenzo.iron
Posts: 18
Joined: Tue May 11, 2021 1:22 pm

trackcvg bug

Post by lorenzo.iron »

Hello,

yesterday I accidentally closed the "simulation control window"
SimContrWin.png
and then I run the shell command "code_saturne trackcvg" and I was able to retrieve my running simulation.

Unfortunately, from today I'm no more able to access the trackcvg funtion, both from GUI and from shell.
When I run from shell i receive the following message (Name Error: global name 'to_text_string' is not defined)
Error.PNG
1) How can I fix this? I really need to restore the convergence monitoring tool.
2) Also, is there a command to re-open the "simulation control window" once it has been closed?

Thank you,
Lorenzo
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: trackcvg bug

Post by Yvan Fournier »

Hello,

I do not think you can re-open the simulation control window once it has been closed, though you cann still control the simulation from the shell using the "control_file" mechanism.

The trackcvg tool also places a hidden "..trackcvg.state" file in the execution directory. If that file is in an incorrect state, simply removing it should fix the trackcvg error you have when running from the shell.

Best regards,

Yvan
Post Reply