# Extract primary phase thread in VOF with 3 phases

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 September 23, 2005, 05:16 Extract primary phase thread in VOF with 3 phases #1 Eric 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 pUl| 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 Search this Thread: Advanced Search Display Modes Linear Mode

 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 OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post jane Fluent UDF and Scheme Programming 37 February 20, 2018 04:17 wersoe Fluent UDF and Scheme Programming 1 January 4, 2017 07:11 vuccj7 FLUENT 0 April 20, 2011 19:59 sooroo3 FLUENT 0 February 15, 2011 03:24 panara OpenFOAM 2 February 20, 2008 14:37

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

 Contact Us - CFD Online - Privacy Statement - Top