CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   resume and run fluent for another timestep via a c (http://www.cfd-online.com/Forums/fluent/37047-resume-run-fluent-another-timestep-via-c.html)

greg June 24, 2005 11:25

resume and run fluent for another timestep via a c
 
Hi all,

i use fluent along with tcl scripting to run and execute my simulations. What i do is run fluent in the background from a journal file:

nohup fluent 2d -i inputfile >& outputfile &

my script then waits for the outputfile to be produced and checked for errors before continuing. i leave fluent open in the background.

So it is possible to do the following? After doing some post-processing on the output files (via tcl) resume the already running fluent and increase the timestep and/or iterations. so does anyone know if a different journal file, say inputfile2, can resume and run fluent for another timestep via a command line?

many thanks,

greg

us June 29, 2005 17:44

Re: resume and run fluent for another timestep via
 
or if initial jou file can have certain command that can read some text commands from script-generated files,(assuming tcl-script generates a file with SCHEME commands stating new timesteps/iterations etc.)

Interesting to know the ans

greg June 30, 2005 05:01

Re: resume and run fluent for another timestep via
 
i managed to get it sorted, i just piped the output to a file which i then check for errors before proceding:

catch {exec nohup fluent 2d -i greg2.jou > output2.out 2>&a2} output2


All times are GMT -4. The time now is 04:44.