|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
Hi Fluent Users, sometimes I run Fluent in a batch job, i.e. I use the ability of Fluent to read journal or log files instead of interactive commands by the 'i-' option, the option of switching off gaphics '-g' and the display diversion function ('>') of UNIX. This gives me the opportunity to have a look on the progress of the calculation from a remote login.
Unfortunately it happens sometimes that the number of iterations was set to high in order to have finished next morning. This leads to my question: Does someone know how to stop a fluent process / fluent batch job AND to save the data, i.e. not to loose the results of one night or a weekend? Sometimes kill -1 on the cortex process works. Fluent then writes the case as #FLUENT# and the data as #FLUENT#.dat. Thank you already for answering. |
|
|
||
|
|
|
#2 |
|
Guest
Posts: n/a
|
Hi,
In the journal file you can add statements such that the fluent files are saved after a specified number of iterations after which iterations are resumed again. Example of a .jou file to run test.cas two times with 20 iterations each time. file read-case-data test.cas /solve iterate 20 quit /file write-case-data y /solve iterate 20 quit /file write-case-data y quit quit exit This saves the case after 20 iterations and resumes iterating again. So if you need to run more iterations change the number of iterations or save and iterate a couple of times by copying the portion and pasting where necessary. iterate 20 quit /file write-case-data y where required. Chetan |
|
|
||
|
|
|
#3 |
|
Guest
Posts: n/a
|
To check your job (i.e. to save and continue the run) create a file named check-fluent in your /tmp directory.
To save and exit, create a file named exit-fluent . This should work if you don't run through any queue system. Queue systems normally have the check-batch-job option and this is what I have to use right now. Anders |
|
|
||
|
|
|
#4 |
|
Guest
Posts: n/a
|
How do I have to create those files?
|
|
|
||
|
|
|
#5 |
|
Guest
Posts: n/a
|
Use the command touch exit-fluent which creates a file named exit-fluent without any content.
|
|
|
||
|
|
|
#6 |
|
Guest
Posts: n/a
|
Where does fluent save the data+case file? Into my tmp-directory?
|
|
|
||
|
|
|
#7 |
|
Guest
Posts: n/a
|
No answers necessary, I found it out by myself: Inside the working directory form where the job was submitted a dat and cas file whose name includes the actual number of iterations is saved.
Very nice! Thanks a lot Anders Jerhamre. |
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|