How to specify mesh and restart directory without GUI

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
rodion
Posts: 98
Joined: Wed Jan 11, 2017 4:13 pm

How to specify mesh and restart directory without GUI

Post by rodion »

Hello everyone,

I'm using Code_Saturne 4.2 on Windows 7 for electric arc simulation and I want to avoid using GUI, because it has a lot of errors like boundary condition for inlet and initialization don't work for electric arc simulation, there are two different input box for the same coefficient of density relaxation.
The question is how can I specify the mesh, restart directory and output parameters in SRC files or in runcase.bat?

Best regards,
Rodion
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: How to specify mesh and restart directory without GUI

Post by Yvan Fournier »

Hello,

You can use the cs_user_scripts.py script, but I recommend using the GUI and overriding the parts you need with user subroutines.

Also note v4.2 is retired, only versions 4.0 and 5.0 are currently maintained.

Regards,

Yvan
Post Reply