ConstTransport Class Reference

AMR-Wind API: amr_wind::transport::ConstTransport Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches

#include <ConstTransport.H>

Inheritance diagram for amr_wind::transport::ConstTransport:
[legend]
Collaboration diagram for amr_wind::transport::ConstTransport:
[legend]

Public Member Functions

 ConstTransport (CFDSim &sim)
 
 ~ConstTransport () override=default
 
amrex::Real viscosity () const
 
amrex::Real thermal_diffusivity () const
 
amrex::Real laminar_prandtl () const
 
amrex::Real turbulent_prandtl () const
 
std::unique_ptr< ScratchFieldmu () override
 Return the dynamic visocity field.
 
std::unique_ptr< ScratchFieldalpha () override
 Return the thermal diffusivity field.
 
std::unique_ptr< ScratchFieldscalar_diffusivity (const std::string &scalar_name) override
 Scalar diffusivity based on Schmidt number.
 
- Public Member Functions inherited from amr_wind::transport::TransportModel
virtual ~TransportModel ()=default
 

Static Public Member Functions

static std::string identifier ()
 
static amrex::Real laminar_schmidt (const std::string &scalar_name)
 
static amrex::Real turbulent_schmidt (const std::string &scalar_name)
 

Static Public Attributes

static constexpr bool constant_properties = true
 

Private Attributes

FieldRepom_repo
 Reference to the field repository (for creating scratch fields)
 
amrex::Real m_mu {1.0e-5}
 (Laminar) dynamic viscosity
 
amrex::Real m_Pr {1.0}
 Prandtl number.
 
amrex::Real m_Prt {1.0}
 Turbulent Prandtl number.
 

Detailed Description

Fluid transport model with constant properties

Constructor & Destructor Documentation

◆ ConstTransport()

amr_wind::transport::ConstTransport::ConstTransport ( CFDSim & sim)
inlineexplicit

◆ ~ConstTransport()

amr_wind::transport::ConstTransport::~ConstTransport ( )
overridedefault

Member Function Documentation

◆ alpha()

std::unique_ptr< ScratchField > amr_wind::transport::ConstTransport::alpha ( )
inlineoverridevirtual

Return the thermal diffusivity field.

Implements amr_wind::transport::TransportModel.

◆ identifier()

static std::string amr_wind::transport::ConstTransport::identifier ( )
inlinestatic

◆ laminar_prandtl()

amrex::Real amr_wind::transport::ConstTransport::laminar_prandtl ( ) const
inline

◆ laminar_schmidt()

static amrex::Real amr_wind::transport::ConstTransport::laminar_schmidt ( const std::string & scalar_name)
inlinestatic

◆ mu()

std::unique_ptr< ScratchField > amr_wind::transport::ConstTransport::mu ( )
inlineoverridevirtual

Return the dynamic visocity field.

Implements amr_wind::transport::TransportModel.

◆ scalar_diffusivity()

std::unique_ptr< ScratchField > amr_wind::transport::ConstTransport::scalar_diffusivity ( const std::string & scalar_name)
inlineoverridevirtual

Scalar diffusivity based on Schmidt number.

Implements amr_wind::transport::TransportModel.

◆ thermal_diffusivity()

amrex::Real amr_wind::transport::ConstTransport::thermal_diffusivity ( ) const
inline

◆ turbulent_prandtl()

amrex::Real amr_wind::transport::ConstTransport::turbulent_prandtl ( ) const
inline

◆ turbulent_schmidt()

static amrex::Real amr_wind::transport::ConstTransport::turbulent_schmidt ( const std::string & scalar_name)
inlinestatic

◆ viscosity()

amrex::Real amr_wind::transport::ConstTransport::viscosity ( ) const
inline

Member Data Documentation

◆ constant_properties

bool amr_wind::transport::ConstTransport::constant_properties = true
staticconstexpr

◆ m_mu

amrex::Real amr_wind::transport::ConstTransport::m_mu {1.0e-5}
private

(Laminar) dynamic viscosity

◆ m_Pr

amrex::Real amr_wind::transport::ConstTransport::m_Pr {1.0}
private

Prandtl number.

◆ m_Prt

amrex::Real amr_wind::transport::ConstTransport::m_Prt {1.0}
private

Turbulent Prandtl number.

◆ m_repo

FieldRepo& amr_wind::transport::ConstTransport::m_repo
private

Reference to the field repository (for creating scratch fields)


The documentation for this class was generated from the following file:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/transport_models/ConstTransport.H