|
[Sponsors] |
December 19, 2010, 17:20 |
neighboring cell in VOF model
|
#1 |
New Member
Join Date: Oct 2010
Posts: 4
Rep Power: 16 |
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 |
|
January 5, 2011, 10:27 |
|
#2 |
New Member
Joey
Join Date: Jan 2011
Posts: 6
Rep Power: 15 |
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.
|
|
|
|
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 |