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

A simple UDF question

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2007, 16:22
Default A simple UDF question
  #1
Pirooz Darabi
Guest
 
Posts: n/a
Hi Everyone,

I was reading one of Fluent's UDF examples in which the goal is to initialize the volume fraction of the secondary phase (UDF for initializing phase volume fraction). We all know that all the domains except the superdomain are not necessarily sequentially ordered; therefore, domain_id 3 does not necessarily mean the secondary phase. However, in this examples for finding the secondary phase the following is used

if (DOMAIN_ID(subdomain) == 3)

This does not make sense to me and I think the secondary phase should have been found with the aid of "phase_domain_index!"

Can somebody clarify the matter for me?

Cheers, Pirooz

  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
please help me. i have question about the UDF at the DPM motallebi FLUENT 0 July 6, 2009 12:27
question on UDF manual example ak6g08 FLUENT 0 June 25, 2009 12:58
UDF - Source Term Question Jacques FLUENT 0 December 8, 2008 14:40
question about writing an udf Denitiu Marian FLUENT 2 January 14, 2005 07:28
A question about the dynamic mesh UDF Tango FLUENT 1 November 27, 2003 03:56


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