walker::VelocityCoeffConstShear class

Velocity equation coefficients policy with prescribed mean shear

C0 is user-defined and we prescibe a hard-coded mean shear in the x direction

Public static functions

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

Constructors, destructors, conversion operators

VelocityCoeffConstShear(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 dissipation_depvar, 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::VelocityCoeffConstShear::VelocityCoeffConstShear(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::VelocityCoeffConstShear::update(char depvar, char dissipation_depvar, 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.