|
[Sponsors] |
August 3, 2009, 10:22 |
[Question]About batch job
|
#1 |
New Member
nickeet
Join Date: Jul 2009
Posts: 9
Rep Power: 17 |
Recently, I had a problem in using batch file. I put three files(*.cas,*.jou and *.bat) in the same folder.
The matter in the journal file is as below (cx-gui-do cx-activate-item "MenuBar*ReadSubMenu*Case & Data...") (cx-gui-do cx-set-text-entry "Select File*Text" "3dchannel.cas") (cx-gui-do cx-activate-item "Select File*OK") (cx-gui-do cx-activate-item "MenuBar*SolveMenu*Iterate...") (cx-gui-do cx-set-integer-entry "Iterate*Table1*Frame2(Iteration)*Table2(Iteration )*IntegerEntry1(Number of Iterations)" 2000) (cx-gui-do cx-activate-item "MenuBar*SolveMenu*Iterate...") (cx-gui-do cx-activate-item "Iterate*PanelButtons*PushButton1(OK)") (cx-gui-do cx-activate-item "MenuBar*WriteSubMenu*Case & Data...") (cx-gui-do cx-set-text-entry "Select File*Text" "3dchannel.cas ") (cx-gui-do cx-activate-item "Select File*OK") The matter in batch file is just one line: fluent 3d -g -i *.jou When I execute the batch file, the warning('fluent' is not the inside or outside command...) would appear. So, please direct me the way to make the batch file running. |
|
August 3, 2009, 17:54 |
|
#2 |
Senior Member
Micael
Join Date: Mar 2009
Location: Canada
Posts: 157
Rep Power: 18 |
With such a journal you also open 3dchannel.dat. Be sure it is there too.
Otherwise, that works for me (I'm with Windows ). This is what I put in the batch file (I used a 2D model): fluent 2d -g -i journal.jou Also, you can simplify your journal. This is equivalent to yours: rc 3dchannel.cas y rd 3dchannel.dat y it 2000 wc 3dchannel.cas y wd 3dchannel.dat y Micaël |
|
August 12, 2009, 12:10 |
|
#3 |
New Member
nickeet
Join Date: Jul 2009
Posts: 9
Rep Power: 17 |
Dear Micaël :
Thanks for your guiding |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stopping a Fluent batch job AND saving the data! Possible? | Volker Pawlik | FLUENT | 13 | December 28, 2020 05:16 |
FLUENT Batch job | Saravanan | FLUENT | 11 | May 14, 2014 17:47 |
How to specify the iterations of a batch job | Consol | Main CFD Forum | 0 | October 19, 2008 00:42 |
Running Job in Batch mode (EFD) | Nick Sessions | FloEFD, FloWorks & FloTHERM | 0 | April 16, 2008 17:44 |
Batch job | M. Malik | Main CFD Forum | 6 | February 12, 2008 10:49 |