ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ib_wall::WallCond Struct Reference

#include <ERF_ImmersedWallCell.H>

Collaboration diagram for ib_wall::WallCond:

Public Attributes

int type {neutral}
 
amrex::Real q {0.0}
 
amrex::Real theta_s {0.0}
 
amrex::Real Linv {0.0}
 
similarity_funs sfuns {}
 the similarity functions (erf.most.stable_functions) More...
 
int moist_type {moist_none}
 
amrex::Real qflux {0.0}
 
amrex::Real q_s {0.0}
 
bool moist {false}
 

Static Public Attributes

static constexpr int neutral = 0
 no heat exchange, neutral stability functions More...
 
static constexpr int heat_flux = 1
 given kinematic surface heat flux q [K m/s] More...
 
static constexpr int surface_temp = 2
 given surface potential temperature theta_s [K] More...
 
static constexpr int obukhov = 3
 given Obukhov length (inverse Linv) [1/m] More...
 
static constexpr int moist_none = 0
 no moisture exchange, q* = 0 More...
 
static constexpr int moist_flux = 1
 given kinematic surface moisture flux [kg/kg m/s] More...
 
static constexpr int surface_moist = 2
 given surface mixing ratio q_s [kg/kg] More...
 

Detailed Description

Surface condition of the fraction-stress law (erf.if_* inputs of the terrain immersed forcing)

Member Data Documentation

◆ heat_flux

constexpr int ib_wall::WallCond::heat_flux = 1
staticconstexpr

given kinematic surface heat flux q [K m/s]

Referenced by make_wall_cond(), and ib_wall::wall_state().

◆ Linv

amrex::Real ib_wall::WallCond::Linv {0.0}

Referenced by make_wall_cond().

◆ moist

bool ib_wall::WallCond::moist {false}

a moisture model is active: the Obukhov length is formed from the virtual potential temperature and its scale theta_v*, as the flat surface layer forms it

Referenced by ImmersedForcingTerrain_HorizMom_FractionStress(), ImmersedForcingTerrain_Scalar_FractionStress(), and make_wall_cond().

◆ moist_flux

constexpr int ib_wall::WallCond::moist_flux = 1
staticconstexpr

given kinematic surface moisture flux [kg/kg m/s]

Referenced by make_wall_cond(), and ib_wall::wall_state().

◆ moist_none

constexpr int ib_wall::WallCond::moist_none = 0
staticconstexpr

no moisture exchange, q* = 0

Referenced by ImmersedForcingTerrain_Scalar_FractionStress(), and ib_wall::wall_state().

◆ moist_type

int ib_wall::WallCond::moist_type {moist_none}

◆ neutral

constexpr int ib_wall::WallCond::neutral = 0
staticconstexpr

no heat exchange, neutral stability functions

◆ obukhov

constexpr int ib_wall::WallCond::obukhov = 3
staticconstexpr

given Obukhov length (inverse Linv) [1/m]

Referenced by make_wall_cond(), and ib_wall::wall_state().

◆ q

amrex::Real ib_wall::WallCond::q {0.0}

Referenced by make_wall_cond().

◆ q_s

amrex::Real ib_wall::WallCond::q_s {0.0}

Referenced by make_wall_cond().

◆ qflux

amrex::Real ib_wall::WallCond::qflux {0.0}

Referenced by make_wall_cond().

◆ sfuns

similarity_funs ib_wall::WallCond::sfuns {}

the similarity functions (erf.most.stable_functions)

Referenced by make_wall_cond().

◆ surface_moist

constexpr int ib_wall::WallCond::surface_moist = 2
staticconstexpr

given surface mixing ratio q_s [kg/kg]

Referenced by make_wall_cond(), ib_wall::moist_source(), and ib_wall::wall_state().

◆ surface_temp

constexpr int ib_wall::WallCond::surface_temp = 2
staticconstexpr

given surface potential temperature theta_s [K]

Referenced by ib_wall::heat_source(), make_wall_cond(), and ib_wall::wall_state().

◆ theta_s

amrex::Real ib_wall::WallCond::theta_s {0.0}

Referenced by make_wall_cond().

◆ type

int ib_wall::WallCond::type {neutral}

Referenced by make_wall_cond().


The documentation for this struct was generated from the following file: