Best Practices Vof
Best Practices Vof
Best Practices Vof
Outline
Which problems can be solved with VOF model? Settings
Multiphase Model Solver Settings:
Discretization and URF ITA vs NITA
Boundary Conditions
open channel
1-2
1-3
1-4
1-5
1-6
1-7
Conservative numerical settings for typical VOF model with good mesh
2006 ANSYS, Inc. All rights reserved.
1-8
Conservative numerical settings for typical VOF model with good mesh
1-9
Conservative numerical settings for typical VOF model with good mesh
1-10
Boundary conditions
Volume Fraction needs clear specification of interface location via initial and boundary conditions
Initial phase location is specified via marking cells in Adaptation and subsequent patching of Volume Fraction if needed Inlet or outlet BC must be setup such that only one phase can enter or exit domain
For velocity inlet, the incoming Volume Fraction of one phase must be 1 and all others must be zero For mass flow inlet, the mass flow rate of only one phase can have a nonzero value For pressure outlet, the back flow value of Volume Fraction of only one phase must be 1, all other Volume Fractions must be zero Outflow BC must never be used in any multiphase model including VOF
1-11
One can specify either yin and Vin (convection driven) or height difference (gravity driven) between yin and yout
yin
1-12
yout
ANSYS, Inc. Proprietary
r Vin
1-13
Fsway = a m 2 sin (t )
UDF uses DEFINE_SOURCE Macro to prescribe force per unit of volume in horizontal component of momentum equation
Gas Liqud
1-14
1-15
1-16
1-17
1-18
GridCheck
= g U g = 2 gx 3m / s
1/3
= 0.031m / s 2
cell length scale l = 0.03m for inertia dominated flows Courant number = 1 so
t = l 0.01sec MAX (U g , U O )
Variable time step was chosen where maximum time step was 0.01 sec
1-19
t = 2T
t = 4T
1-20
Constant pressure outlet BC with backflow volume fraction of white phase 1 Constant pressure outlet BC with backflow volume fraction of red phase 1
H0
1-21
1-22
Wall
1-23
Good
Bad
Good
Bad
1-24
If NITA is used set Pressure under relaxation factor to 0.7 Time step size is usually determined by inlet velocity and mesh scale
1-25
1-26