OpenLB 1.7
|
Collection of common computations for LBM. More...
#include <lbm.h>
Static Public Member Functions | |
template<typename CELL , typename V = typename CELL::value_t> | |
static V | computeRho (CELL &cell) any_platform |
Computation of density. | |
template<typename CELL , typename J , typename V = typename CELL::value_t> | |
static void | computeJ (CELL &cell, J &j) any_platform |
Computation of momentum. | |
template<typename CELL , typename RHO , typename J , typename V = typename CELL::value_t> | |
static void | computeRhoJ (CELL &cell, RHO &rho, J &j) any_platform |
Computation of hydrodynamic variables. | |
template<typename CELL , typename RHO , typename U , typename V = typename CELL::value_t> | |
static void | computeRhoU (CELL &cell, RHO &rho, U &u) any_platform |
Computation of hydrodynamic variables. | |
template<typename CELL , typename RHO , typename U , typename PI , typename V = typename CELL::value_t> | |
static void | computeStress (CELL &cell, const RHO &rho, const U &u, PI &pi) any_platform |
Computation of stress tensor. | |
template<typename CELL , typename RHO , typename U , typename PI , typename V = typename CELL::value_t> | |
static void | computeAllMomenta (CELL &cell, RHO &rho, U &u, PI &pi) any_platform |
Computation of all hydrodynamic variables. | |
template<typename CELL , typename FEQ , typename V = typename CELL::value_t> | |
static void | computeFeq (CELL &cell, FEQ &fEq) any_platform |
template<typename CELL , typename FNEQ , typename RHO , typename U , typename V = typename CELL::value_t> | |
static void | computeFneq (CELL &cell, FNEQ &fNeq, const RHO &rho, const U &u) any_platform |
Computation of non-equilibrium distribution. | |
template<typename CELL , typename FNEQ , typename V = typename CELL::value_t> | |
static void | computeFneq (CELL &cell, FNEQ &fNeq) any_platform |
template<typename CELL , typename RHO , typename VELOCITY , typename OMEGA , typename V = typename CELL::value_t> | |
static V | bgkCollision (CELL &cell, const RHO &rho, const VELOCITY &u, const OMEGA &omega) any_platform |
BGK collision step. | |
template<typename CELL , typename RHO , typename VELOCITY , typename OMEGA , typename V = typename CELL::value_t> | |
static V | adeBgkCollision (CELL &cell, const RHO &rho, const VELOCITY &u, const OMEGA &omega) any_platform |
Advection diffusion BGK collision step. | |
template<typename CELL , typename PRESSURE , typename J , typename OMEGA , typename V = typename CELL::value_t> | |
static V | incBgkCollision (CELL &cell, const PRESSURE &pressure, const J &j, const OMEGA &omega) any_platform |
Incompressible BGK collision step. | |
template<typename CELL , typename RHO , typename U , typename RATIORHO , typename OMEGA , typename V = typename CELL::value_t> | |
static V | constRhoBgkCollision (CELL &cell, const RHO &rho, const U &u, const RATIORHO &ratioRho, const OMEGA &omega) any_platform |
BGK collision step with density correction. | |
template<typename CELL , typename RHO , typename U , typename OMEGA , typename V = typename CELL::value_t> | |
static V | rlbCollision (CELL &cell, const RHO &rho, const U &u, const OMEGA &omega) any_platform |
RLB advection diffusion collision step. | |
template<typename CELL , typename RHO , typename U , typename PI , typename OMEGA , typename V = typename CELL::value_t> | |
static V | rlbCollision (CELL &cell, const RHO &rho, const U &u, const PI &pi, const OMEGA &omega) any_platform |
Renormalized DESCRIPTOR Boltzmann collision operator, fIn --> fOut. | |
template<typename CELL , typename NEWRHO , typename NEWU , typename V = typename CELL::value_t> | |
static void | defineEqFirstOrder (CELL &cell, const NEWRHO &newRho, const NEWU &newU) any_platform |
template<typename CELL , typename OLDRHO , typename OLDU , typename NEWRHO , typename NEWU , typename V = typename CELL::value_t> | |
static void | defineNEq (CELL &cell, const OLDRHO &oldRho, const OLDU &oldU, const NEWRHO &newRho, const NEWU &newU) any_platform |
template<typename CELL , typename RHO , typename U , typename PI , typename V = typename CELL::value_t> | |
static void | defineNEqFromPi (CELL &cell, const RHO &rho, const U &u, const PI &pi) any_platform |
template<typename CELL , typename FORCE , typename V = typename CELL::value_t> | |
static V | computePiNeqNormSqr (CELL &cell, const FORCE &force) any_platform |
Computes squared norm of non-equilibrium part of 2nd momentum for forced dynamics. | |
template<typename CELL , typename V = typename CELL::value_t> | |
static V | computePiNeqNormSqr (CELL &cell) any_platform |
Computes squared norm of non-equilibrium part of 2nd momentum for standard (non-forced) dynamics. | |
template<typename CELL , typename RHO , typename U , typename OMEGA , typename FORCE , typename V = typename CELL::value_t> | |
static void | addExternalForce (CELL &cell, const RHO &rho, const U &u, const OMEGA &omega, const FORCE &force) any_platform |
Add a force term after BGK collision. | |
Collection of common computations for LBM.
|
inlinestatic |
Add a force term after BGK collision.
Definition at line 463 of file lbm.h.
|
inlinestatic |
Advection diffusion BGK collision step.
Definition at line 302 of file lbm.h.
References olb::equilibrium< DESCRIPTOR >::firstOrder().
|
inlinestatic |
BGK collision step.
Definition at line 290 of file lbm.h.
References olb::equilibrium< DESCRIPTOR >::secondOrder().
|
inlinestatic |
Computation of all hydrodynamic variables.
Definition at line 251 of file lbm.h.
References olb::lbm< DESCRIPTOR >::computeRhoU(), and olb::lbm< DESCRIPTOR >::computeStress().
|
inlinestatic |
Definition at line 258 of file lbm.h.
References olb::lbm< DESCRIPTOR >::computeRhoU(), and olb::equilibrium< DESCRIPTOR >::secondOrder().
|
inlinestatic |
Definition at line 280 of file lbm.h.
References olb::lbm< DESCRIPTOR >::computeFneq(), and olb::lbm< DESCRIPTOR >::computeRhoU().
|
inlinestatic |
Computation of non-equilibrium distribution.
Definition at line 271 of file lbm.h.
References olb::equilibrium< DESCRIPTOR >::secondOrder().
|
inlinestatic |
Computation of momentum.
Definition at line 197 of file lbm.h.
|
inlinestatic |
Computes squared norm of non-equilibrium part of 2nd momentum for standard (non-forced) dynamics.
Definition at line 450 of file lbm.h.
References olb::lbm< DESCRIPTOR >::computeAllMomenta().
|
inlinestatic |
Computes squared norm of non-equilibrium part of 2nd momentum for forced dynamics.
Definition at line 424 of file lbm.h.
References olb::lbm< DESCRIPTOR >::computeAllMomenta().
|
inlinestatic |
|
inlinestatic |
Computation of hydrodynamic variables.
Definition at line 211 of file lbm.h.
References olb::lbm< DESCRIPTOR >::computeJ(), and olb::lbm< DESCRIPTOR >::computeRho().
|
inlinestatic |
Computation of hydrodynamic variables.
Definition at line 219 of file lbm.h.
References olb::lbm< DESCRIPTOR >::computeRhoJ().
|
inlinestatic |
Computation of stress tensor.
Definition at line 229 of file lbm.h.
|
inlinestatic |
BGK collision step with density correction.
Definition at line 326 of file lbm.h.
References olb::equilibrium< DESCRIPTOR >::secondOrder().
|
inlinestatic |
Definition at line 389 of file lbm.h.
References olb::equilibrium< DESCRIPTOR >::firstOrder().
|
inlinestatic |
Definition at line 397 of file lbm.h.
References olb::equilibrium< DESCRIPTOR >::secondOrder().
|
inlinestatic |
Definition at line 410 of file lbm.h.
References olb::equilibrium< DESCRIPTOR >::secondOrder().
|
inlinestatic |
Incompressible BGK collision step.
Definition at line 314 of file lbm.h.
|
inlinestatic |
RLB advection diffusion collision step.
Definition at line 341 of file lbm.h.
References olb::equilibrium< DESCRIPTOR >::firstOrder().
|
inlinestatic |
Renormalized DESCRIPTOR Boltzmann collision operator, fIn --> fOut.
Definition at line 372 of file lbm.h.
References olb::equilibrium< DESCRIPTOR >::secondOrder().