CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Commandline options/arguments for menu items? (

jx August 10, 2003 07:25

Commandline options/arguments for menu items?
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.



jx August 17, 2003 13:53

Re: Commandline options/arguments for menu items?
Now, I get it work! It is just more reading of the manual and lisp/scheme, and I start to like lisp.


jx August 18, 2003 07:29

Re: Commandline options/arguments for menu items?
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.

All times are GMT -4. The time now is 18:17.