/home/runner/work/amr-wind/amr-wind/amr-wind/turbulence/TurbModelBase.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
TurbModelBase.H
Go to the documentation of this file.
Definition CFDSim.H:47
Definition Field.H:116
void set_default_fillpatch_bc(const SimTime &time, const amrex::BCType::mathematicalBndryTypes bctype=amrex::BCType::hoextrap) noexcept
Definition Field.cpp:377
int num_comp() const
Number of components for this field.
Definition Field.H:134
void setVal(amrex::Real value) noexcept
Set the field to a constant value at all levels.
Definition Field.cpp:343
Definition TurbModelBase.H:96
Field & alpha_turb() override
Return the turbulent thermal diffusivity field.
Definition TurbModelBase.H:121
Field & mu_turb() override
Return the turbulent viscosity field.
Definition TurbModelBase.H:118
Field * m_alpha_turb
Reference to thermal diffusivity field.
Definition TurbModelBase.H:164
void update_alphaeff(Field &alphaeff) override
Definition TurbModelBase.H:146
TurbModelBase(CFDSim &sim)
Definition TurbModelBase.H:98
void update_scalar_diff(Field &deff, const std::string &name) override
Interface to update scalar diffusivity based on Schmidt number.
Definition TurbModelBase.H:152
void update_mueff(Field &mueff) override
Definition TurbModelBase.H:135
Field & m_mu_turb
Reference to the turbulent viscosity field.
Definition TurbModelBase.H:161
Definition TurbModel.H:18
Field & mueff() override
Return the effective dynamic viscosity field.
Definition TurbModel.H:47
Field & alphaeff() override
Return the effective thermal diffusivity field.
Definition TurbModel.H:53
Transport m_transport
Transport properties instance.
Definition TurbModel.H:63
void saxpy(T1 &dst, const amrex::Real a, const T2 &src, const int srccomp, const int dstcomp, const int numcomp, const amrex::IntVect &nghost)
Definition field_ops.H:202
void lincomb(T1 &dst, const amrex::Real a, const T2 &x, const int xcomp, const amrex::Real b, const T3 &y, const int ycomp, const int dstcomp, const int numcomp, const amrex::IntVect &nghost)
Definition field_ops.H:317
void visc_update(Field &evisc, Field &tvisc, Transport &transport)
Definition TurbModelBase.H:18
void alpha_update(Field &evisc, Field &tvisc, Transport &transport)
Definition TurbModelBase.H:28
void scal_diff_update(Field &evisc, Field &tvisc, Transport &transport, const std::string &name)
Definition TurbModelBase.H:39
Definition CFDSim.H:23
Generated by 1.12.0