ANSYS Fluent Multiphase Tips and Tricks
ANSYS Fluent Multiphase Tips and Tricks
ANSYS Fluent Multiphase Tips and Tricks
Tricks
Outline
• VOF model setup
• Use of Open Channel conditions with VOF
• VOF numerical stabilization
• Free surface applications of the VOF model
• Best practices for modeling dispersed flows
• Overview of phase change models
• Boiling and thermal phase change
• Evaporation-condensation modeling
• Solutions for modeling cavitation
VOF
• Model two or more immiscible fluids by solving a single set of momentum equations
and tracking the volume fraction of each of the fluids throughout the domain
• Typical applications are: jet breakup, large bubbles in a liquid, dam break, tracking of
any liquid-gas interface
• Following restrictions apply to the VOF model in ANSYS Fluent
– Must use pressure-based solver. Cannot use density-based solver
– Cannot model Streamwise periodic flow
– Cannot use second-order implicit time-stepping formulation with the VOF explicit scheme
– No void regions. All control volumes must be filled with single fluid phase or a combination of phases
– Only one phase can be defined as a compressible ideal gas. Can use UDF to define compressible liquids
– When tracking particles in parallel, the DPM model cannot be used with the VOF model if the shared
memory option is enabled (using the message passing option, when running in parallel, enables the
compatibility of all multiphase flow models with the DPM model)
This solution describes three ways to start a simulation with non-flat free surfaces:
• Using Open Channel Wave Model to initialize with a wavy free surface
• Using Custom Field Functions to patch a non-flat free surface
• Using UDFs to initialize with a non-flat free surface
3
2
Below are some of the settings that can help stabilize the solution:
1. Use variable time stepping with following settings
– Global Courant Number = 2 to 0.1, Minimum Step Change Factor = 0.05, Maximum Step Change Factor
= 1.1
2. Lower under-relaxation factor to 0.2-0.3 for momentum
3. Symmetric vs Anisotropic drag law: For zero initial velocities or sharp interface,
anisotropic drag is recommend over Symmetric drag
– Anisotropic has additional treatments for stability
• Free surface flows are typically transient in nature and can become computationally
expensive due to time-step constraints
• Accuracy of VOF simulations depends on the discretization schemes chosen for volume
fraction equation and spatial gradients, besides other factors like mesh resolution
• Attached document provides guidelines that are expected to give the best trade-off
between accuracy and speedup for VOF simulations
• Explicit VOF
– Use uniform mesh in the liquid interface regions
• Use Variable Time Stepping for non-uniform mesh in the interface region
– Try with different Courant calculation methods: Solve > set > vof-explicit-controls
– Try NITA
Nuclear cooling towers [1] Fluid catalytic cracking stations [2] Burning spray of
liquid ethanol [3]
[1] senseandsustainability.net
[2] Harman et al., J. Aerosol
Science, 1999
[3] seia.org
“The breaking of waves is a process that is ubiquitous [4] geiconsultants.com
over two-thirds of the surface of the globe… It leads to [5] KM 2044984
Water conveyance pipelines [4]
enhancement Breaking
of heat of an ocean
transfer and wave [5] of gas
especially Flow over weirs and spillways [6]
[6] commons.wikimedia.org
exchange between the atmosphere and the ocean…”
- Owen Phillips, J. Fluid Mech., 1985
• MARKER PARTICLES
• Accurate
• Topology changes more difficult to handle
• VOLUME OF FLUID
• Good volume conservation
• Automatic topology changes
• Formal accuracy limited
• LEVEL SET
• Accurate and simple
• Automatic topology changes Images reproduced from:
Scardovelli & Zaleski, ARFM, 1999
• Not inherently mass conserving
Summary: Depending on the nature of the free surface and the objective(s) of the
simulation, the free surface may not need to be modeled
• Multiphase separator
− Liquid surface is often relatively stable
− Interest is focused on where trace droplets/bubbles/particles go within the liquid
− If no DPM, the free surface may need to be modelled as a “degassing” type boundary condition
19
−© 2015
If DPM,
ANSYS, Inc.
the free surface may be a slip wall with DPM trap
June 12, 2018
KM #2: Free surface modeling in Fluent
Search Text: mixing tank surface
Summary: Uses the MRF and sliding mesh models to predict and compare the
interface topology in a mixing tank
/mesh/modify-zones/mrf-to-sl
iding-mesh 5
Summary: Modeling free surface flow around a ship hull using the VOF method
and comparing with experimental data
Problem schematic
Fr = 0.267
Summary: The surface area of the phase interface in a VOF simulation can be
obtained to compute useful interfacial quantities
Necessary for
storing VOF
gradients
• KM: Interfacial anti-diffusion with extremely high viscosity ratio leads to unstable solution
Summary: A couple tips are presented which help eliminate spikes in pressure and
velocity when simulating high viscosity ratio fluids with VOF
30 © 2015 ANSYS, Inc. June 12, 2018
KM #5: Problem and solution
• Problem
– Why does using interfacial anti-diffusion in a high viscosity ratio injection simulation show unstable spikes in
the velocity and pressure field?
• Solution
– For faster convergence in VOF simulations, implicit formulation for volume fraction can be used, allowing for
larger time steps. The interfacial anti-diffusion option can be used for increasing interfacial accuracy for sharp
interfaces. With this setup, one may observe convergence difficulty, resulting in spikes in the velocity and
pressure fields.
– The interfacial anti-diffusion is largely responsible for the issues: while this helps preserve the sharpness of
the interface, it is known to make convergence more difficult, especially when using aggressively large time
step sizes.
– In such cases, it is found that running with explicit VOF, geo-reconstruct and DISABLING interfacial
anti-diffusion eliminates the spikes. This does require running with time steps smaller than preferred, but
increasing the viscosity of air helps to increase the time step size (without altering the inter-phase physics too
much).
Rubber material
initially from inlet
to here
Rubber-like
material in
Rubber-like
material
and air out
32 © 2015 ANSYS, Inc. June 12, 2018
KM #5: Spikes removed from velocity and pressure fields
Rubber material
initially from inlet
to here
Rubber-like
material in
Rubber-like
material
and air out
33 © 2015 ANSYS, Inc. June 12, 2018
Multiphase Flows
Today’s meeting is part of our global “Meet your KMs” series. The goal behind these meetings is to showcase the
solutions that are available on our customer portal and to encourage their use, both internally and externally
We will be covering a few important guidelines/best practices from these solutions available in the customer
portal. For more details, you are requested to go through the corresponding solution documents in the portal
• Pre-Processing Requirements
• Choice of dispersed multiphase model
• DPM, Mixture and Euler-Euler model
• Modelling of interfacial forces
• Drag, Virtual mass, Lift, Wall Lubrication forces
• Treatment of the liquid free surface
Wall lubrication Pushes the bubbles slightly away from the wall
Virtual mass Force acting on continuous phase due to dispersed phase acceleration
Profiles of time averaged simulated and measured axial liquid velocity for different interfacial
forces, at a height of 0.25m and a depth of 0.075m.
D: drag force, L: lift force, VM: virtual mass force (from Deen, 2001).
http://vbn.aau.dk/files/19821395/phd_thesis_hansen.pdf
The above picture shows that modeling drag alone results in incorrect velocity profiles
for this bubble column. Including lift force gives an improved prediction of velocities
• The free surface at the top of the column can be Free Surface
Phases Setup
Phase Specification Primary Phase: Liquid
Secondary Phase: Gas
Phase Interaction Drag: Grace Drag Force (or Universal Drag law)
Lift: Tomiyama lift force
Wall Lubrication: Antal et al (default coeff.)
Turbulent Dispersion Burns et al. (cd=0.8)
Turbulent Interaction Sato Model (default coeff.)
Surface Tension Coeff.: Specified
Heat Flux
• Applicable to subcooled nucleate boiling
– Non-equilibrium Boiling
Saturated
• Extension of RPI to take care of saturated boiling Subcooled
Transitio Stable
– Critical Heat Flux Nucleate
nal or
boiling Film
Unstable
• Extension of RPI to take care of boiling crisis Single boiling
Phase
• Lee Model Wall Superheat (Twall - Tsat)
– Lee Model is a simplified approach to model volumetric phase change where user needs to tune the
coefficients to match the results with the known experimental results. Even though this model can be used
with the Eulerian model, it is recommended to be used with the Mixture multiphase model.
Heat balance
Let m be mass of steam generated
M x Latent heat = heat supplied
M x (1262.3x 103)= 91029.2
Mass of steam = 0.072 kg/s
Contours of Volume
fraction of Steam
Phase Interaction: Steam flow rate at outlet
• Drag: Ishii
• Lift: Moraga
• Heat transfer: Ranz Marshall
Contours of Volume
fraction of Steam
Contours of Volume
fraction of Steam Overall mass balance
500
200
With increasing evaporation frequency,
convergence will be difficult to achieve
0.5
0.1
• This is an approximate model in which departure from saturation determines the rate
of mass transfer. e.g. (Tcell - Tsat) is the driving force.
• This means, for mass transfer to take place, the cell temperature has to be a little
above or below saturation temperature.
• In the post processing, you will always find mixture temperature away from saturation
temperature. (above saturation for evaporation problems and below saturation for
condensation problems)
• Increasing the evaporation frequency would reduce the mixture temperature and bring
it closer to saturation for evaporation problems.
• Increasing the condensation frequency would increase the mixture temperature and
bring it closer to saturation for condensation problems.
• PDF document
• Solver specific best practices and
recommended settings
• Good for experienced Fluent user
who is new to cavitation modeling
• Less experienced users would
benefit from training notes and
tutorials
KM may be generally useful for more than just dynamic mesh models…
Question: I am modeling a cavitating fuel injector, and would like to account for a
non-condensable gas (air) in the system. What is the approach for doing this in Fluent?
Solution: How to simulate noncondensable gases in conjunction with
cavitation.
This KM illustrates a
recommendation based on
experience with these
problems at ANSYS
Three options:
1. Model air as a third phase.
2. Model vapor+air as a multi-species secondary phase
3. Activate the Singhal model, which includes effect of noncondensable gas
Structures FAQs
Fluids Demos
17,000+ knowledge
Electromagnetics materials Tips & tricks
Installation/licensing Applications
Used by over 40,000 people from around the world every month.