CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Seek urgent help in batch mode (http://www.cfd-online.com/Forums/fluent/45753-seek-urgent-help-batch-mode.html)

Jack Martinez August 17, 2007 03:40

Seek urgent help in batch mode
 
Hello

I am working on batch mode for an unsteady heat transfer analysis. In my simulation, we need to terminate the solution, make some changes in the setting (depending upon run time solution) and restart it from previous time step without any user interference.

I would be really thankful if someone can suggest me about

1. Is there a command to stop/terminate the fluent simulation running in batch mode. The termination depend upon solution and residuals so the command cannot be included in Journal file but have to be executed externally, like a ctrl+C command signal send by system but without user interference.

2. How to save the case and data file, before stopping or terminating, to make the neccessary changes decided by simulation result during run time.

3. How to restart a fluent simulation from previous time step without any user interference. I think the autosave feature could help me but I need to suppress the appendum of time-step number added to its name during writing so that I can read the case and data file from same journal file.

Any small help is highly appreciated.

Look forward for your kind input.

Thanks in advance

Jack.

Joe August 17, 2007 07:48

Re: Seek urgent help in batch mode
 
1. Yes. Search for "checkpointing" in the user manual. Basically you create a specifically named file in the run directory. 2. See 1. 3. TUI ... rcd.

Jack Martinez August 17, 2007 10:24

Re: Seek urgent help in batch mode
 
Hello Joe

Thanks for your input.

1. I also read in the manual about checkpointing the FLuent simulation but unfirtunately, I couldn't implement it. I will be really grateful, if you could give some more input on how to preoceed with creating a required file and commands associated with it.

Below is my journal file.

;START JOURNAL FILE

/file/read-case "U:\Jack\imp.cas"

/file/read-data "U:\Jack\imp.dat"

/file/autosave/case-frequency 0

/file/autosave/data-frequency 1

/file/autosave/overwrite-existing-files

yes

/file/autosave/root-name "U:\Jack\imp"

/solve/dual-time-iterate 10

10

2) Where do we have to include the commands like (ckpt/time-step?#t) , in journal file or scheme file.


All times are GMT -4. The time now is 13:10.