walker::VelocityCoeffConstShear class

Velocity equation coefficients policy with prescribed mean shear

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)
Constructor: initialize coefficients.

Public functions

void update(char depvar, char dissipation_depvar, const std::map<tk::ctr::Product, tk::real>& moments, const tk::Table<1>&, 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.

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)

Constructor: initialize coefficients.

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 gradient

void walker::VelocityCoeffConstShear::update(char depvar, char dissipation_depvar, const std::map<tk::ctr::Product, tk::real>& moments, const tk::Table<1>&, 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.

Parameters
depvar in Dependent variable for of this SDE
dissipation_depvar in Dependent variable for coupled dissipation eq
moments in Map of statistical moments
solve in Configured dependent variable to solve for
variant in Velocity model variant configured
C0 in Coefficient C0 in the Langevin model
eps in/out Dissipation rate of turbulent kinetic energy
in/out Coefficient tensor (3x3) in the Langevin equation

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