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

Runing Ansys Fluent on batch mode

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2019, 09:46
Default Runing Ansys Fluent on batch mode
  #1
New Member
 
ho-con
Join Date: Jan 2014
Posts: 14
Rep Power: 12
hocon is on a distinguished road
I am running Fluent on batch mode by the commands below. I cannot find the output file after finishing the running and which software I need to use to read the post simulation for Fluent?

; Read case file
rc example.cas
; Initialize the solution
/solve/initialize/initialize-flow
; Calculate 50 iterations
it 50
; Write data file
wd example50.dat
; Calculate another 50 iterations
it 50
; Write another data file
wd example100.dat
; Exit Fluent
exit
yes
hocon is offline   Reply With Quote

Old   May 13, 2019, 13:13
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
What output file you are referring to? The .dat files? Or the screen output containing all the residual information?


The .dat files are written in the working directory. If they're not there, you have to check the log to see why it was not written.


For the log... It is not controlled in this script but in the command you used to launch Fluent in batch mode.
LuckyTran is offline   Reply With Quote

Old   May 24, 2019, 09:43
Default
  #3
New Member
 
ho-con
Join Date: Jan 2014
Posts: 14
Rep Power: 12
hocon is on a distinguished road
I mean the .dat file.
If in GUI ANYSYS Fluent I run Initialization to get the .dat file for in an input file of journal file (at that time rc inputfile and rd inputfile). What is different between the .dat file created by run Initialization and the .dat file of output when finishing the batch mode.

And the second thing I am confused that how can I run a other simulation from the last time step of the previous simulation because I don't run to from initial condition. How to rewrite the command

/solve/initialize/initialize-flow
; Calculate 50 iterations
hocon is offline   Reply With Quote

Old   May 24, 2019, 11:13
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by hocon View Post
What is different between the .dat file created by run Initialization and the .dat file of output when finishing the batch mode.
The only difference is the solution values that are saved in the file.

Quote:
Originally Posted by hocon View Post
And the second thing I am confused that how can I run a other simulation from the last time step of the previous simulation because I don't run to from initial condition. How to rewrite the command
Remove the initialize line since you don't need it anymore. And add a line to read the .dat file using rd (rc is read case, rd is read dat, rcd is read case and data).

rc example.cas
rd example50.dat
it 50
wd example100.dat

You must remove or comment out the initialize line, otherwise that will re-initialize and erase all your solution data.
hocon likes this.
LuckyTran is offline   Reply With Quote

Old   June 5, 2019, 10:03
Default
  #5
New Member
 
ho-con
Join Date: Jan 2014
Posts: 14
Rep Power: 12
hocon is on a distinguished road
After running the Initialization, the the .dat and .cas file do not include the Calculation Activities such as Autosave (Every time steps), File storage option. So, how can I set up the Calculation Activities in a batch mode?
hocon is offline   Reply With Quote

Reply


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
Ansys in Batch mode raz ANSYS 0 June 2, 2017 05:46
Can you help me with a problem in ansys static structural solver? sourabh.porwal Structural Mechanics 0 March 27, 2016 18:07
[PyFoam] Problems with the new PyFoam release zfaraday OpenFOAM Community Contributions 13 December 9, 2014 19:58
multiple simulation in FLUENT in Batch mode Anonymized_JL1 FLUENT 0 October 19, 2010 09:47
fluent stops batch mode on error Ralf Schmidt FLUENT 1 March 1, 2008 11:35


All times are GMT -4. The time now is 01:06.