|
[Sponsors] |
Extract primary phase thread in VOF with 3 phases |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 23, 2005, 05:16 |
Extract primary phase thread in VOF with 3 phases
|
#1 |
Guest
Posts: n/a
|
Dear Fluent users , I am using VOF model with 3 phases , one primary phase and 2 secondary phases, I need to extract (retrieve) the primary phase thread ..I try to use THREAD_SUB_THREAD ..it work for 2phase vof model (one secondary phase) ..but it not work for the case of 3 phases...
I need to retrieve the thread of the PRIMARY PHASE ...I read in the manual that : If you have more that one secondary phase for your multiphase model,you will need to use the PHASE_DOMAIN_INDEX utility to retrieve the corresponding phase_domain_index for the given domain.. please could some body give me any help about using this macro for 3 phases VOF model... thanks in advance , Eric |
|
September 24, 2005, 13:12 |
Re: Extract primary phase thread in VOF with 3 pha
|
#2 |
Guest
Posts: n/a
|
Here is what I could find in the advanced UDF training handouts:
"Each phase has a phase_domain_index. The phase_domain_index is 0 for the primary phase and N-1 for the last secondary phase." Therefore, this is what I think is applicable to your 3 phase system: 1st phase = primary phase => phase_domain_index for this phase is 0 2nd phase = 1st secondary phase => phase domain_index for this phase is 1 3rd phase = 2nd secondary phase OR last secondary phase => phase_domain_index for this phase is 2. This checks out with the instructions stated above. For instance, if N (which I assume refers to the total number of phases) is 3, => the phase _domain_index for the last secondary phase is N - 1 = 3 - 1 = 2. Hope this helps. |
|
July 7, 2011, 02:22 |
|
#3 |
Member
wibi ario
Join Date: Feb 2011
Posts: 46
Rep Power: 15 |
hi eric..i want to clear defining whats you've been directly talking about, so if we want to modelling for example gas-oil-water separator we have to use that UDF (extract the primary phase thread??is that different from "patch" in FLUENT??)
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
udf problem | jane | Fluent UDF and Scheme Programming | 37 | February 20, 2018 04:17 |
How to access only one phase in multiphase model by UDF | wersoe | Fluent UDF and Scheme Programming | 1 | January 4, 2017 07:11 |
VOF for single phase? | vuccj7 | FLUENT | 0 | April 20, 2011 19:59 |
question about Heat transfer between two phases with VOF model | sooroo3 | FLUENT | 0 | February 15, 2011 03:24 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 14:37 |