CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   use batch mode to run an unsteady case (https://www.cfd-online.com/Forums/fluent/81301-use-batch-mode-run-unsteady-case.html)

PaulineP October 22, 2010 09:59

use batch mode to run an unsteady case
 
Hi !
I would like to use batch mode to run an unsteady case.
I understand how it work for a steady case reading the example (
; Read case file
rc fluent.cas
; Initialize the solution
/solve/initialize/initialize-flow
; Calculate 200 iterations
it 200
; Write data file
wd example200.dat
; Exit FLUENT
exit)

But for a unsteady case, you cant use "it" and I've looked in the manual and I didn't find the command.
Could somebody help please.

Note that I would like to run a case where I have 1800 time steps of 10s each with 50 iterations per time step.
Thank you very much !

kondora October 24, 2010 14:26

dti n_step n_iter_per_step, for example:
dti 10000 20

PaulineP October 24, 2010 15:50

Thank you very much !
Do I need to indicate a time step ? How ?

kondora October 24, 2010 16:05

Do you mean time step size??? The value of time step size can be set in GUI before running in batch mode. You can set time step size via journal as well, just search.

PaulineP October 25, 2010 04:33

I tried the dti command. My computer write :
> invalid command [dti]

I don't understand. :confused:
Anyways thank you for your help.

kondora October 25, 2010 04:42

/solve/dti 1000 20
....

joshr September 16, 2014 17:26

Thank you. It was time saving:)

esha March 29, 2019 22:44

Hi, I want to use batch mode for the 3D steady case and I am using .jou file as

rc fluent.cas
rd fluent.dat
solve/set/ri 10
solve/set/iterations 15000
file/write-case-data
file-name.cas
exit
yes
but it is not working. can anyone tell me what is the problem?
thanks

LuckyTran April 1, 2019 10:18

This is a problem but not the problem:

solve/set/iterations is not a valid command the correct command is
solve/set/number-of-iterations

That setting is just a setting. It doesn't do anything. To actually iterate you need to do:
solve/iterate 15000
or
it 15000

esha April 4, 2019 08:18

Quote:

Originally Posted by LuckyTran (Post 729508)
This is a problem but not the problem:

solve/set/iterations is not a valid command the correct command is
solve/set/number-of-iterations

That setting is just a setting. It doesn't do anything. To actually iterate you need to do:
solve/iterate 15000
or
it 15000

Thank you! I used ' it ' command and it worked.


All times are GMT -4. The time now is 00:56.