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

[Question]About batch job

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2009, 09:22
Unhappy [Question]About batch job
  #1
New Member
 
nickeet
Join Date: Jul 2009
Posts: 9
Rep Power: 16
fluboy is on a distinguished road
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.
fluboy is offline   Reply With Quote

Old   August 3, 2009, 16:54
Default
  #2
Senior Member
 
Micael
Join Date: Mar 2009
Location: Canada
Posts: 156
Rep Power: 18
Micael is on a distinguished road
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
Micael is offline   Reply With Quote

Old   August 12, 2009, 11:10
Default
  #3
New Member
 
nickeet
Join Date: Jul 2009
Posts: 9
Rep Power: 16
fluboy is on a distinguished road
Dear Micaël :

Thanks for your guiding
fluboy is offline   Reply With Quote

Reply


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
Stopping a Fluent batch job AND saving the data! Possible? Volker Pawlik FLUENT 13 December 28, 2020 04:16
FLUENT Batch job Saravanan FLUENT 11 May 14, 2014 16:47
How to specify the iterations of a batch job Consol Main CFD Forum 0 October 18, 2008 23:42
Running Job in Batch mode (EFD) Nick Sessions FloEFD, FloWorks & FloTHERM 0 April 16, 2008 16:44
Batch job M. Malik Main CFD Forum 6 February 12, 2008 09:49


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