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

Automatic saving of file after getting solution

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2004, 05: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, 18: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, 21: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, 23: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, 18: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, 10: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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
wmake compiling new solver mksca OpenFOAM Programming & Development 14 June 22, 2018 07:29
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 05:26
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51


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