Page 1 of 1

trackcvg bug

Posted: Sat May 15, 2021 10:09 am
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

Re: trackcvg bug

Posted: Mon May 17, 2021 12:22 am
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