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

neighboring cell in VOF model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 19, 2010, 17:20
Default neighboring cell in VOF model
  #1
New Member
 
Join Date: Oct 2010
Posts: 4
Rep Power: 16
stulle is on a distinguished road
hello,

iīm modelling a two phase flow with a mixture phase (water_vapor+air) and a water phase.
on the interface between the two phases there is one cell with volume fraction between 0 and 1, letīs say 0.5.
i want to access the cell which is next to the cell with volume fraction 0.5, this cell has volume fraction 0.

CELL A:water(C_VOF=1)|CELL B:C_VOF=0.5|CELL C:mix_phase(C_VOF=0)

how can i solve my problem by using an udf ?
like :
if(C_VOF(c,water)<1)
calculate something in CELL B
and
calculate something in CELL C

i know there are some macros like F_C0 and F_C1, but i donīt know how to use them in a multiphase problem...

thanks for your help or suggestions
stulle is offline   Reply With Quote

Old   January 5, 2011, 10:27
Default
  #2
New Member
 
Joey
Join Date: Jan 2011
Posts: 6
Rep Power: 15
fluentuser1 is on a distinguished road
I think you could loop all the cells to find the the surface cell. And then you can test the cells around the surface cell.
fluentuser1 is offline   Reply With Quote

Reply


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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
multiphase flow VOF model set up rahaman FLUENT 0 June 9, 2009 04:49
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
about VOF model rey FLUENT 5 August 13, 2002 07:02
VOF (or similar Model) David Watkinson Siemens 0 July 9, 2001 10:14


All times are GMT -4. The time now is 18:09.