|
[Sponsors] |
April 10, 2012, 10:18 |
Run multiple problems in batch mode.
|
#1 |
Member
Join Date: Oct 2011
Posts: 80
Rep Power: 15 |
I am stimulating combustion in a IC engine. So I want to run different cases with different injection timings. I can create different sets of problems with individual msh, cas, dat and pdf files. I want to run them in my College lab. So want a way to do this in batch mode. If I set it and give a go all of these should run one by one until all are finished.
|
|
April 10, 2012, 18:17 |
|
#2 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
Quote:
|
||
April 10, 2012, 23:27 |
|
#3 | |
Member
Join Date: Oct 2011
Posts: 80
Rep Power: 15 |
Quote:
Do you have such a sample journal file I can take a look at? Just to see how its to be written.. My Id is sankarram90[at]gmail[dot]com Thanks |
||
April 10, 2012, 23:35 |
|
#4 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
Quote:
the .jou is only a file extension, it is a plain text file exactly the same as a .txt to iterate you need to use something like solve/iterate 1000 *Note there are abbreviations for some commands. The first line "rc" is abbrv for read-case. Many of these abbreviations exists, if you don't know them that's fine. The easiest way to find a command (aside from reading the fluent help file) is to press the return/enter key into the TUI. A list of all possible commands will be printed. This is a good way to learn when and what to type. Simply write out the same commands into a journal file and save it and you are all set to go. I use "/" slash marks to remind myself that there are groupings, but you can just as easily erase all the slashes and replace them with empty spaces and the journal will run fine. |
||
April 11, 2012, 05:07 |
|
#5 | |
Member
Join Date: Oct 2011
Posts: 80
Rep Power: 15 |
Quote:
Thanks a lot. I will get back soon. |
||
April 11, 2012, 05:45 |
|
#6 |
Senior Member
Join Date: Jul 2009
Posts: 260
Rep Power: 18 |
It looks like you have already set up your case files etc.
your journal file should not look any more complicated than this: Code:
file read-case-data first_case_filename.cas.gz # read in .cas and .dat files sol it 10000 wd first_case_filename.dat.gz yes file read-case-data second_case_filename.cas.gz yes sol it 10000 wd second_case_filename.dat.gz yes exit yes |
|
April 11, 2012, 06:08 |
|
#7 | |
Member
Join Date: Oct 2011
Posts: 80
Rep Power: 15 |
Quote:
Whats filename.cas.gz?? I have to read cas file and dat file. But no .gz files( is it for linux? I am using win 7) I am using transient conditions. So I have to give timesteps and no. of iterations per time step How do I adjust this? sol it 10000 I want to make solution animations of files. They are not saved in cas, dat files. I have to define them each time I run the file. How can i add them to journal file? Thanks |
||
April 11, 2012, 06:46 |
|
#8 | |
Senior Member
Join Date: Jul 2009
Posts: 260
Rep Power: 18 |
Quote:
Code:
sol dual-time it 10000 20 # iterates unsteady 10K 20 its per timestep. |
||
April 11, 2012, 08:47 |
|
#9 |
Member
Join Date: Oct 2011
Posts: 80
Rep Power: 15 |
I had used saving images at first but I could not get commands for everything. I have been checking for commands on temp, pressure etc. Animations are faster, more customizable. And you can create pics or videos from the output files.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
use batch mode to run an unsteady case | PaulineP | FLUENT | 9 | April 4, 2019 09:18 |
Batch Run with Initial values file | krrishcfd | CFX | 1 | July 28, 2011 03:35 |
Star-ccm+ batch mode on SGE | Karl Jensen | Siemens | 0 | February 4, 2009 16:54 |
fluent stops batch mode on error | Ralf Schmidt | FLUENT | 1 | March 1, 2008 11:35 |
Prosurf in batch mode | Dhruv | Siemens | 1 | September 19, 2005 19:02 |