Unresolved CFD-DEM is a technique with high potential for designing and analyzing multiphase flows involving particles and fluid. Some examples of these systems are fluidized beds, stirred-tanks, and flocculation processes. In this approach, we apply Newton’s second law of motion to each particle individually such that their movement is described at a micro-scale (as in DEM simulations). On the other hand, the fluid is represented at a meso-scale by a mesh of cells, to which we apply the Volume-Averaged Navier-Stokes (VANS) equations.
The micro-meso scale approach allows for particle-fluid simulations involving large numbers of particles, with reasonable computational cost and highly detailed results (in both time and space). As a counterpart, the interchanged momentum between phases needs to be modeled, i.e., it is not obtained straightforwardly from the application of a no-slip boundary condition at the interface between the fluid and the particles. The following image represents the micro-meso scale approach applied in unresolved CFD-DEM simulations, where the rectangles represent the mesh of the geometry and the gray spots represent the particles.
In this guide, we summarize the theory behind Unresolved CFD-DEM. For further details, we refer the reader to the articles by Bérard et al. , and Zhou et al. .
Particles
Applying Newton’s second law and Euler’s law of angular motion on the particle \(i\) surrounded by fluid \(f\), we find:
\[\begin{split}m_i \frac{\mathrm{d}\mathbf{v}_i}{\mathrm{d}t} = \mathbf{F}_{\mathrm{fp},i} + \mathbf{F}_{\mathbf{g},i} + \sum_{j} \left( \mathbf{F}_{\mathrm{c},ij} + \mathbf{F}_{\mathrm{nc},ij} \right) \\
I_i \frac{\mathrm{d}\mathbf{\omega}_i}{\mathrm{d}t} = \mathbf{M}_{\mathrm{fp},i} + \sum_{j}\left ( \mathbf{M}_{\mathrm{c},ij} + \mathbf{M}_{\mathrm{r},ij} \right )\end{split}\]
where:
\(m_i\) is the mass of the particle \(i\);
\(\mathbf{v}_i\) is the velocity of the particle \(i\);
\(\mathbf{F}_{\mathrm{fp},i}\) is the force exerted by the surrounding fluid over particle \(i\). Here, the subscript \(\mathrm{fp}\) indicates the force exerted by the fluid on the particles;
\(\mathbf{F}_{\mathbf{g},i}\) is the gravitational force;
\(\mathbf{F}_{\mathrm{c},ij}\) are the contact forces (normal and tangential) between particles \(i\) and \(j\) (detailed in the DEM section of this guide);
\(\mathbf{F}_{\mathrm{nc},ij}\) are the non-contact forces between particles \(i\) and \(j\), such as cohesive and lubrication forces ;
\(I_i\) is the moment of inertia;
\(\mathbf{\omega}_i\) is the angular velocity;
\(\mathbf{M}_{\mathrm{fp},i}\) is the torque exerted by the surrounding fluid over the particle \(i\).
\(\mathbf{M}_{\mathrm{c},ij}\) is the contact torque between particles \(i\) and \(j\). Since only spherical particles are currently supported the unresolved CFD-DEM implementation of Lethe, this torque is only due to tangential forces;
\(\mathbf{M}_{\mathrm{r},ij}\) is the rolling friction between particles \(i\) and \(j\);
The momentum transfer between phases, \(\mathbf{F}_{\mathrm{fp},i}\), can be written as:
\[\mathbf{F}_{\mathrm{fp},i} = \mathbf{F}_{\nabla p,i} + \mathbf{F}_{\nabla \cdot \mathbf{\tau},i} + \mathbf{F}_{\mathrm{d},i} + \mathbf{F}_{\mathrm{Ar},i} + \mathbf{F}_{\mathrm{S},i} + \mathbf{F}_{\mathrm{M},i} + \mathbf{F}''_{i}\]
where:
\(\mathbf{F}_{\nabla p,i}\) is the force due to the pressure gradient;
\(\mathbf{F}_{\nabla \cdot \tau,i}\) is the force due to the shear stress;
\(\mathbf{F}_{\mathrm{d},i}\) is the drag force;
\(\mathbf{F}_{\mathrm{Ar},i}\) is the buoyancy (Archimedes) force;
\(\mathbf{F}_{\mathrm{S},i}\) is the Saffman lift force;
\(\mathbf{F}_{\mathrm{M},i}\) is the Magnus lift force;
\(\mathbf{F}''_{i}\) are the remaining forces, such as virtual mass, Basset, etc., which are not currently implemented in Lethe.
Note
Since the pressure in Lethe does not account for the hydrostatic pressure, i.e., the gravity term is not taken into account in the Navier-Stokes equations (see The Incompressible Navier-Stokes Equations), \(\mathbf{F}_{\nabla p,i}\) is computed from the reduced pressure \(p^*\) and we explicitly insert the buoyancy \(\mathbf{F}_{\mathrm{Ar},i} = -\rho_f V_{\mathrm{p},i} \mathbf{g}\) in \(\mathbf{F}_{\mathrm{fp},i}\). Its reaction is not applied to the fluid, because the hydrostatic reduction already accounts for it. In Model A, \(\mathbf{F}_{\nabla p,i} + \mathbf{F}_{\mathrm{Ar},i}\) is the full pressure gradient force, which is excluded from \(\mathbf{f}_{\mathrm{pf},\mathrm{A}}\). In Model B, the reaction \(-\sum_i k_r \mathbf{F}_{\mathrm{Ar},i} = (1-\varepsilon_f) \rho_f \mathbf{g}\) exactly cancels the term \(-(1-\varepsilon_f) \rho_f \mathbf{g}\) left by the hydrostatic reduction of \(-\nabla p^{\mathrm{phys}} + \varepsilon_f \rho_f \mathbf{g}\).
In unresolved CFD-DEM, the drag force is calculated using correlations (frequently called drag models). The drag models implemented in Lethe are described in the unresolved CFD-DEM parameters guide.
Volume-Averaged Navier-Stokes
Since we represent the fluid at a meso-scale, the quantities calculated for the cells are filtered. Additionally, variations in time and space of the volume occupied by the fluid are accounted for by the void fraction (or porosity). The resulting equations are the Volumed-Averaged Navier-Stokes (VANS) equations, which are solved to obtain the velocity and the pressure of the continuous fluid phase. In Lethe, the VANS equations are presented in two different formulations, so-called Model A (or Set II) and Model B (or Set I) [2].
The VANS equations can be derived by averaging the continuity and momentum conservation equations using a weighting function. This approach was developed by Anderson and Jackson and is briefly presented here. In this approach, any weighting function \(k_r(\lVert \mathbf{x} \rVert)\) may be chosen, provided that it satisfies a set of conditions, including \(k_r(\lVert \mathbf{x} \rVert) > 0, \: \forall \mathbf{x}\), and \(\int_{\Omega} k_r(\lVert \mathbf{x} \rVert)\,\mathrm{d}\mathbf{x} = 1\), where \(\Omega\) refers to the whole domain.
Using this function, local mean values of any fluid- or solid-phase property, \(\bar{a}(\mathbf{x},t)\) and \(\bar{b}(\mathbf{x},t)\), respectively, can be defined at a scale larger than the particle diameter yet smaller than the macroscopic length scale of the problem, as per the following:
(1)\[\begin{split} \begin{align}
\varepsilon_f(\mathbf{x},t) \bar{a}(\mathbf{x},t) &= \int_{\Omega_f} a(\mathbf{y},t) k_r \left (\lVert \mathbf{x} - \mathbf{y} \rVert \right ) \mathrm{d}\mathbf{y} \\
\left[1-\varepsilon_f(\mathbf{x},t)\right] \bar{b}(\mathbf{x},t) &= \int_{\Omega_s} b(\mathbf{y},t) k_r \left (\lVert \mathbf{x} - \mathbf{y} \rVert \right ) \mathrm{d}\mathbf{y} \approx \sum_{i} V_{\mathrm{p},i} \bar{b}_i(t)k_r(\lVert \mathbf{x}-\mathbf{x_i} \rVert)
\end{align}\end{split}\]
where \(\varepsilon_f(\mathbf{x},t)\) is the void fraction at position \(\mathbf{x}\) and time \(t\), the subscripts \(f\) and \(s\) denote the fluid and solid, respectively, and \(a\) and \(b\) are the point values of the corresponding properties. The index \(i\) in the summation denotes again each particle in the system, with volume \(V_{\mathrm{p},i}\) and position \(\mathbf{x}_i\). \(\bar{b}_i(t)\) represents the average of the point property \(b\) over the volume of particle \(i\). For the solid-phase property \(b(\mathbf{x},t)\), the approximation in the second equation stems from the assumption that the weighting function varies little over the volume of a single particle. This condition must be met when selecting the weighting kernel radius. Filtering the mass and momentum conservation equations using the weighting function leads to the VANS equations presented in the following.
Considering an incompressible flow, the continuity equation for both models A and B is:
\[\frac{\partial \varepsilon_f}{\partial t} + \nabla \cdot \left ( \varepsilon_f \mathbf{u} \right ) = 0\]
where:
Models A and B differ from each other in the way the momentum equation is calculated:
Model A:
\[\frac{\partial \left ( \varepsilon_f \mathbf{u} \right )}{\partial t} + \nabla \cdot \left ( \varepsilon_f \mathbf{u} \otimes \mathbf{u} \right ) = \frac{1}{\rho_f} \left (-\varepsilon_f \nabla p^* + \varepsilon_f \nabla \cdot \tau + \mathbf{f}_{\mathrm{pf},\mathrm{A}} \right )\]
Model B:
\[\frac{\partial \left ( \varepsilon_f \mathbf{u} \right )}{\partial t} + \nabla \cdot \left ( \varepsilon_f \mathbf{u} \otimes \mathbf{u} \right ) = \frac{1}{\rho_f} \left (-\nabla p^* + \nabla \cdot \tau + \mathbf{f}_{\mathrm{pf},\mathrm{B}}\right )\]
where:
\(\rho_f\) is the density of the fluid;
\(p\) is the pressure;
\(\tau = \rho_f \nu \left( \nabla \mathbf{u} + \nabla \mathbf{u}^T \right)\) is the viscous stress tensor, with \(\nu\) the kinematic viscosity. Since \(\varepsilon_f \nabla \cdot \mathbf{u} = -\left( \partial_t \varepsilon_f + \mathbf{u} \cdot \nabla \varepsilon_f \right)\), the velocity field is not solenoidal (it is not divergence free).
\(\mathbf{f}_{\mathrm{pf},\mathrm{A}}\) and \(\mathbf{f}_{\mathrm{pf},\mathrm{B}}\) denote the interphase momentum exchange terms resulting from fluid–particle interactions in Models A and B, respectively.
It is worth noting that the VANS solver in Lethe solves a kinematic (or reduced) pressure variable defined as:
\[p = \frac{p^*}{\rho_f}\]
where \(p^*\) is the physical pressure, not withstanding the gravitational contribution, as mentioned earlier. In fact, for numerical convenience, the governing equations are also written in a hydrostatically reduced form, in which the gravitational contribution is absorbed into the pressure definition. As a result, the solved pressure corresponds to a dynamic pressure field normalized by the fluid density.
The full physical pressure can be recovered as:
\[p^{\mathrm{phys}} = \rho_f \left(p + \mathbf{g}\cdot\mathbf{x}\right) = p^* + \rho_f \mathbf{g}\cdot\mathbf{x}\]
where \(\mathbf{g}\) is the gravitational acceleration vector and \(\mathbf{x}\) is the position vector.
The term \(\mathbf{f}_{\mathrm{pf}}\), which has units of a volumetric force, is obtained by regularizing the particle-fluid interaction forces using a kernel function \(k_r\) :
\[\begin{split}\mathbf{f}_{\mathrm{pf},\mathrm{A}} &= \sum_{i} k_r \left (\lVert \mathbf{x} - \mathbf{x}_i \rVert \right ) \left(- \left (\mathbf{F}_{\mathrm{fp},i} - \mathbf{F}_{\nabla p,i} - \mathbf{F}_{\nabla \cdot \mathbf{\tau},i} - \mathbf{F}_{\mathrm{Ar},i} \right ) \right) \\
\mathbf{f}_{\mathrm{pf},\mathrm{B}} &= \sum_{i} k_r \left (\lVert \mathbf{x} - \mathbf{x}_i \rVert \right ) \left(- \left (\mathbf{F}_{\mathrm{fp},i} - \mathbf{F}_{\mathrm{Ar},i} \right ) \right)\end{split}\]
Different choices of the weighting function \(k_r(\lVert \mathbf{x} \rVert)\) are possible, and Lethe provides two options. When the Particle-in-Cell (PIC) method is used for particle–fluid coupling, particle properties are regularized over the mesh cells by averaging them within each cell. This procedure is equivalent to using a cell-based top-hat weighting function over the cell containing the point \(\mathbf{x}\). However, this approach is not ideal, as it leads to force definitions that depend on the mesh resolution.
To mitigate this issue, Lethe also supports filtering of solid–fluid interaction forces using a spherical top-hat filter centered at the quadrature points, with a user-defined radius that should be larger than the particle diameter. This approach, referred to as the Quadrature-Centered Method (QCM), yields a filtering operation that is independent of the mesh and depends solely on the chosen filter radius.
Lethe is capable of simulating unresolved CFD-DEM cases with both Models A and B (see the CFD-DEM page of this guide).
Weak Formulation of Model A
Let \(p\) be the kinematic pressure, \(\tilde{\boldsymbol{\tau}} = \tau / \rho_f = \nu \left( \nabla \mathbf{u} + \nabla \mathbf{u}^T \right)\) the kinematic viscous stress and \(\mathbf{f}\) a body force per unit mass (source term and dynamic flow control). Lethe does not discretize the conservative left-hand side of the Model A momentum equation directly. Using mass conservation, it is rewritten as:
\[\begin{split}\partial_t \left( \varepsilon_f \mathbf{u} \right) + \nabla \cdot \left( \varepsilon_f \mathbf{u} \otimes \mathbf{u} \right) &= \varepsilon_f \partial_t \mathbf{u} + \varepsilon_f \left( \mathbf{u} \cdot \nabla \right) \mathbf{u} + \mathbf{u} \left( \partial_t \varepsilon_f + \nabla \cdot \left( \varepsilon_f \mathbf{u} \right) \right) \\
&= \varepsilon_f \partial_t \mathbf{u} + \varepsilon_f \left( \mathbf{u} \cdot \nabla \right) \mathbf{u}\end{split}\]
or, in Einstein notation:
\[\begin{split}\partial_t \left( \varepsilon_f u_k \right) + \partial_l \left( \varepsilon_f u_l u_k \right) &= \varepsilon_f \partial_t u_k + \varepsilon_f u_l \partial_l u_k + u_k \left( \partial_t \varepsilon_f + \partial_l \left( \varepsilon_f u_l \right) \right) \\
&= \varepsilon_f \partial_t u_k + \varepsilon_f u_l \partial_l u_k\end{split}\]
The conservative and rewritten forms are equivalent for the exact solution, but not after discretization, since the continuity equation is only satisfied weakly. The strong form solved by Lethe is therefore:
\[\begin{split}\partial_t \varepsilon_f + \nabla \cdot \left( \varepsilon_f \mathbf{u} \right) &= 0 \\
\varepsilon_f \partial_t \mathbf{u} + \varepsilon_f \left( \mathbf{u} \cdot \nabla \right) \mathbf{u} &= -\varepsilon_f \nabla p + \varepsilon_f \nabla \cdot \tilde{\boldsymbol{\tau}} + \frac{1}{\rho_f} \mathbf{f}_{\mathrm{pf},\mathrm{A}} + \varepsilon_f \mathbf{f}\end{split}\]
or, in Einstein notation, with \(\tilde{\tau}_{lk} = \nu \left( \partial_l u_k + \partial_k u_l \right)\):
\[\begin{split}\partial_t \varepsilon_f + \partial_l \left( \varepsilon_f u_l \right) &= 0 \\
\varepsilon_f \partial_t u_k + \varepsilon_f u_l \partial_l u_k &= -\varepsilon_f \partial_k p + \varepsilon_f \partial_l \tilde{\tau}_{lk} + \frac{1}{\rho_f} f_{\mathrm{pf},\mathrm{A},k} + \varepsilon_f f_k\end{split}\]
Since \(\varepsilon_f\) remains outside the derivatives in Model A, only \(p\) and \(\tilde{\boldsymbol{\tau}}\) are integrated by parts, which leaves explicit void fraction gradient terms:
\[\begin{split}\left( \mathbf{v}, \varepsilon_f \nabla p \right)_{\Omega} &= - \left( \nabla \cdot \mathbf{v}, \varepsilon_f p \right)_{\Omega} - \left( \mathbf{v}, p \nabla \varepsilon_f \right)_{\Omega} + \left( \mathbf{v}, \varepsilon_f p \mathbf{n} \right)_{\partial \Omega} \\
- \left( \mathbf{v}, \varepsilon_f \nabla \cdot \tilde{\boldsymbol{\tau}} \right)_{\Omega} &= \left( \nabla \mathbf{v}, \varepsilon_f \tilde{\boldsymbol{\tau}} \right)_{\Omega} + \left( \mathbf{v}, \tilde{\boldsymbol{\tau}} \nabla \varepsilon_f \right)_{\Omega} - \left( \mathbf{v}, \varepsilon_f \tilde{\boldsymbol{\tau}} \mathbf{n} \right)_{\partial \Omega}\end{split}\]
where \(\varepsilon_f\) is the projected finite element field described in the Void Fraction section below, so its gradient is defined. Let \(\mathcal{V}\) be the velocity space satisfying the Dirichlet conditions, \(\mathcal{V}_0\) its homogeneous counterpart and \(\mathcal{Q}\) the pressure space. The weak form is: find \((\mathbf{u}, p) \in \mathcal{V} \times \mathcal{Q}\) such that, for all \((\mathbf{v}, q) \in \mathcal{V}_0 \times \mathcal{Q}\):
\[\begin{split}& \left( q, \partial_t \varepsilon_f + \varepsilon_f \nabla \cdot \mathbf{u} + \mathbf{u} \cdot \nabla \varepsilon_f \right)_{\Omega} = 0 \\
& \left( \mathbf{v}, \varepsilon_f \partial_t \mathbf{u} + \varepsilon_f \left( \mathbf{u} \cdot \nabla \right) \mathbf{u} \right)_{\Omega} - \left( \nabla \cdot \mathbf{v}, \varepsilon_f p \right)_{\Omega} - \left( \mathbf{v}, p \nabla \varepsilon_f \right)_{\Omega} + \left( \nabla \mathbf{v}, \varepsilon_f \tilde{\boldsymbol{\tau}} \right)_{\Omega} + \left( \mathbf{v}, \tilde{\boldsymbol{\tau}} \nabla \varepsilon_f \right)_{\Omega} \\
& \quad - \left( \mathbf{v}, \frac{1}{\rho_f} \mathbf{f}_{\mathrm{pf},\mathrm{A}} + \varepsilon_f \mathbf{f} \right)_{\Omega} + \left( \tau_{\mathrm{s}} \nabla q, \mathbf{R} \right)_{\Omega_e} + \left( \tau_{\mathrm{s}} \left( \mathbf{u} \cdot \nabla \right) \mathbf{v}, \mathbf{R} \right)_{\Omega_e} + \left( \nabla \cdot \mathbf{v}, \gamma R_c \right)_{\Omega} = 0\end{split}\]
or, in Einstein notation:
\[\begin{split}& \left( q, \partial_t \varepsilon_f + \varepsilon_f \partial_l u_l + u_l \partial_l \varepsilon_f \right)_{\Omega} = 0 \\
& \left( v_k, \varepsilon_f \partial_t u_k + \varepsilon_f u_l \partial_l u_k \right)_{\Omega} - \left( \partial_k v_k, \varepsilon_f p \right)_{\Omega} - \left( v_k, p \partial_k \varepsilon_f \right)_{\Omega} + \left( \partial_l v_k, \varepsilon_f \tilde{\tau}_{lk} \right)_{\Omega} + \left( v_k, \tilde{\tau}_{lk} \partial_l \varepsilon_f \right)_{\Omega} \\
& \quad - \left( v_k, \frac{1}{\rho_f} f_{\mathrm{pf},\mathrm{A},k} + \varepsilon_f f_k \right)_{\Omega} + \left( \tau_{\mathrm{s}} \partial_k q, R_k \right)_{\Omega_e} + \left( \tau_{\mathrm{s}} u_l \partial_l v_k, R_k \right)_{\Omega_e} + \left( \partial_k v_k, \gamma R_c \right)_{\Omega} = 0\end{split}\]
The boundary term \(\left( \mathbf{v}, \varepsilon_f \left( \tilde{\boldsymbol{\tau}} - p \mathbf{I} \right) \mathbf{n} \right)_{\partial \Omega}\) is discarded, so where no Dirichlet condition is applied, the natural condition is \(\varepsilon_f \left( \tilde{\boldsymbol{\tau}} - p \mathbf{I} \right) \mathbf{n} = \mathbf{0}\). The SUPG/PSPG terms use the strong residual of the momentum equation, \(\mathbf{R}\), and the grad-div term uses the strong residual of the continuity equation, \(R_c\):
\[\begin{split}\mathbf{R} &= \varepsilon_f \partial_t \mathbf{u} + \varepsilon_f \left( \mathbf{u} \cdot \nabla \right) \mathbf{u} + \varepsilon_f \nabla p - \varepsilon_f \nu \left( \nabla^2 \mathbf{u} + \nabla \left( \nabla \cdot \mathbf{u} \right) \right) - \frac{1}{\rho_f} \mathbf{f}_{\mathrm{pf},\mathrm{A}} - \varepsilon_f \mathbf{f} \\
R_c &= \partial_t \varepsilon_f + \varepsilon_f \nabla \cdot \mathbf{u} + \mathbf{u} \cdot \nabla \varepsilon_f\end{split}\]
or, in Einstein notation:
\[\begin{split}R_k &= \varepsilon_f \partial_t u_k + \varepsilon_f u_l \partial_l u_k + \varepsilon_f \partial_k p - \varepsilon_f \nu \left( \partial_l \partial_l u_k + \partial_k \partial_l u_l \right) - \frac{1}{\rho_f} f_{\mathrm{pf},\mathrm{A},k} - \varepsilon_f f_k \\
R_c &= \partial_t \varepsilon_f + \varepsilon_f \partial_l u_l + u_l \partial_l \varepsilon_f\end{split}\]
where:
\(\tau_{\mathrm{s}}\) is the SUPG/PSPG stabilization parameter defined in On the Need for Stabilization;
\(\gamma = \nu + c^* \lVert \mathbf{u} \rVert\) is the grad-div parameter, with \(c^*\) the grad-div length scale. The grad-div term is only added when grad div = true;
the time derivatives are discretized with a BDF scheme. All \(\varepsilon_f\) factors are evaluated at \(t^{n+1}\), and \(\partial_t \varepsilon_f\) is only included when void fraction time derivative = true;
the particle-fluid term is \(\frac{1}{\rho_f} \mathbf{f}_{\mathrm{pf},\mathrm{A}} = -\frac{1}{\rho_f} \Pi \left( \sum_i k_r \mathbf{F}^{\mathrm{tw}}_i \right) + \beta \left( \Pi \mathbf{v}_{\mathrm{p}} - \mathbf{u} \right)\), where \(\Pi\) denotes the projection on a finite element field, \(\mathbf{F}^{\mathrm{tw}}_i\) gathers the two-way coupled forces on particle \(i\) (Saffman and Magnus lift, plus the drag when the coupling is fully explicit), \(\mathbf{v}_{\mathrm{p}}\) is the particle velocity and \(\beta\) is the momentum transfer coefficient divided by \(\rho_f\), which is zero when the coupling is fully explicit. The pressure gradient, shear and buoyancy forces act on the particles only.
The derivatives of \(\tau_{\mathrm{s}}\) and \(\gamma\) with respect to \(\mathbf{u}\) are neglected in the Jacobian.
Void Fraction
Determining the void fraction is an important step in unresolved CFD-DEM, as can be noted by the VANS equations and the drag models . There exist several methods for the calculation of the void fraction in a CFD-DEM simulation. Some are approximations while others are analytical approaches. If one applies the averaging definition in equations (1) while taking \(b(\mathbf{x},t)=1\), one obtains:
\[1-\varepsilon_f(\mathbf{x},t) \approx \sum_{i} V_{\mathrm{p},i} k_r(\lVert \mathbf{x}-\mathbf{x_i} \rVert)\]
This equation can be used in practice to calculate the void fraction at a given point \(\mathbf{x}\):
(2)\[\varepsilon_f(\mathbf{x},t) \approx 1 - \sum_{i} V_{\mathrm{p},i} k_r(\lVert \mathbf{x}-\mathbf{x_i} \rVert)\]
In the finite element method, the void fraction is initially calculated at quadrature points. However, the solution of the VANS equation requires not only the void fraction, but its gradient. Therefore, it is necessary to be able to represent the void fraction using a finite element interpolation (e.g. Lagrange Q elements). The best polynomial representation of the void fraction can be obtained by solving the following minimization problem (which is essentially an \(\mathcal{L}^2\) projection ):
\[\min_{\varepsilon_{f,j} \in \mathbb{R}} \frac{1}{2} \sum_i \left (\sum_j \varepsilon_{f,j} \varphi_j - \epsilon_{f} \right )^2 \varphi_i\]
where \(\epsilon_{f}\) is the void fraction, \(\varphi_j\) is the finite element shape function of the void fraction, and \(\varepsilon_{f,j}\) the nodal values of the projected void fraction. Then, we assemble and solve the following:
\[\int_{\Omega} \varepsilon_{f,j} \varphi_i \varphi_j d \Omega = \int_{\Omega} \epsilon_{f} \varphi_i d \Omega\]
Lethe also has the option of smoothing the void fraction profile, which helps to mitigate sharp discontinuities. This is specifically advantageous when using void fraction schemes that are discontinuous in space and time such as the Particle Centroid Method (PCM) and the Satellite Point Method (SPM). To do so, we add to the left hand side of the previous equation a term similar to a Poisson equation. This acts as an additional parabolic (Gaussian) filter. The resulting equation is:
\[\int_{\Omega} \varepsilon_{f,j} \varphi_i \varphi_j d \Omega + \iint_\Omega L^2 \varepsilon_{f,j} \nabla \varphi_i \nabla \varphi_j d\Omega = \int_{\Omega} \epsilon_{f} \varphi_i d \Omega\]
where \(L\) is the smoothing length, used as parameter in Lethe unresolved CFD-DEM simulations. In Lethe, three void fraction schemes are currently supported to calculate \(\epsilon_{f}\). They are the particle centroid method, the satellite point method, and the quadrature centered method.
The Particle Centroid Method
The PCM is a simple and commonly used method. It consists of tracking the position of the centroid of each particle and applying the total volume of the particle to the calculation of the void fraction of the cell. This means that in either of the following situations the void fraction of the colored cell is the same:
This results in the PCM being discontinuous in space and time. Consequently, the PCM method significantly relies on the smoothing of the void fraction to lead to a sufficiently smooth void fraction field. We refer the reader to for an extensive discussion on this topic.
The void fraction in a cell using PCM can be written as:
\[\epsilon_f = 1 - \frac{\sum_{i,\Omega_e}^{n_\mathrm{p}} V_{\mathrm{p},i}}{V_{\Omega_e}}\]
where \(n_\mathrm{p}\) is the number of particles whose centroids lie inside the cell \(\Omega_e\) of volume \(V_{\Omega_e}\). Comparing this equation with equation (2), we can see that this is equivalent to using the following weighting function:
\[k_r \left (\lVert \mathbf{x} - \mathbf{x}_i \rVert \right ) = \frac{1_{\{\mathbf{x}_i \in \Omega_e\}}}{V_{\Omega_e}}\]
where \(\mathbf{1}_{\{\mathbf{x}_i \in \Omega_e\}}\) is the indicator function that is equal to 1 if the centroid of particle \(i\) lies inside cell \(\Omega_e\) and 0 otherwise, and \(V_{\Omega_e}\) is the volume of cell \(\Omega_e\). It can be verified that using this weighting function for calculating the void fraction and the interaction forces ensures the conservation of mass of both phases, as well as Newton’s third law:
\[\begin{split}\begin{align}
\int_{\Omega} \mathbf{f}_{\mathrm{pf},\mathrm{A}} d\mathbf{x} &= \sum_{i} -\left(\mathbf{F}_{\mathrm{fp},i}- \mathbf{F}_{\nabla p,i} - \mathbf{F}_{\nabla \cdot \mathbf{\tau},i} - \mathbf{F}_{\mathrm{Ar},i}\right)\\
\int_{\Omega} \mathbf{f}_{\mathrm{pf},\mathrm{B}} d\mathbf{x} &= \sum_{i} -\left(\mathbf{F}_{\mathrm{fp},i} - \mathbf{F}_{\mathrm{Ar},i}\right)
\end{align}\end{split}\]
The Satellite Point Method
This method divides each particle into pseudo-particles where the sum of the volume of all pseudo-particles in a single particle is equal to the volume of the particle. Then, each pseudo-particle is treated similarly to the PCM, that is, the centroid of each pseudo-particle is tracked, and the entire volume of the pseudo-particle is considered in a given cell if its centroid lies within.
The void fraction in a cell using SPM can be written as:
\[\epsilon_f = 1 - \frac{\sum_{i}^{n_\mathrm{p}}\sum_{j,\Omega_e}^{n_{\mathrm{sp}}} V_{\mathrm{sp},j}}{V_{\Omega_e}}\]
where \(n_{\mathrm{sp}}\) is the number of pseudo-particles \(j\) belonging to particle \(i\) and with a centroid inside the cell \(\Omega_e\) with volume \(V_{\Omega_e}\), and \(V_{\mathrm{sp}}\) is the volume of the satellite point. The corresponding weighting function is thus:
\[k_r \left (\lVert \mathbf{x} - \mathbf{x}_i \rVert \right ) = \frac{\sum_{i}^{n_\mathrm{p}}(1/V_{\mathrm{p},i})\sum_{j,\Omega_e}^{n_{\mathrm{sp}}} V_{\mathrm{sp},j}}{V_{\Omega_e}}\]
This function is similar to the weighting function used in the Particle-in-Cell (PCM) method, but it varies gradually (albeit discontinuously) at the cell boundaries. Hence, it suffers from the same limitations as the PCM method. However, it also conserves mass. Currently, when using the SPM void fraction scheme, Lethe only supports the calculation of the void fraction \(\epsilon_f\) with SPM. For the calculation of the force in this scheme, Lethe uses PCM.
The Quadrature Centered Method
The Quadrature Centered Method (QCM) is an analytical method that decouples the averaging volume from the mesh cells. It constructs a weighting kernel centered at each quadrature point in a given cell, and it calculates the void fraction directly at the quadrature point. The advantage of this approach is that the void fraction varies within a cell. Additionally, particles in neighboring cells can affect the void fraction of the current cell. This allows the method to be continuous in both space and time. This is advantageous, especially in solid-liquid systems where the term \(\rho_f \frac{\partial \epsilon_f}{\partial t}\) of the continuity equation is very stiff and unstable: even small discontinuities in the void fraction can lead to unbounded behavior of this term as \(\Delta t_{\mathrm{CFD}} \to 0\).
The void fraction at the quadrature point using QCM is calculated as:
\[\epsilon_f (\mathbf{x}_q,t) = 1-\sum_{i}{k_r \left (\lVert \mathbf{x}_q - \mathbf{x}_i \rVert \right ) V_{\mathrm{p},i}}\]
The weighting function is also used to compute the fluid–particle momentum exchange term. Integrating this term over the computational domain demonstrates that the formulation also satisfies Newton’s third law for both kernels (the corresponding expression is shown for Model B without loss of generality):
\[\int_{\Omega} \mathbf{f}_{\mathrm{pf}} d\mathbf{x} = \sum_{q} \sum_{i}{-\left(\mathbf{F}_{\mathrm{fp},i} - \mathbf{F}_{\mathrm{Ar},i} \right) k_r \left (\lVert \mathbf{x}_q - \mathbf{x}_i \rVert \right )} \times w_q|J| = \sum_{i} -\left(\mathbf{F}_{\mathrm{fp},i} - \mathbf{F}_{\mathrm{Ar},i} \right)\]
where \(w_q|J|\) is the weight at the quadrature point located at \(\mathbf{x}_q\), multiplied by the volume of the cell containing the quadrature point.
Two types of weighting kernels centered on the quadrature points can be used in Lethe: a top hat kernel defined using the intersection of the particles with a sphere and a Gaussian kernel.
The Particle-Sphere Intersection Kernel
A sphere is constructed around each quadrature point. All particles lying in the sphere will contribute to the void fraction value at this quadrature point. Therefore, a cell will be affected by the particles lying in it and in its neighboring cells.
The resulting kernel is a smoothed top-hat kernel defined by the intersection of the particles with the sphere centered at the quadrature point, as follows:
\[k_r \left (\lVert \mathbf{x}_q - \mathbf{x}_i \rVert \right ) = \frac{1}{\sum_{q}{V_{p\cap S_q}}}V_{p\cap S_q}\frac{1}{w_q|J|}\]
where \(S_q\) is the sphere centered at \(\mathbf{x}_q\), and \(V_{p\cap S_q}\) is the intersection volume of the particle with the sphere. The division by the product of the latter term and \(\sum_{q}{V_{\mathrm{p}\cap S_q}}\) is done to ensure mass conservation over the whole domain.
Since the sphere-sphere (particle-averaging sphere) intersection is analytically easier to calculate than sphere-polyhedron (particle-mesh cell), this method is less expensive than other analytical methods as the intersection does not involve the calculation of trigonometric functions at each CFD time step.
The Gaussian Kernel
The Gaussian kernel is defined as a smooth function that assigns weights to particles based on their distance from the quadrature point, as follows:
\[k_r \left (\lVert \mathbf{x}_q - \mathbf{x}_i \rVert \right ) = \frac{G\left (\lVert \mathbf{x}_q - \mathbf{x}_i \rVert \right )}{\sum_{q}G\left (\lVert \mathbf{x}_q - \mathbf{x}_i \rVert \right )}\frac{1}{w_q|J|}\]
where \(G\left (\lVert \mathbf{x}_q - \mathbf{x}_i \rVert \right )\) is the Gaussian function defined as:
\[G\left (\lVert \mathbf{x}_q - \mathbf{x}_i \rVert \right ) = \frac{1}{(2\pi\sigma^2)^{3/2}} \exp\left(-\frac{\lVert \mathbf{x}_q - \mathbf{x}_i \rVert^2}{2\sigma^2}\right)\]
with \(\sigma\) being the standard deviation of the Gaussian distribution, controlling the spread of the kernel. This kernel is also normalized to ensure mass conservation over the whole domain.
Regardless of its type, the kernel must be sufficiently wide to ensure that all particles in the domain contribute to the averaged void fraction. This can be achieved by selecting an adequate number of quadrature points together with an appropriate kernel length, \(R_{\rm{qcm}}\) (radius of the sphere intersection kernel and standard deviation for the Gaussian kernel). However, in Lethe, the kernel length is currently constrained by the mesh resolution. Since each cell only has access to its direct neighboring cells, the weighting kernel length cannot extend beyond this local neighborhood, otherwise, the averaged fields will be biased. Consequently, the kernel length must satisfy:
\[R_{\rm{qcm}} \leq h_{\Omega}\]
where \(h_{\Omega}\) denotes the characteristic cell size to ensure access to the particles.