/home/runner/work/amr-wind/amr-wind/amr-wind/turbulence/TurbulenceModel.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
TurbulenceModel.H
Go to the documentation of this file.
Definition Field.H:116
Definition TurbulenceModel.H:32
static std::string base_identifier()
Definition TurbulenceModel.H:37
virtual void post_advance_work()=0
Do any post advance actions for the turbulence model.
virtual Field & mu_turb()=0
Return the turbulent dynamic viscosity field.
virtual bool is_turbulent() const
Flag indicating whether the model is turbulent.
Definition TurbulenceModel.H:90
virtual Field & alpha_turb()=0
Return the turbulent dynamic viscosity field.
virtual void register_alphaeff_field(Field &alphaeff)=0
Register the thermal diffusivity field.
virtual std::unique_ptr< ScratchField > scalar_diffusivity(const std::string &name)=0
Return the scalar diffusivity field.
~TurbulenceModel() override=default
virtual CoeffsDictType model_coeffs() const =0
Return model coefficients dictionary.
virtual std::unique_ptr< ScratchField > alpha()=0
Return the thermal diffusivity (laminar) field for enthalpy/temperature.
virtual void parse_model_coeffs()=0
Parse turbulence model coefficients.
virtual void register_mueff_field(Field &mueff)=0
Register the effective viscosity (for momentum field)
virtual std::unique_ptr< ScratchField > mu()=0
Return the dynamic viscosity (laminar) field.
virtual void update_mueff(Field &mueff)=0
virtual Field & mueff()=0
Return the effective dynamic viscosity field.
virtual std::string model_name() const =0
String representation of this turbulence model for I/O.
virtual void update_turbulent_viscosity(const FieldState fstate, const DiffusionType diff_type)=0
virtual Field & alphaeff()=0
Return the effective thermal diffusivity field.
virtual void update_alphaeff(Field &alphaeff)=0
Interface to update effective thermal diffusivity.
virtual void update_scalar_diff(Field &deff, const std::string &name)=0
Interface to update scalar diffusivity based on Schmidt number.
std::unordered_map< std::string, amrex::Real > CoeffsDictType
Default identifier used by factor methods.
Definition TurbulenceModel.H:35
Definition BCInterface.cpp:7
Definition Factory.H:65
Generated by 1.12.0