9.1
general documentation
cs_atmo_ground_model.cpp File Reference
+ Include dependency graph for cs_atmo_ground_model.cpp:

Functions

static void _ground_model_variable_init (void)
 Initialize ground model variables. More...
 
static void cs_ground_compute_mean (void)
 Compute mean values. More...
 
static void _compute_convective_exch_resistances (cs_lnum_t face_id, cs_lnum_t ground_id)
 Ground Plant Atmo Continuum model - compute plant and ground convective exchange resistances. More...
 
static void _compute_water_stress (cs_lnum_t ground_id)
 Ground Plant Atmo Continuum model - compute water stress. More...
 
static void _compute_stomatal_conductance (cs_lnum_t ground_id, cs_real_t photo_active_rad, cs_real_t air_leaf_temp, cs_real_t ps, cs_real_t dtref)
 Ground Plant Atmo Continuum model - compute stomatal conductance. More...
 
static void _compute_le_h_and_leaf_temp (cs_lnum_t ground_id, cs_real_t rsh2o, cs_real_t air_leaf_temp, cs_real_t pvsat_dewpoint, cs_real_t wv_molar_mass, cs_real_t rho_moist_air, cs_real_t cp_moist_air, cs_real_t rn_thermal_atm_plant, cs_real_t rn_thermal_ground_plant)
 Ground Plant Atmo Continuum model - compute energy exchanges and plant temperature. More...
 
static void _compute_plant_to_air_source_terms (cs_lnum_t ground_id, cs_real_t dtref, cs_real_t dz_max, cs_real_t rho_moist_air)
 Ground Plant Atmo Continuum model - compute source term plant and ground to air. More...
 
void cs_ground_model (void)
 Deardorff force restore model. More...
 
void cs_atmo_ground_initialize (void)
 Build constants and variables to describe ground model. More...
 
void cs_atmo_ground_cat (int call_stage)
 Ground - atmosphere parameters computed from a "Land use" file. More...
 

Variables

static cs_plant_option_t _plant_option
 
cs_plant_option_tcs_glob_plant_option = &_plant_option
 

Function Documentation

◆ _compute_convective_exch_resistances()

static void _compute_convective_exch_resistances ( cs_lnum_t  face_id,
cs_lnum_t  ground_id 
)
static

Ground Plant Atmo Continuum model - compute plant and ground convective exchange resistances.

Parameters
[in]face_idand ground_id.

◆ _compute_le_h_and_leaf_temp()

static void _compute_le_h_and_leaf_temp ( cs_lnum_t  ground_id,
cs_real_t  rsh2o,
cs_real_t  air_leaf_temp,
cs_real_t  pvsat_dewpoint,
cs_real_t  wv_molar_mass,
cs_real_t  rho_moist_air,
cs_real_t  cp_moist_air,
cs_real_t  rn_thermal_atm_plant,
cs_real_t  rn_thermal_ground_plant 
)
static

Ground Plant Atmo Continuum model - compute energy exchanges and plant temperature.

Parameters
[in]face_idand ground_id.

◆ _compute_plant_to_air_source_terms()

static void _compute_plant_to_air_source_terms ( cs_lnum_t  ground_id,
cs_real_t  dtref,
cs_real_t  dz_max,
cs_real_t  rho_moist_air 
)
static

Ground Plant Atmo Continuum model - compute source term plant and ground to air.

Parameters
[in]face_idand ground_id.

◆ _compute_stomatal_conductance()

static void _compute_stomatal_conductance ( cs_lnum_t  ground_id,
cs_real_t  photo_active_rad,
cs_real_t  air_leaf_temp,
cs_real_t  ps,
cs_real_t  dtref 
)
static

Ground Plant Atmo Continuum model - compute stomatal conductance.

Parameters
[in]face_idand ground_id.

◆ _compute_water_stress()

static void _compute_water_stress ( cs_lnum_t  ground_id)
static

Ground Plant Atmo Continuum model - compute water stress.

Parameters
[in]face_idand ground_id.

◆ _ground_model_variable_init()

static void _ground_model_variable_init ( void  )
static

Initialize ground model variables.

◆ cs_atmo_ground_cat()

void cs_atmo_ground_cat ( int  call_stage)

Ground - atmosphere parameters computed from a "Land use" file.

Parameters
[in]call_stagefirst pass to set default values, second pass to perform some checks and log

◆ cs_atmo_ground_initialize()

void cs_atmo_ground_initialize ( void  )

Build constants and variables to describe ground model.

◆ cs_ground_compute_mean()

static void cs_ground_compute_mean ( void  )
static

Compute mean values.

◆ cs_ground_model()

void cs_ground_model ( void  )

Deardorff force restore model.

Compute ground and interface values using Deardorff force restore method.

Variable Documentation

◆ _plant_option

cs_plant_option_t _plant_option
static

◆ cs_glob_plant_option

cs_plant_option_t* cs_glob_plant_option = &_plant_option