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

Qestion about 'DEFINE_ADJUST'

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2007, 22:59
Default Qestion about 'DEFINE_ADJUST'
  #1
braket
Guest
 
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

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
Basic LES Qestion Dave Main CFD Forum 2 October 28, 2002 04:43
a qestion about CFX4 and CFX5 cfxbeginner CFX 2 October 25, 2002 08:01


All times are GMT -4. The time now is 23:07.