 |
6.3
general documentation
|
|
Go to the documentation of this file. 1 #ifndef __CS_GWF_SOIL_H__
2 #define __CS_GWF_SOIL_H__
cs_real_33_t saturated_permeability
Definition: cs_gwf_soil.h:153
@ CS_GWF_SOIL_N_HYDRAULIC_MODELS
Definition: cs_gwf_soil.h:108
int id
Definition: cs_gwf_soil.h:169
@ CS_GWF_SOIL_GENUCHTEN
Definition: cs_gwf_soil.h:103
double bulk_density
Definition: cs_gwf_soil.h:151
double m
Definition: cs_gwf_soil.h:127
@ rho
Definition: cs_field_pointer.h:103
double n
Definition: cs_gwf_soil.h:126
Definition: cs_gwf_soil.h:167
#define END_C_DECLS
Definition: cs_defs.h:493
void() cs_gwf_soil_finalize_t(void *input)
Generic function to set free the input of a soil structure.
Definition: cs_gwf_soil.h:89
double cs_real_t
Floating-point value.
Definition: cs_defs.h:304
void cs_gwf_set_user_soil(cs_gwf_soil_t *soil, void *input, cs_gwf_soil_update_t *update_func, cs_gwf_soil_finalize_t *free_func)
Set a soil defined by a user-defined hydraulic model and attached to an anisotropic permeability.
Definition: cs_gwf_soil.c:773
cs_gwf_soil_hydraulic_model_t model
Definition: cs_gwf_soil.h:174
int zone_id
Definition: cs_gwf_soil.h:170
#define BEGIN_C_DECLS
Definition: cs_defs.h:492
void cs_gwf_set_aniso_genuchten_soil(cs_gwf_soil_t *soil, double *k_s, double theta_s, double theta_r, double rho)
Set a soil defined by a Van Genuchten hydraulic model and attached to an anisotropic permeability.
Definition: cs_gwf_soil.c:727
void cs_gwf_soil_set_all_saturated(cs_property_t *permeability, cs_property_t *moisture_content, cs_field_t *moisture_field)
Set the properties of the groundwater flow module all soils are considered as saturated.
Definition: cs_gwf_soil.c:802
cs_gwf_soil_t * cs_gwf_soil_by_name(const char *name)
Retrieve a soil structure from its name.
Definition: cs_gwf_soil.c:521
double precision, dimension(:,:,:), allocatable density
Definition: atimbr.f90:124
cs_gwf_soil_t * cs_gwf_soil_by_id(int id)
Retrieve a soil structure from its id.
Definition: cs_gwf_soil.c:502
void * input
Definition: cs_gwf_soil.h:177
void() cs_gwf_soil_update_t(const cs_real_t t_eval, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_real_t *head_values, const cs_zone_t *zone, void *input)
Generic function to update the physical properties related to a hydraulic model. At least,...
Definition: cs_gwf_soil.h:72
void cs_user_gwf_get_soil_density(const cs_gwf_soil_t *soil, cs_real_t *density)
Retrieve the bulk density related to a soil structure.
Definition: cs_user_gwf.c:99
const short int * cs_gwf_get_cell2soil(void)
Get the array storing the associated soil for each cell.
Definition: cs_gwf_soil.c:914
@ CS_GWF_SOIL_USER
Definition: cs_gwf_soil.h:106
void cs_gwf_soil_set_by_field(cs_property_t *permeability, cs_field_t *permea_field, cs_property_t *moisture_content, cs_field_t *moisture_field, cs_property_t *soil_capacity, cs_field_t *capacity_field)
Set the properties of the groundwater flow module thanks to cs_field_t structure. The consequence is ...
Definition: cs_gwf_soil.c:937
double residual_moisture
Definition: cs_gwf_soil.h:120
Definition: cs_cdo_quantities.h:124
double bulk_density
Definition: cs_gwf_soil.h:119
Structure associated to the definition of a property relying on the cs_xdef_t structure.
double tortuosity
Definition: cs_gwf_soil.h:129
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
Definition: cs_cdo_connect.h:76
double saturated_moisture
Definition: cs_gwf_soil.h:121
void cs_gwf_set_aniso_saturated_soil(cs_gwf_soil_t *soil, double *k_s, double theta_s, double rho)
Set a soil defined by a saturated hydraulic model and attached to an isotropic permeability.
Definition: cs_gwf_soil.c:639
cs_real_t cs_gwf_soil_get_bulk_density(const cs_gwf_soil_t *soil)
Retrieve the bulk density associated to the given soil structure.
Definition: cs_gwf_soil.c:550
Definition: cs_gwf_soil.h:149
void cs_gwf_set_iso_saturated_soil(cs_gwf_soil_t *soil, double k_s, double theta_s, double rho)
Set a soil defined by a saturated hydraulic model and attached to an isotropic permeability.
Definition: cs_gwf_soil.c:599
cs_real_t cs_real_33_t[3][3]
3x3 matrix of floating-point values
Definition: cs_defs.h:324
cs_gwf_soil_hydraulic_model_t
Definition: cs_gwf_soil.h:101
cs_gwf_soil_finalize_t * free_input
Definition: cs_gwf_soil.h:181
cs_real_33_t saturated_permeability
Definition: cs_gwf_soil.h:122
void cs_gwf_build_cell2soil(cs_lnum_t n_cells)
Build an array storing the associated soil for each cell.
Definition: cs_gwf_soil.c:865
cs_gwf_soil_t * cs_gwf_soil_add(const char *z_name, cs_gwf_soil_hydraulic_model_t model)
Create and add a new cs_gwf_soil_t structure. A first initialization of all members by default is per...
Definition: cs_gwf_soil.c:381
void cs_gwf_soil_free_all(void)
Free all cs_gwf_soil_t structures.
Definition: cs_gwf_soil.c:456
Definition: cs_gwf_soil.h:117
void cs_gwf_soil_log_setup(void)
Summary of the settings related to all cs_gwf_soil_t structures.
Definition: cs_gwf_soil.c:960
void cs_gwf_set_iso_genuchten_soil(cs_gwf_soil_t *soil, double k_s, double theta_s, double theta_r, double rho)
Set a soil defined by a Van Genuchten hydraulic model and attached to an anisotropic permeability.
Definition: cs_gwf_soil.c:678
int cs_gwf_get_n_soils(void)
Get the number of allocated soils.
Definition: cs_gwf_soil.c:486
double scale
Definition: cs_gwf_soil.h:128
Field descriptor.
Definition: cs_field.h:125
@ CS_GWF_SOIL_SATURATED
Definition: cs_gwf_soil.h:105
double saturated_moisture
Definition: cs_gwf_soil.h:152
cs_gwf_soil_update_t * update_properties
Definition: cs_gwf_soil.h:180