|
[Sponsors] |
Commandline options/arguments for menu items? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 10, 2003, 08:25 |
Commandline options/arguments for menu items?
|
#1 |
Guest
Posts: n/a
|
I read from FLUENT manual and learn that the menu items can be acssessed with command-line options/arguments. This is a useful feature for running fluent jobs in batch mode (or running fluent jobs in background).
My intention is to run a jon in background -- This job has an initial value for inlet mass flow rate, and will excute an "Excute On Demand" UDF at the end of first run (with enough numbers of iterations), then change the mass flow rate and do another run, and so on. I managed to run a simple job in background, without invoking the "excute on demand" udf. But I need to know how to run the "excute on demand" udf in the background job. Thanks, jx |
|
August 17, 2003, 14:53 |
Re: Commandline options/arguments for menu items?
|
#2 |
Guest
Posts: n/a
|
Now, I get it work! It is just more reading of the manual and lisp/scheme, and I start to like lisp.
Thanks. |
|
August 18, 2003, 08:29 |
Re: Commandline options/arguments for menu items?
|
#3 |
Guest
Posts: n/a
|
Emm, the another problem comes up when I am more aggressive --
I wish to change the incoming mass flow rate at the end of the run and start another round of run, and so on. All these are hoped to be in the same script/journal file. I see from the recorded journal file that the text commands to change the mass flow rate for a periodic boundary pair are: (cx-gui-do cx-activate-item "MenuBar*DefineMenu*Periodic Conditions...") (cx-gui-do cx-set-real-entry-list "Periodicity Conditions*RealEntry3(Mass Flow Rate)" '( 0.0001583)) (cx-gui-do cx-activate-item "Periodicity Conditions*PanelButtons*PushButton1(OK)") where 0.0001583 is the flow rate value I want. However it won't work as the functions need GUI up. I'll appreciate any suggestions. |
|
|
|