CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Batch files- need advices (https://www.cfd-online.com/Forums/fluent/94158-batch-files-need-advices.html)

maple2012 November 7, 2011 20:52

Batch files- need advices
 
HI,


I am running a 2D unsteady problem. I have never used batch files and have no idea if the following procedures would work when I submit my work in batch mode.
I have already successfully run a job on GUI mode. so I have saved everything as case1.cas. case1.cas has all the information.

My first question is that since I have specified all of my output I need in the *.cas file. I suppose that I don't need to specify anything in the input file in the batch mode. Am I right?


Secondly, I need your suggestion.
The following is the input file for the batch mode. Please let me know if it won't work and if not, how i should modify the input file.


rcd case1.cas
solve/dual-time-iterate 3000 50
wcd case1.dat
exit
y


also, the command I use is
fluent 2ddp -t16 -g <input.txt > output.txt &

bobmalaria November 9, 2011 15:05

hi,

I suggest that you set up an autosave operation for your transient problem. otherwise you will only have the initial case and the final case on non of the timesteps inbetween. you can set this up prior to starting the iteration and then you can use your script file which looks fine to me.

the only thing i would change is the final file name. otherwise it will probably override you inital case file with the final solution and I guess that you don't want this to happen.


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