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

Commandline options/arguments for menu items?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 10, 2003, 07:25
Default Commandline options/arguments for menu items?
  #1
jx
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
  Reply With Quote

Old   August 17, 2003, 13:53
Default Re: Commandline options/arguments for menu items?
  #2
jx
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.
  Reply With Quote

Old   August 18, 2003, 07:29
Default Re: Commandline options/arguments for menu items?
  #3
jx
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.

  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 16:25.