Introduction
Two-phase flows occur when two distinct thermodynamic phases—for instance liquid + gas or liquid + solid—share a common domain and continuously exchange mass, momentum, and energy. They are central to processes as diverse as cloud formation, boiling in heat exchangers, cavitation around ship propellers, and gas–liquid chemical reactors. Designing equipment that involves such flows therefore demands both a firm grasp of the physics and reliable numerical tools capable of capturing a moving interface.
Phase ≠ Component – A phase is a region with uniform intensive properties. Liquid water and its own vapour constitute two phases, one component. Adding air yields two phases, three components; the interface count remains two. Clear terminology prevents many rookie errors.
1 Fundamental Physics
| Aspect | Why It Matters |
|---|---|
| Flow regime / topology | Governs dominant forces (inertia, buoyancy, surface tension) and therefore dictates the governing equations’ simplifications. |
| Surface tension (σ) | Couples pressure and curvature (Young–Laplace) and dominates at the microscale. |
| Turbulence & shear | Drive droplet/bubble breakup and coalescence; must be modelled with RANS or LES where unresolved. |
| Phase change | Introduces latent-heat transport and density jumps; critical in boiling, condensation, and cavitation. |
On molecular scales diffusion smears the interface, but at continuum scales typical of engineering practice (≫ 1 μm) the interface can be treated as an infinitesimally thin surface that must be tracked numerically.
2 Why Modeling Two-Phase Flow Is Hard
- Moving interface – Capturing sharp fronts without excessive numerical diffusion.
- Large property jumps – Density and viscosity ratios of 1 : 1000 are common.
- Multiscale coupling – Bubble breakup may depend on phenomena an order of magnitude smaller than equipment length-scales.
- Phase transitions – Latent heat and rapid density change stiffen the equations.
3 CFD Workflow in OpenFOAM
3.1 Select an Appropriate Solver
| Solver | Method | Best For |
|---|---|---|
interFoam | Volume of Fluid (VoF) | Immiscible gas–liquid problems, sloshing, dam breaks |
cavitatingFoam | VoF + barotropic EOS | Cavitation around propellers, injectors |
interPhaseChangeFoam | VoF + mass-transfer | Boiling / condensation with latent heat |
multiphaseEulerFoam | Euler–Euler | Dispersed bubbly or particulate flows |
interPhaseEulerFoam | Euler–Euler + reactions | Gas–liquid reactors, catalysis |
3.2 Generate a Quality Mesh
- Import geometry via CAD or analytic blocks.
- Refine near the interface or high-curvature zones; consider adaptive refinement with
dynamicRefineFvMesh. - Check metrics – non-orthogonality < 70°, skew < 4 for stability.
3.3 Assign Boundary & Initial Conditions
- Inlets – velocity, phase fractions, temperature, turbulent quantities.
- Outlets –
zeroGradientpressure and wave-transmissive velocity to minimise reflections. - Walls –
noSlip(orslip) pluscontactAngleand thermal BCs as required. - Initial interface – specify via signed-distance or volume-fraction field (
alpha.water).
3.4 Activate Physical Models
- Surface tension (
sigma) – Continuum Surface Force (CSF) implementation. - Turbulence – RANS (
k-ε,k-ω SST) or LES (WALE,dynamicKEqn). - Phase change – Schrage or Rayleigh–Plesset models with energy source terms.
- Drag & lift – Euler–Euler solvers require closure relations for interfacial momentum exchange.
4 Sample Applications & Benchmarks
| # | Scenario | Key Features | Watch |
|---|---|---|---|
| 1 | Bubble Column | Gas holdup, regime transition (bubbly → slug) | video |
| 2 | Cavitating Bullet | Pressure-induced vapour pockets | v1 • v2 |
| 3 | Propeller Cavitation | Sheet cavitation, tip vortices | v1 • v2 |
| 4 | Converging Nozzle | Flash boiling, vapour-core instability | v1 • v2 |
| 5 | Four-Fluid Dam-Break | Oil, water, air, mercury mixing | video |
| 6 | Sloshing Tank (2-D) | Free-surface deformation, droplet entrainment | video |
5 Post-Processing Essentials
- Use
paraFoamplusalpha.waterisosurfaces to visualise the interface; enable surface LIC for velocity patterns. - Plot phase volume fraction over time to quantify entrainment/separation.
- Monitor minimum pressure for cavitation risk; ensure values do not fall below vapour pressure in critical components.
- Calculate interfacial area density with the built-in
functionObjectforinterFoam.
6 Common Pitfalls & Remedies
- Interface smearing – refine mesh, use bounded advection (
MULES,isoAdvector). - Spurious currents – employ balanced discretisation (
Gauss linearCorrectedfor curvature). - Unstable time-step – satisfy both Courant and capillary numbers (Co, Co<sub>capillary</sub> < 0.25).
- α > 1 or < 0 – tighten solver tolerances and adopt bounded schemes.
7 Supplementary Materials
All case files, meshing scripts, and post-processing utilities are available on GitHub:
GitHub – SimuXAI/Two-Phase-Flows → https://github.com/simuxai/OpenFOAM-7/tree/main/SimuXAI/blog2
Follow the README.md to reproduce each example.
Stay Connected
Questions? Email support@simuxai.com or join our community forum.
Happy Simulating!
