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:

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:

\[\frac{\partial \alpha_f}{\partial t} + \nabla \cdot (\alpha_f \mathbf{U}) = 0\]

where \(\alpha_f = 1 - \alpha_p\) is the fluid volume fraction (\(\alpha_p\) is the particle solid fraction obtained from coarse graining).

Momentum Equation:

\[\frac{\partial (\alpha_f \rho \mathbf{U})}{\partial t} + \nabla \cdot (\alpha_f \rho \mathbf{U} \mathbf{U}) = -\alpha_f \nabla p + \nabla \cdot (\alpha_f \boldsymbol{\tau}) + \alpha_f \mathbf{f}_\sigma + \mathbf{f}_p + \alpha_f \rho \mathbf{g}\]

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:

\[\frac{\partial (\alpha_f \alpha)}{\partial t} + \nabla \cdot (\mathbf{U} \alpha_f \alpha) = -\nabla \cdot \left[ \alpha_f \mathbf{U}_r \alpha (1 - \alpha) \right] + \nabla \cdot (\alpha_f M \nabla \psi)\]
\[\psi = \alpha^3 - 1.5 \alpha^2 + 0.5 \alpha - \epsilon^2 \nabla^2 \alpha\]

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:

\[\mathbf{F}_{\text{fluid}, i} = \mathbf{F}_{\text{drag}, i} + \mathbf{F}_{\nabla p, i} + \mathbf{F}_{\tau, i} + \mathbf{F}_{\text{vm}, i} + \mathbf{F}_{\text{cap}, i} + \mathbf{F}_{B, i}\]

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:

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.