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

Automatic saving of file after getting solution

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 11, 2004, 04:36
Default Automatic saving of file after getting solution
  #1
venugopal
Guest
 
Posts: n/a
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
  Reply With Quote

Old   June 11, 2004, 17:05
Default Re: Automatic saving of file after getting solutio
  #2
Podila
Guest
 
Posts: n/a
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
  Reply With Quote

Old   June 11, 2004, 20:53
Default Re: Automatic saving of file after getting solutio
  #3
venugopal
Guest
 
Posts: n/a
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
  Reply With Quote

Old   June 11, 2004, 22:42
Default Re: Automatic saving of file after getting solutio
  #4
Podila
Guest
 
Posts: n/a
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
  Reply With Quote

Old   June 13, 2004, 17:06
Default Re: Automatic saving of file after getting solutio
  #5
Tim P.
Guest
 
Posts: n/a
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.
  Reply With Quote

Old   June 17, 2004, 09:45
Default Re: Automatic saving of file after getting solutio
  #6
JWR
Guest
 
Posts: n/a
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.

  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
wmake compiling new solver mksca OpenFOAM Programming & Development 13 August 18, 2014 22:26
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51


All times are GMT -4. The time now is 22:41.