CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Extract primary phase thread in VOF with 3 phases

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2005, 05:16
Default Extract primary phase thread in VOF with 3 phases
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 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
  Reply With Quote

Old   September 24, 2005, 13:12
Default Re: Extract primary phase thread in VOF with 3 pha
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.
  Reply With Quote

Old   July 7, 2011, 02:22
wibi ario
Join Date: Feb 2011
Posts: 46
Rep Power: 15
sincity is on a distinguished road
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??)
sincity is offline   Reply With Quote


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
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

All times are GMT -4. The time now is 16:38.