9.1
general documentation
cs_atmo_ground_model.h
Go to the documentation of this file.
1#ifndef CS_ATMO_GROUND_MODEL_H
2#define CS_ATMO_GROUND_MODEL_H
3
4/*============================================================================
5 * Atmospheric ground module - Build constants and variables to describe ground model
6 *============================================================================*/
7
8/*
9 This file is part of code_saturne, a general-purpose CFD tool.
10
11 Copyright (C) 1998-2025 EDF S.A.
12
13 This program is free software; you can redistribute it and/or modify it under
14 the terms of the GNU General Public License as published by the Free Software
15 Foundation; either version 2 of the License, or (at your option) any later
16 version.
17
18 This program is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21 details.
22
23 You should have received a copy of the GNU General Public License along with
24 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
25 Street, Fifth Floor, Boston, MA 02110-1301, USA.
26*/
27
28/*----------------------------------------------------------------------------*/
29
30/*----------------------------------------------------------------------------
31 * Local headers
32 *----------------------------------------------------------------------------*/
33
34#include "base/cs_defs.h"
35
36/*----------------------------------------------------------------------------*/
37
39
42/*============================================================================
43 * Type definitions
44 *============================================================================*/
45
46/*----------------------------------------------------------------------------
47 * Plant model options descriptor
48 *----------------------------------------------------------------------------*/
49
50typedef struct {
162
163/*============================================================================
164 * Static global variables
165 *============================================================================*/
166
167/* Pointer to atmo options structure */
169
170/*============================================================================
171 * Public function definitions
172 *============================================================================*/
173
174/*----------------------------------------------------------------------------*/
178/*----------------------------------------------------------------------------*/
179
180void
182
183/*----------------------------------------------------------------------------*/
190/*----------------------------------------------------------------------------*/
191
192void
193cs_atmo_ground_cat(int call_stage);
194
195/*----------------------------------------------------------------------------*/
199/*----------------------------------------------------------------------------*/
200
201void
202cs_ground_model(void);
203
204/*----------------------------------------------------------------------------*/
205
207
208#endif /* CS_ATMO_GROUND_MODEL_H */
void cs_ground_model(void)
Compute ground and interface values using Deardorff force restore method.
Definition: cs_atmo_ground_model.cpp:1053
void cs_atmo_ground_cat(int call_stage)
Ground - atmosphere parameters computed from a "Land use" file.
Definition: cs_atmo_ground_model.cpp:1689
cs_plant_option_t * cs_glob_plant_option
Definition: cs_atmo_ground_model.cpp:129
void cs_atmo_ground_initialize(void)
Build constants and variables to describe ground model.
Definition: cs_atmo_ground_model.cpp:1650
#define BEGIN_C_DECLS
Definition: cs_defs.h:554
double cs_real_t
Floating-point value.
Definition: cs_defs.h:357
#define END_C_DECLS
Definition: cs_defs.h:555
Definition: cs_atmo_ground_model.h:50
cs_real_t albedo_plant
Definition: cs_atmo_ground_model.h:62
cs_real_t tort_factor
Definition: cs_atmo_ground_model.h:154
cs_real_t a_pho
Definition: cs_atmo_ground_model.h:74
cs_real_t xiv
Definition: cs_atmo_ground_model.h:126
cs_real_t r_root
Definition: cs_atmo_ground_model.h:128
cs_real_t s_vlmax
Definition: cs_atmo_ground_model.h:110
cs_real_t ground_exch_l
Definition: cs_atmo_ground_model.h:156
cs_real_t zos
Definition: cs_atmo_ground_model.h:148
cs_real_t zref_plant
Definition: cs_atmo_ground_model.h:150
cs_real_t psif_psiv
Definition: cs_atmo_ground_model.h:80
cs_real_t psi_e
Definition: cs_atmo_ground_model.h:136
cs_real_t emi_plant
Definition: cs_atmo_ground_model.h:64
cs_real_t knitro
Definition: cs_atmo_ground_model.h:102
cs_real_t canopy_mix_l
Definition: cs_atmo_ground_model.h:142
cs_real_t ea_jlmax
Definition: cs_atmo_ground_model.h:112
cs_real_t dv
Definition: cs_atmo_ground_model.h:160
cs_real_t v_gco2_decr
Definition: cs_atmo_ground_model.h:124
cs_real_t gamma_0
Definition: cs_atmo_ground_model.h:92
cs_real_t turb_prandtl
Definition: cs_atmo_ground_model.h:144
cs_real_t vlmaxref
Definition: cs_atmo_ground_model.h:100
cs_real_t ea_vlmax
Definition: cs_atmo_ground_model.h:106
cs_real_t z_root
Definition: cs_atmo_ground_model.h:130
cs_real_t eao
Definition: cs_atmo_ground_model.h:88
cs_real_t k_ext_coef
Definition: cs_atmo_ground_model.h:60
cs_real_t v_gco2_incr
Definition: cs_atmo_ground_model.h:122
cs_real_t gamma_1
Definition: cs_atmo_ground_model.h:94
int water_potential_model
Definition: cs_atmo_ground_model.h:134
cs_real_t theta_pho
Definition: cs_atmo_ground_model.h:120
cs_real_t ed_jlmax
Definition: cs_atmo_ground_model.h:114
cs_real_t psi_pow
Definition: cs_atmo_ground_model.h:138
cs_real_t dry_ground_porosity
Definition: cs_atmo_ground_model.h:158
cs_real_t gamma_2
Definition: cs_atmo_ground_model.h:96
cs_real_t d_leaf
Definition: cs_atmo_ground_model.h:56
cs_real_t ed_vlmax
Definition: cs_atmo_ground_model.h:108
cs_real_t h_canopy
Definition: cs_atmo_ground_model.h:52
cs_real_t kref
Definition: cs_atmo_ground_model.h:140
cs_real_t k_eddy_hc
Definition: cs_atmo_ground_model.h:152
cs_real_t c_co2_air
Definition: cs_atmo_ground_model.h:66
cs_real_t h_canopy_exch
Definition: cs_atmo_ground_model.h:54
cs_real_t ea_ground
Definition: cs_atmo_ground_model.h:72
cs_real_t g0_pho
Definition: cs_atmo_ground_model.h:76
cs_real_t leaf_area_index
Definition: cs_atmo_ground_model.h:58
cs_real_t sf_psiv
Definition: cs_atmo_ground_model.h:78
cs_real_t s_jlmax
Definition: cs_atmo_ground_model.h:116
cs_real_t oi
Definition: cs_atmo_ground_model.h:82
cs_real_t eac
Definition: cs_atmo_ground_model.h:90
cs_real_t tem_ref_pho
Definition: cs_atmo_ground_model.h:98
cs_real_t alpha_pho
Definition: cs_atmo_ground_model.h:118
cs_real_t f_co2_0_ground
Definition: cs_atmo_ground_model.h:68
cs_real_t ld_root
Definition: cs_atmo_ground_model.h:132
cs_real_t koref
Definition: cs_atmo_ground_model.h:84
cs_real_t cdrag_leaf
Definition: cs_atmo_ground_model.h:146
cs_real_t temp_ref_co2
Definition: cs_atmo_ground_model.h:70
cs_real_t kcref
Definition: cs_atmo_ground_model.h:86
cs_real_t jlmaxref
Definition: cs_atmo_ground_model.h:104