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

Domain *domain???

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

Reply
 
LinkBack Thread Tools Search this Thread 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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Imbalance HMR CFX 5 October 10, 2016 06:57
Domain format problem on airfoil flow simulation andrenonaka CFX 14 December 7, 2015 01:42
CFX domain comparison Kiat110616 CFX 4 April 3, 2011 23:43
Material identification between a flow domain and a porous domain Ervideiro CFX 1 June 1, 2010 10:50
CFX Solver Memory Error mike CFX 1 March 19, 2008 08:22


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