class
VelocityCoeffHydroTimeScaleContents
Velocity equation coefficients policy with DNS hydrodynamics time scale
Public static functions
-
static auto type() -> ctr::
CoeffPolicyType noexcept - Coefficients policy type accessor.
Constructors, destructors, conversion operators
-
VelocityCoeffHydroTimeScale(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,
const std::map<tk::
ctr:: Product, tk:: real>& moments, const tk:: Table<1>& hts, ctr:: DepvarType solve, ctr:: VelocityVariantType, kw::sde_c0::info::expect::type C0, tk:: real t, tk:: real& eps, std::array<tk:: real, 9>& G) const - Update the model coefficients sampling the hydrodynamics time scale from a prescribed function table.
Function documentation
walker:: VelocityCoeffHydroTimeScale:: VelocityCoeffHydroTimeScale(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:: VelocityCoeffHydroTimeScale:: update(char depvar,
char,
const std::map<tk:: ctr:: Product, tk:: real>& moments,
const tk:: Table<1>& hts,
ctr:: DepvarType solve,
ctr:: VelocityVariantType,
kw::sde_c0::info::expect::type C0,
tk:: real t,
tk:: real& eps,
std::array<tk:: real, 9>& G) const
Update the model coefficients sampling the hydrodynamics time scale from a prescribed function table.
Parameters | |
---|---|
depvar in | Dependent variable for of this SDE |
moments in | Map of statistical moments |
hts in | Table to take hydrodynamics time scale from |
solve in | Configured dependent variable to solve for |
C0 in | Coefficient C0 in the Langevin model |
t in | Physical time to sample hydrodynamics time scale at |
eps in/out | Dissipation rate of turbulent kinetic energy |
G in/out | Coefficient tensor (3x3) in the Langevin equation |
Update the dissipation rate (eps) based on eps/k (from DNS) and the turbulent kinetic energy (k) (from the SDE)