walker::VelocityCoeffStationary class

Velocity equation coefficients policy yielding a statistically stationary state.

Public static functions

static auto type() -> ctr::CoeffPolicyType noexcept
Coefficients policy type accessor.

Constructors, destructors, conversion operators

VelocityCoeffStationary(kw::sde_c0::info::expect::type C0_, kw::sde_c0::info::expect::type& C0, std::array<tk::real, 9>& dU)

Public functions

void update(char depvar, char, const std::map<tk::ctr::Product, tk::real>& moments, const tk::Table&, ctr::DepvarType solve, ctr::VelocityVariantType variant, kw::sde_c0::info::expect::type C0, tk::real, tk::real& eps, std::array<tk::real, 9>& G) const

Function documentation

walker::VelocityCoeffStationary::VelocityCoeffStationary(kw::sde_c0::info::expect::type C0_, kw::sde_c0::info::expect::type& C0, std::array<tk::real, 9>& dU)

Parameters
C0_ in Value of C0 parameter in the Langevin model
C0 in/out Value of to set the C0 parameter in the Langevin model
dU in/out Prescribed mean velocity gradient1

Constructor: initialize coefficients

void walker::VelocityCoeffStationary::update(char depvar, char, const std::map<tk::ctr::Product, tk::real>& moments, const tk::Table&, ctr::DepvarType solve, ctr::VelocityVariantType variant, kw::sde_c0::info::expect::type C0, tk::real, tk::real& eps, std::array<tk::real, 9>& G) const

Update the model coefficients (prescribing shear)

Update the dissipation rate (eps) and G_{ij} based on the turbulent kinetic energy (k) for a prescribed honmogeneous shear flow.