![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <core/simulation_control.h>#include <solvers/copy_data.h>#include <solvers/navier_stokes_assemblers.h>#include <solvers/navier_stokes_scratch_data.h>#include <fem-dem/cfd_dem_simulation_parameters.h>#include <deal.II/particles/particle_handler.h>Go to the source code of this file.
Functions | |
| double | calculate_gamma (double velocity, double kinematic_viscosity, double, double c_star) |
Assemblers for the Volume-Averaged Navier-Stokes (VANS) equations.
This file contains the assemblers used to build the matrix and right-hand side contributions for the VANS equations in CFD-DEM simulations. It includes the core equation assemblers (Model A and Model B), various drag models (Di Felice, Rong, Dallavalle, Koch-Hill, Beetstra, Gidaspow), lift force models (Saffman-Mei, Magnus), torque models (viscous, vortical), buoyancy, pressure and shear force assemblers, and the fluid-particle interaction assemblers.
Definition in file vans_assemblers.h.
|
inline |
Calculate the grad-div stabilization constant \( \gamma \) for the VANS equations.
The stabilization constant is computed as:
\[\gamma = \nu + c^* \|\mathbf{u}\| \]
where \( \nu \) is the kinematic viscosity, \( c^* \) is a scaling constant with units of length, and \( \|\mathbf{u}\| \) is the magnitude of the velocity at the quadrature point.
| [in] | velocity | Magnitude of the velocity at the quadrature point. |
| [in] | kinematic_viscosity | Kinematic viscosity of the fluid. |
| [in] | h | The element size (unused). |
| [in] | c_star | Scaling constant with units of length. |
Definition at line 1066 of file vans_assemblers.h.
References velocity.