Multi-Phase Flow, Advanced: CFD Simulation Training Course — Ep 01
Tank Discharge CFD Simulation
- Episode
- 01
- Run Time
- 20m 35s
- Published
- Oct 23, 2024
- Topic
- Multi-Phase Flow
- Course Progress
- 0%
Description
This project simulates gravity-driven tank discharge in ANSYS Fluent using a two-phase VOF model. The domain comprises three interconnected tanks linked by pipes.
Geometry & Mesh
2D geometry (DesignModeler):
Tank 1: 229.4 × 157.7 mm rectangle
Tank 2: octagon, side length 51.3 mm
Tank 3: 229.4 × 100 mm rectangle
Mesh (ANSYS Meshing): unstructured, 15,310 elements.
CFD Setup
Flow: incompressible, transient
Gravity: −9.81 m/s² on the Y axis
Models & Properties
Multiphase (VOF)
Homogeneous, implicit formulation with implicit body force
2 Eulerian phases: primary air, secondary water
Interface: Sharp with Interfacial Anti-Diffusion
Viscous model
Laminar
Materials
Air: ρ = 1.225 kg/m³, μ = 1.7894×10⁻⁵ kg/(m·s)
Water (liquid): ρ = 998.2 kg/m³, μ = 0.001003 kg/(m·s)
Numerics
Pressure–velocity coupling: SIMPLE
Discretization: Pressure PRESTO!; Momentum Second-order upwind; Volume fraction Compressive
Cell Registers (monitor region)
X: 0.08 → 0.379 m
Y: 0.2264246 → 0.33 m
Initialization & Run
Initialization: Standard
Patch: set water volume fraction = 1 in Region_0 (Phase2)
Time advancement: Adaptive
Initial Δt = 1×10⁻⁵ s
Δt min = 1×10⁻⁵ s, Δt max = 1×10⁻³ s
(Run targets 10,000 time steps)
Results
Post-processing includes contours of volume fraction, pressure, velocity, and streamlines. Water drains from the primary tank into the second, which cannot hold the entire volume; subsequently, flow proceeds into the third tank via the connecting pipe. Dedicated vents enable air circulation between tanks—visible in the velocity and streamline plots—facilitating continuous discharge and level equalization.