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

Exit fluent after simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2012, 11:04
Default Exit fluent after simulation
  #1
New Member
 
Join Date: Oct 2012
Posts: 3
Rep Power: 14
Ragnar is on a distinguished road
Hi everyone,

I'm actually doing FLUENT simulations. As few licenses are available, I wonder if we can automatically close Fluent software at the end of a simulation. I know we can save data automatically, but how to quit the software ?
Of course I want to define "the end of the simulation" (numbers of iterations, when convergence is reached, etc...)
Does anyone know how to do that ?

Thanks in advance,
Regards,

Ragnar
Ragnar is offline   Reply With Quote

Old   November 27, 2012, 11:10
Default
  #2
Member
 
Smaras
Join Date: Sep 2012
Location: Germany
Posts: 78
Rep Power: 14
Smaras is on a distinguished road
Quote:
Originally Posted by Ragnar View Post
Hi everyone,

I'm actually doing FLUENT simulations. As few licenses are available, I wonder if we can automatically close Fluent software at the end of a simulation. I know we can save data automatically, but how to quit the software ?
Of course I want to define "the end of the simulation" (numbers of iterations, when convergence is reached, etc...)
Does anyone know how to do that ?

Thanks in advance,
Regards,

Ragnar
Hello Ragnar,


I think you should write a journal to do the simulation (i.e. after saving all the setting).
Just write it in notepad, then save it as FILENAME.jou and then open in fluent as journal file

"
/file/read-case-data Yourfilename

/solve/dual-time-iterate Nooftimesteps

/file/write-case-data Youfilename

/exit
ok
"

I hope your query is solved. if you need more help please ask

regards,
Smaras
Smaras is offline   Reply With Quote

Old   November 27, 2012, 11:13
Default
  #3
Member
 
Smaras
Join Date: Sep 2012
Location: Germany
Posts: 78
Rep Power: 14
Smaras is on a distinguished road
And sorry forgot you can add more simulation as well so it will do simulation in series. For that you have to add more read command of your .cas file before /exit command.

Regards.
Smaras is offline   Reply With Quote

Old   November 27, 2012, 12:08
Default
  #4
New Member
 
Join Date: Oct 2012
Posts: 3
Rep Power: 14
Ragnar is on a distinguished road
Thank you ! it works well.
There is just something wrong (maybe because of the Fluent version) :

"
/file/read-case-data Yourfilename

/solve/iterate Nooftimesteps

/file/write-case-data Youfilename
ok

/exit
ok
"

I used "iterate" instead of "dual-time-iterate"
And the "ok" is needed in order to erase/save the file (if you save in the same directory).

Regards,
Ragnar
Ragnar is offline   Reply With Quote

Old   November 28, 2012, 04:36
Default
  #5
Member
 
Smaras
Join Date: Sep 2012
Location: Germany
Posts: 78
Rep Power: 14
Smaras is on a distinguished road
Quote:
Originally Posted by Ragnar View Post
Thank you ! it works well.
There is just something wrong (maybe because of the Fluent version) :

"
/file/read-case-data Yourfilename

/solve/iterate Nooftimesteps

/file/write-case-data Youfilename
ok

/exit
ok
"

I used "iterate" instead of "dual-time-iterate"
And the "ok" is needed in order to erase/save the file (if you save in the same directory).

Regards,
Ragnar
Ah ok you are using it in steady state...for unsteady its dual-time-iterate

Regards
Smaras is offline   Reply With Quote

Old   November 28, 2012, 10:57
Default
  #6
New Member
 
Join Date: Oct 2012
Posts: 3
Rep Power: 14
Ragnar is on a distinguished road
Ah ok. good to know.

Thank you for your help !

Regards,
Ragnar
Ragnar is offline   Reply With Quote

Reply

Tags
exit, fluent, quit


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
3D Simulation of the Plasma Jet in FLUENT Steve FLUENT 9 April 20, 2012 07:42
Combustion SImulation in Fluent santhosh1987 FLUENT 0 May 14, 2010 11:32
IC engine simulation tutorial by FLUENT yash Main CFD Forum 1 April 21, 2009 06:05
Fluent Remote Simulation Facility Service (RSF) di Rami FLUENT 2 June 4, 2008 06:38
Convert existing Star-CD simulation to FLUENT Lam FLUENT 3 June 10, 2003 13:00


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