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

neighboring cell in VOF model

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

Reply
 
LinkBack Thread Tools 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: 6
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: 6
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

Thread Tools
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 On
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 03:49
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
about VOF model rey FLUENT 5 August 13, 2002 06:02
VOF (or similar Model) David Watkinson CD-adapco 0 July 9, 2001 09:14


All times are GMT -4. The time now is 00:04.