waLBerla 7.3
Loading...
Searching...
No Matches
walberla::lbm::force_model Namespace Reference

Classes

struct  None_tag
struct  Simple_tag
struct  EDM_tag
struct  Luo_tag
struct  Guo_tag
struct  Correction_tag
struct  NoDirectionIndependentTerms
 Used as return type if there are no common, direction-independent terms for the force density term. More...
class  None
class  SimpleConstant
 For the incompressible LBM, in lattice units, the body force density is equal to the acceleration, since bodyForceDensity_lattice = density_lattice * acceleration_lattice and density_lattice is implicitly set to 1. More...
class  EDMField
 [16], [17] More...
class  LuoConstant
 For the incompressible LBM, in lattice units, the body force is equal to the acceleration, since bodyForceDensity_lattice = density_lattice * acceleration_lattice and density_lattice is implicitly set to 1. More...
class  LuoField
class  GuoConstant
 For the incompressible LBM, in lattice units, the body force is equal to the acceleration, since bodyForceDensity_lattice = density_lattice * acceleration_lattice and density_lattice is implicitly set to 1. More...
class  GuoField
class  Correction
 [18] More...

Functions

Vector3< real_tlevelDependentBodyForce (const uint_t targetLevel, const Vector3< real_t > &forceDensity_level, const uint_t level)
 Returns the body force density for level 'targetLevel' given the body force density 'forceDensity_level' on level 'level'.
Vector3< real_tlevelDependentAcceleration (const uint_t targetLevel, const Vector3< real_t > &acceleration_level, const uint_t level)
 Returns the acceleration for level 'targetLevel' given the acceleration 'acceleration_level' on level 'level'.

Function Documentation

◆ levelDependentAcceleration()

Vector3< real_t > walberla::lbm::force_model::levelDependentAcceleration ( const uint_t targetLevel,
const Vector3< real_t > & acceleration_level,
const uint_t level )
inline

Returns the acceleration for level 'targetLevel' given the acceleration 'acceleration_level' on level 'level'.

◆ levelDependentBodyForce()

Vector3< real_t > walberla::lbm::force_model::levelDependentBodyForce ( const uint_t targetLevel,
const Vector3< real_t > & forceDensity_level,
const uint_t level )
inline

Returns the body force density for level 'targetLevel' given the body force density 'forceDensity_level' on level 'level'.