CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Automatic saving of file after getting solution (https://www.cfd-online.com/Forums/fluent/33932-automatic-saving-file-after-getting-solution.html)

venugopal June 11, 2004 04:36

Automatic saving of file after getting solution
 
I want to save the file after getting solution. I want to save it automatically, like what we will save the files at specific frequency by " AUTO SAVE " option.

If anybody knows it, please send me that option

Podila June 11, 2004 17:05

Re: Automatic saving of file after getting solutio
 
Hello Mr Gopal, I am not very clear with the question however I comprehend ur question as how one can write the solution after it has been solved. okie.. so in order to do that u can write the case and the data file option. In Fluent GUI u can click on file >write> then it is transparent. It would be pleasure for me if I can help u in this regard. Bye for Now Podila

venugopal June 11, 2004 20:53

Re: Automatic saving of file after getting solutio
 
May be i have not communicated properly in my previous question. My doubt is, is there any option in fluent to save the file after gettig convergence, without writing case and data manually. Thank you

Podila June 11, 2004 22:42

Re: Automatic saving of file after getting solutio
 
file write autosave is the only one which can do that anways the moment the fluent has converged the solution it will srite but the word of orecuation u must do it in a trial fashion or you have to write file and dat after every ieration. If u want to overcome this then u must have a farily rought idea of when ur solution is going to converge then u can schedule the write frequency accordingly. Podila

Tim P. June 13, 2004 17:06

Re: Automatic saving of file after getting solutio
 
Good day Venugopal,

I usually run all of my large jobs on a parallel system so I most submit my jobs via PBS, which means that I write a little script file for running it. This script file does everything that I tell it which means it also automatically saves the case and data files after the solution converges. I usually do it this way just in case the terminal I work on crashes.

Anyways, in the GUI of FLUENT you can load small, pre-written script/journal/log file that works by using the text commands that FLUENT uses.

With these you can have as much or as little operations in your file and the whole thing can be easily written in a text editor with what ever file extension you choose. Then in FLUENT just go to File->Read->Journal... change the filter to your chosen extension, find your file and load it up. FLUENT will begin executing your file. The text file you write can be as simple as:

;Iterate for max of 5000 iterations

it 5000

;After convergence save case and data files

wc done.cas

wd done.dat

The semi-colon's indicate a line that is not read by FLUENT, just there for your reference.

Check out the following sections in the FLUENT 6.0 manual: 2.5.1, 2.2.1 and in 2.4.1 click on the link (Text Command List).

Anyways, I hope this helps and I apologize for the long-windedness of it.

Cheers,

Tim.

JWR June 17, 2004 09:45

Re: Automatic saving of file after getting solutio
 
To use this method, you need to know maximum iteration for converging and to have convince that your problem is well converged. If problem is not converged by max. iteration, automatic saving by this Macro is...... ^^%

After saving cas/dat, you can also exit Fluent automatically by adding one sentence.



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