unresolvedDiffuseInterfaceLAMMPSFoam#
Description#
unresolvedDiffuseInterfaceLAMMPSFoam is a transient, unresolved (mesoscopic) CFD-DEM solver designed for large-scale gas-liquid-solid three-phase flows. It couples a volume-averaged multiphase fluid solver—governed by a combined VOF interface compression and diffuse interface (phase-field) model—with Discrete Element Method (DEM) particle dynamics using WASHLIGGGHTS.
Key features include:
Multiphase Interface Capturing: Employs an advection-diffusion equation for the volume-averaged colour function (order parameter) \(\alpha\) combining VOF interface compression \(-\nabla \cdot \left[ \alpha_f \mathbf{U}_r \alpha (1 - \alpha) \right]\) and diffuse interface smoothing \(\nabla \cdot (\alpha_f M \nabla \psi)\).
Unresolved Fluid-Particle Coupling: Computes momentum exchange between fluid and sub-grid particles using volume-averaged drag models.
Particle Locating & Field Mapping: Maps discrete particle quantities into continuous fluid fields (the use of coarse graining such as DiffusionBasedCoarseGrain is optional).
WASHLIGGGHTS DEM Coupling: Fully coupled with WASHLIGGGHTS discrete particle dynamics.
Mathematical Formulation#
The solver computes unresolved CFD-DEM three-phase flow dynamics by solving volume-averaged Navier-Stokes equations, modified phase transport, and discrete particle motion.
Continuity Equation:
where \(\alpha_f = 1 - \alpha_p\) is the fluid volume fraction (\(\alpha_p\) is the particle solid fraction obtained from coarse graining).
Momentum Equation:
where:
\(\mathbf{f}_\sigma = \sigma \kappa \nabla \alpha\) is the Continuum Surface Force (CSF) surface tension force (\(\kappa\) includes macroscopic/microscopic capillary curvature depending on local fluid fraction \(\alpha_f\)).
\(\mathbf{f}_p = \beta (\mathbf{\bar{v}} - \mathbf{U})\) is the fluid-particle momentum exchange term (\(\beta\) is the interphase drag coefficient evaluated via the selected solid interaction model, such as Beetstra, Gidaspow, or Tamburini, and \(\mathbf{\bar{v}}\) is the volume-averaged particle velocity).
\(\rho(\alpha) = \alpha \rho_l + (1 - \alpha) \rho_g\) and \(\mu(\alpha) = \alpha \mu_1 + (1 - \alpha) \mu_2\) are mixture fluid density and viscosity.
Phase Transport & Chemical Potential:
The time evolution of the volume-averaged colour function (order parameter) \(\alpha\) is governed by:
where:
\(\alpha\) is the colour function / order parameter (phase fraction field), bounded between 0 and 1.
\(\alpha_f = 1 - \alpha_p\) is the fluid volume fraction.
\(-\nabla \cdot \left[ \alpha_f \mathbf{U}_r \alpha (1 - \alpha) \right]\) is the VOF interface compression term to limit numerical diffusion (\(\mathbf{U}_r\) is the relative compression velocity).
\(\nabla \cdot (\alpha_f M \nabla \psi)\) is the diffuse interface (phase-field) term governing interface smoothness driven by chemical potential \(\psi\).
\(M\) is the mobility coefficient.
\(\psi\) is the chemical potential field.
\(\epsilon\) is the interface thickness parameter.
Particle Locating & Field Mapping (Optional Coarse Graining):
Discrete particle positions and velocities are mapped into continuous Eulerian fluid fields (\(\alpha_p\) and \(\mathbf{\bar{v}}\)) using a locate sub-model specified in constant/kinematicCloudProperties. The use of advanced coarse-graining techniques (such as Gaussian diffusion-based smoothing) is optional. For detailed governing equations and parameters of specific coarse-graining models, see the sub-model reference manual (e.g., DiffusionBasedCoarseGrain).
WASHLIGGGHTS DEM Coupling & Fluid-to-Particle Forces:
The solver couples volume-averaged multiphase CFD fluid dynamics with WASHLIGGGHTS DEM discrete particle dynamics. The total fluid force \(\mathbf{F}_{\text{fluid}, i}\) exerted on discrete sub-grid particle \(i\) in WASHLIGGGHTS is evaluated as the sum of unresolved fluid-particle interaction forces:
where:
Fluid-Particle Drag Force:
\[\mathbf{F}_{\text{drag}, i} = V_i \beta (\mathbf{U}_i - \mathbf{v}_i)\]where \(V_i\) is the particle volume, \(\mathbf{v}_i\) is the particle velocity, \(\mathbf{U}_i\) is the fluid velocity interpolated at the particle centroid, and \(\beta\) is the interphase drag coefficient (computed via selected drag models such as Beetstra, Gidaspow, or Tamburini).
Pressure Gradient & Viscous Stress Forces:
\[\mathbf{F}_{\nabla p, i} = -V_i \nabla p_i, \quad \mathbf{F}_{\tau, i} = V_i (\nabla \cdot \boldsymbol{\tau})_i\]Virtual Mass Force:
\[\mathbf{F}_{\text{vm}, i} = C_{\text{vm}} \rho_f V_i \left( \frac{d\mathbf{U}_i}{dt} - \frac{d\mathbf{v}_i}{dt} \right)\]Capillary Bridge Force:
\[\mathbf{F}_{\text{cap}, i} = \mathbf{F}_{\text{capillary}}(\alpha_i, \theta, \gamma, d_p)\]exerted at fluid-fluid-particle three-phase contact lines depending on local liquid phase fraction \(\alpha\) and particle wettability.
Buoyancy Force:
\[\mathbf{F}_{B, i} = - V_i \rho_f \mathbf{g}\]
Usage#
Configuring unresolvedDiffuseInterfaceLAMMPSFoam requires specifying fluid fields, transport properties, DEM cloud settings, and coarse graining parameters.
1. Required Fields (0/ directory)
alpha.water: The liquid phase fraction field (bounded between 0 and 1).psi: The chemical potential field.U: The volume-averaged fluid velocity field.p: The pressure field.
2. Transport Properties (constant/transportProperties)
// constant/transportProperties
phases (water air);
water
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 1e-06;
rho rho [ 1 -3 0 0 0 0 0 ] 1000;
}
air
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 1.5e-05;
rho rho [ 1 -3 0 0 0 0 0 ] 1.2;
}
sigma sigma [ 1 0 -2 0 0 0 0 ] 0.07;
diffuseInterface
{
epsilon epsilon [ 0 1 0 0 0 0 0 ] 0.0003;
M M [ 0 2 -1 0 0 0 0 ] 2e-04;
}
3. Kinematic Cloud & Coarse Graining Properties (constant/kinematicCloudProperties)
// constant/kinematicCloudProperties
lammpsInputScript "in.lammpsInputScript";
subModels
{
couplingControlModel standardControl;
standardControlCoeffs
{
couplingInterval 2;
}
LAMMPSCommandModels
{
runLAMMPS;
writeRestartLAMMPS;
}
dataExchangeModel MPIExchange;
MPIExchangeCoeffs
{
useMPISharedMemory true;
MPISHMParticle2Fluid true;
MPISHMFluid2Particle true;
}
searchModel standardSearch;
standardSearchCoeffs
{
useTreeSearch true;
}
locateModel diffusionBasedCoarseGrain;
diffusionBasedCoarseGrainCoeffs
{
Ds Ds [ 0 1 0 0 0 0 0 ] 1.8e-03;
nSubCycles 10;
}
interactionModels
{
drag;
pressureGradient;
}
}
Sub-models configured inside subModels (such as couplingControlModel, dataExchangeModel, searchModel, locateModel, interactionModels, and LAMMPSCommandModels) are documented individually in the Sub-models Reference.
4. Solver Execution (system/controlDict)
// system/controlDict
application unresolvedDiffuseInterfaceLAMMPSFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 10;
deltaT 0.0005;
Supported Models & Sub-models#
unresolvedDiffuseInterfaceLAMMPSFoam supports modular interaction and sub-model choices. For individual model formulations and dictionary parameters, refer to:
- Unresolved Solid Drag Models (in
constant/solidProperties): Beetstra Formulations: BeetstraExplicit, BeetstraImplicit, BeetstraSemitheoretical
Gidaspow Formulations: GidaspowExplicit, GidaspowImplicit, GidaspowSemitheoretical
Tamburini Formulations: TamburiniExplicit, TamburiniImplicit, TamburiniSemitheoretical
No Interaction: noInteraction
- Unresolved Solid Drag Models (in
- Coarse-Graining & Locating Models (
locateModel):
- Coarse-Graining & Locating Models (
- Unresolved Interaction Models (
interactionModels):
- Unresolved Interaction Models (
- Coupling Control & Data Exchange:
- LAMMPS Commands & Search:
Setup Guide#
For a comprehensive walkthrough of the input parameters and case directory setup, see:
Tutorials#
Example tutorial cases demonstrating unresolvedDiffuseInterfaceLAMMPSFoam are available in:
tutorials/lagrangian/LAMMPS/unresolved/unresolvedDiffuseInterfaceLAMMPSFoam/capillaryRise: Capillary rise and liquid penetration through packed particle beds.tutorials/lagrangian/LAMMPS/unresolved/unresolvedDiffuseInterfaceLAMMPSFoam/fluidisedBedMuller: Unresolved gas-liquid-solid fluidised bed dynamics.tutorials/lagrangian/LAMMPS/unresolved/unresolvedDiffuseInterfaceLAMMPSFoam/particlesFallingOnWater: Scaled-up particle assembly falling into a liquid pool.tutorials/lagrangian/LAMMPS/unresolved/unresolvedDiffuseInterfaceLAMMPSFoam/stirTank: Multiphase gas-liquid-solid stirred tank reactor simulation.