|
[Sponsors] |
October 31, 2007, 16:22 |
A simple UDF question
|
#1 |
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 |
|
|
|
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 |