OneEqKsgs< Transport > Class Template Reference

AMR-Wind API: amr_wind::turbulence::OneEqKsgs< Transport > Class Template Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::turbulence::OneEqKsgs< Transport > Class Template Reference

#include <OneEqKsgs.H>

Inheritance diagram for amr_wind::turbulence::OneEqKsgs< Transport >:
[legend]
Collaboration diagram for amr_wind::turbulence::OneEqKsgs< Transport >:
[legend]

Public Member Functions

 OneEqKsgs (CFDSim &sim)
 
 ~OneEqKsgs () override
 
- Public Member Functions inherited from amr_wind::turbulence::TurbModelBase< Transport >
 TurbModelBase (CFDSim &sim)
 
Fieldmu_turb () override
 Return the turbulent viscosity field.
 
Fieldalpha_turb () override
 Return the turbulent thermal diffusivity field.
 
void update_mueff (Field &mueff) override
 
void update_alphaeff (Field &alphaeff) override
 
void update_scalar_diff (Field &deff, const std::string &name) override
 Interface to update scalar diffusivity based on Schmidt number.
 
- Public Member Functions inherited from amr_wind::turbulence::TurbModel< Transport >
 TurbModel (CFDSim &sim)
 
void register_mueff_field (Field &mueff) override
 Register the effective viscosity (for momentum field)
 
void register_alphaeff_field (Field &alphaeff) override
 Register the thermal diffusivity field.
 
std::unique_ptr< ScratchFieldmu () override
 Return the dynamic viscosity field.
 
std::unique_ptr< ScratchFieldalpha () override
 Return the thermal diffusivity field.
 
std::unique_ptr< ScratchFieldscalar_diffusivity (const std::string &name) override
 Return the scalar diffusivity field.
 
Fieldmueff () override
 Return the effective dynamic viscosity field.
 
Fieldalphaeff () override
 Return the effective thermal diffusivity field.
 
- Public Member Functions inherited from amr_wind::turbulence::TurbulenceModel
 ~TurbulenceModel () override=default
 
virtual void update_turbulent_viscosity (const FieldState fstate, const DiffusionType diff_type)=0
 
virtual void post_advance_work ()=0
 Do any post advance actions for the turbulence model.
 
virtual std::string model_name () const =0
 String representation of this turbulence model for I/O.
 
virtual bool is_turbulent () const
 Flag indicating whether the model is turbulent.
 
virtual void parse_model_coeffs ()=0
 Parse turbulence model coefficients.
 
virtual CoeffsDictType model_coeffs () const =0
 Return model coefficients dictionary.
 
- Public Member Functions inherited from amr_wind::Factory< TurbulenceModel, CFDSim & >
virtual ~Factory ()=default
 

Protected Attributes

Fieldm_vel
 
Fieldm_turb_lscale
 
Fieldm_shear_prod
 
Fieldm_buoy_prod
 
Fieldm_dissip
 
Fieldm_rho
 
Fieldm_tke {nullptr}
 
amrex::Real m_Ce {0.1}
 Turbulence constant.
 
amrex::Real m_Ceps {0.93}
 
- Protected Attributes inherited from amr_wind::turbulence::TurbModelBase< Transport >
Fieldm_mu_turb
 Reference to the turbulent viscosity field.
 
Fieldm_alpha_turb {nullptr}
 Reference to thermal diffusivity field.
 
- Protected Attributes inherited from amr_wind::turbulence::TurbModel< Transport >
CFDSimm_sim
 
Transport m_transport
 Transport properties instance.
 
Fieldm_mueff {nullptr}
 Reference to the effective viscosity field.
 
Fieldm_alphaeff {nullptr}
 Reference to the thermal diffusivity field.
 

Additional Inherited Members

- Public Types inherited from amr_wind::turbulence::TurbModel< Transport >
using TransportType = Transport
 
- Public Types inherited from amr_wind::turbulence::TurbulenceModel
using CoeffsDictType = std::unordered_map<std::string, amrex::Real>
 Default identifier used by factor methods.
 
- Static Public Member Functions inherited from amr_wind::turbulence::TurbulenceModel
static std::string base_identifier ()
 
- Static Public Member Functions inherited from amr_wind::Factory< TurbulenceModel, CFDSim & >
static std::unique_ptr< TurbulenceModel > create (const std::string &key, Args... args)
 
static void print (std::ostream &os)
 
- Public Attributes inherited from amr_wind::Factory< TurbulenceModel, CFDSim & >
friend Base
 

Detailed Description

template<typename Transport>
class amr_wind::turbulence::OneEqKsgs< Transport >

Base class for 1-Equation subgrid scale TKE turbulence model

Constructor & Destructor Documentation

◆ OneEqKsgs()

template<typename Transport >
amr_wind::turbulence::OneEqKsgs< Transport >::OneEqKsgs ( CFDSim & sim)
explicit

◆ ~OneEqKsgs()

template<typename Transport >
amr_wind::turbulence::OneEqKsgs< Transport >::~OneEqKsgs ( )
overridedefault

Member Data Documentation

◆ m_buoy_prod

template<typename Transport >
Field& amr_wind::turbulence::OneEqKsgs< Transport >::m_buoy_prod
protected

◆ m_Ce

template<typename Transport >
amrex::Real amr_wind::turbulence::OneEqKsgs< Transport >::m_Ce {0.1}
protected

Turbulence constant.

◆ m_Ceps

template<typename Transport >
amrex::Real amr_wind::turbulence::OneEqKsgs< Transport >::m_Ceps {0.93}
protected

◆ m_dissip

template<typename Transport >
Field& amr_wind::turbulence::OneEqKsgs< Transport >::m_dissip
protected

◆ m_rho

template<typename Transport >
Field& amr_wind::turbulence::OneEqKsgs< Transport >::m_rho
protected

◆ m_shear_prod

template<typename Transport >
Field& amr_wind::turbulence::OneEqKsgs< Transport >::m_shear_prod
protected

◆ m_tke

template<typename Transport >
Field* amr_wind::turbulence::OneEqKsgs< Transport >::m_tke {nullptr}
protected

◆ m_turb_lscale

template<typename Transport >
Field& amr_wind::turbulence::OneEqKsgs< Transport >::m_turb_lscale
protected

◆ m_vel

template<typename Transport >
Field& amr_wind::turbulence::OneEqKsgs< Transport >::m_vel
protected

The documentation for this class was generated from the following files:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/turbulence/LES/OneEqKsgs.H
  • /home/runner/work/amr-wind/amr-wind/amr-wind/turbulence/LES/OneEqKsgs.cpp