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

Domain *domain???

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 15, 2002, 21:29
Default Domain *domain???
  #1
Prateep Chatterjee
Guest
 
Posts: n/a
FLUENT 5:

extern Domain *domain;

DEFINE_ON_DEMAND(my_udf)

{

...

}

is to be replaced by

FLUENT 6:

DEFINE_ON_DEMAND(my_udf)

{

Domain *domain;

domain = Get_Domain(1);

...

}

1. Is this change valid for any other function apart from DEFINE_ON_DEMAND? the ver5 syntax seems to be working for me. I'm accessing it in DEFINE_ADJUST though.

2. Also, is the change needed just for two-phase flows?
  Reply With Quote

Old   March 17, 2002, 19:30
Default Re: Domain *domain???
  #2
Greg Perkins
Guest
 
Posts: n/a
The manual says this is the preferred method in 6.0. Its needed for single and two phase flows. The (1) domain is the high level domain that is equivalent to the extern Domain *domain in Fleunt 5.0. Otehr domains are accessible for two phase flow as described in the udf manuals Greg
  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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain format problem on airfoil flow simulation andrenonaka CFX 6 December 4, 2014 04:57
CFX domain comparison Kiat110616 CFX 4 April 3, 2011 22:43
Domain Imbalance HMR CFX 3 March 6, 2011 21:10
Material identification between a flow domain and a porous domain Ervideiro CFX 1 June 1, 2010 09:50
CFX Solver Memory Error mike CFX 1 March 19, 2008 08:22


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