CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Qestion about 'DEFINE_ADJUST'

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

LinkBack Thread Tools Display Modes
Old   February 6, 2007, 23:59
Default Qestion about 'DEFINE_ADJUST'
Posts: n/a
In my case there are two domain (d=1 and d=2). I want to modify some variables in every iteration. In the following, which is right or better? thank you. 1. DEFINE_ADJUST(name,d) {Thread *t; if (d==1) {...} else {...} ...} 2.DEFINE_ADJUST(name,d) {Thread *t1=Lookup_Thread(domain,1); Thread *t2=Lookup_Thread(domain,2); begin_c-loop(c,t1){...}end_c_loop(c,t1) begin_c_loop(c,t2){...}end_c_loop(c,t2) ...}

  Reply With Quote


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic LES Qestion Dave Main CFD Forum 2 October 28, 2002 05:43
a qestion about CFX4 and CFX5 cfxbeginner CFX 2 October 25, 2002 08:01

All times are GMT -4. The time now is 09:45.