HyperbolicTangentSuperquadric#
Description#
HyperbolicTangentSuperquadric (registered sub-model keyword: hyperbolicTangentSuperquadric) is a Locate Models sub-model used in coupled CFD-DEM simulations.
Category: Locate Models
Registered Keyword:
hyperbolicTangentSuperquadricApplicable Solvers: resolvedDiffuseInterfaceLAMMPSFoam
Smooth indicator transition function for superquadric non-spherical particles using gradient descent signed distance solver.
Mathematical Formulation#
HyperbolicTangentSuperquadric implicitly represents non-spherical particles using a superquadric shape function and constructs a smooth solid volume fraction field \(\alpha_s(\mathbf{x})\) with a specified interface thickness \(\delta\) (Washino et al., Chem. Eng. Sci., 267, 118335, 2023).
Superquadric Shape Function:
The shape of a superquadric particle is implicitly defined in its local principal reference frame \(\mathbf{X} = (X, Y, Z)^T\) centered at the particle position as:
\[f(\mathbf{X}) = \left[ \left( \left|\frac{X}{a}\right|^{n_2} + \left|\frac{Y}{b}\right|^{n_2} \right)^{\frac{n_1}{n_2}} + \left|\frac{Z}{c}\right|^{n_1} \right] - 1 = 0\]where \(a, b, c\) are the size parameters along the principal axes, and \(n_1, n_2\) are blockiness parameters controlling edge and corner sharpness. The surface is defined by \(f(\mathbf{X}) = 0\), taking negative values (\(f < 0\)) inside the particle and positive values (\(f > 0\)) outside.
The gradient vector \(\nabla f(\mathbf{X}) = \left(\frac{\partial f}{\partial X}, \frac{\partial f}{\partial Y}, \frac{\partial f}{\partial Z}\right)^T\) is given by:
\[\frac{\partial f}{\partial X} = \frac{n_1}{a} \left| \frac{X}{a} \right|^{n_2 - 1} \gamma^{\frac{n_1}{n_2} - 1} \text{sgn}(X)\]\[\frac{\partial f}{\partial Y} = \frac{n_1}{b} \left| \frac{Y}{b} \right|^{n_2 - 1} \gamma^{\frac{n_1}{n_2} - 1} \text{sgn}(Y)\]\[\frac{\partial f}{\partial Z} = \frac{n_1}{c} \left| \frac{Z}{c} \right|^{n_1 - 1} \text{sgn}(Z)\]where \(\gamma = \left| \frac{X}{a} \right|^{n_2} + \left| \frac{Y}{b} \right|^{n_2}\).
Iterative Signed Distance Solver:
To compute the signed distance \(\phi\) in each CFD cell, the nearest position \(\mathbf{X}_s\) on the particle surface from cell center \(\mathbf{X}_c\) is obtained iteratively:
\[\mathbf{X}_s^{N+1} = \mathbf{X}_s^N - \zeta \frac{f(\mathbf{X}_s^N) \nabla f(\mathbf{X}_s^N)}{\left| \nabla f(\mathbf{X}_s^N) \right|^2}\]with initial guess \(\mathbf{X}_s^0 = \mathbf{X}_c\), where \(\zeta\) is the relaxation factor (configured via
relaxationFactor) and \(N_{\text{max}}\) is the maximum number of iterations (configured vianSignedDistanceLoop).The final signed distance \(\phi\) (negative in solid domain, positive in fluid domain) is computed as:
\[\phi = \text{sgn}\left(f(\mathbf{X}_s^{N_{\text{max}}})\right) \cdot \left\| \mathbf{X}_s^{N_{\text{max}}} - \mathbf{X}_c \right\|\]Solid Volume Fraction Field:
The solid volume fraction field \(\alpha_s(\mathbf{x})\) is evaluated across the diffuse fluid-solid interface as:
\[\alpha_s(\mathbf{x}) = \frac{1}{2} \left[ 1 - \tanh\left( \frac{\phi}{\delta} \right) \right]\]where \(\delta\) is the fluid-solid interface thickness parameter (
thicknessParameter).Note
The actual interface thickness computed becomes approximately 4 times the specified thickness parameter (\(\delta\)).
Configuration#
To configure hyperbolicTangentSuperquadric, specify the model keyword under subModels in constant/kinematicCloudProperties or constant/solidProperties:
locateModel hyperbolicTangentSuperquadric;
hyperbolicTangentSuperquadricCoeffs
{
thicknessParameter 0.075;
nSignedDistanceLoop 15;
relaxationFactor 0.5;
}
Parameters#
thicknessParameter: Interface thickness parameter delta.nSignedDistanceLoop: Maximum iterations for signed distance solver.relaxationFactor: Relaxation factor for gradient descent iteration.