CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

resume and run fluent for another timestep via a c

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2005, 12:25
Default resume and run fluent for another timestep via a c
  #1
greg
Guest
 
Posts: n/a
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
  Reply With Quote

Old   June 29, 2005, 18:44
Default Re: resume and run fluent for another timestep via
  #2
us
Guest
 
Posts: n/a
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
  Reply With Quote

Old   June 30, 2005, 06:01
Default Re: resume and run fluent for another timestep via
  #3
greg
Guest
 
Posts: n/a
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:24.