1 #ifndef __CS_GROUNDWATER_H__
2 #define __CS_GROUNDWATER_H__
46 #define CS_GROUNDWATER_POST_MOISTURE (1 << 0) // 1: post the moisture content
65 typedef struct _groundwater_t cs_groundwater_t;
141 cs_property_t *permeability,
142 cs_property_t *soil_capacity,
143 cs_adv_field_t *adv_field,
144 cs_groundwater_t *gw);
172 const char *var_name,
173 cs_property_t *diff_property,
177 double reaction_rate);
190 cs_groundwater_t *gw);
212 cs_equation_t *eqs[],
213 cs_groundwater_t *gw);
226 const cs_groundwater_t *gw);
time step descriptor
Definition: cs_time_step.h:51
Definition: cs_groundwater.h:55
#define BEGIN_C_DECLS
Definition: cs_defs.h:429
Definition: cs_cdo_connect.h:67
Definition: cs_groundwater.h:60
Definition: cs_groundwater.h:61
Definition: cs_cdo_quantities.h:86
void cs_groundwater_post(const cs_time_step_t *time_step, const cs_groundwater_t *gw)
Predefined postprocessing for the groundwater module.
Definition: cs_groundwater.c:1118
Definition: cs_groundwater.h:59
Definition: cs_groundwater.h:56
cs_equation_t * cs_groundwater_add_tracer(cs_groundwater_t *gv, int tracer_eq_id, const char *eq_name, const char *var_name, cs_property_t *diff_property, cs_real_3_t dispersivity, double bulk_density, double distrib_coef, double reaction_rate)
Add a new equation related to the groundwater flow module This equation is a specific unsteady advect...
Definition: cs_groundwater.c:843
cs_equation_t * cs_groundwater_init(const cs_cdo_connect_t *connect, int richards_eq_id, const char *model, cs_property_t *permeability, cs_property_t *soil_capacity, cs_adv_field_t *adv_field, cs_groundwater_t *gw)
Initialize the module dedicated to groundwater flows.
Definition: cs_groundwater.c:742
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:307
#define END_C_DECLS
Definition: cs_defs.h:430
void cs_groundwater_compute(const cs_mesh_t *mesh, const cs_time_step_t *time_step, double dt_cur, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, cs_equation_t *eqs[], cs_groundwater_t *gw)
Compute the system related to groundwater flows.
Definition: cs_groundwater.c:1000
void cs_groundwater_automatic_settings(cs_equation_t **equations, cs_groundwater_t *gw)
Predefined settings for the module dedicated to groundwater flows.
Definition: cs_groundwater.c:891
cs_groundwater_model_t
Definition: cs_groundwater.h:53
cs_groundwater_t * cs_groundwater_finalize(cs_groundwater_t *gw)
Free the main structure related to groundwater flows.
Definition: cs_groundwater.c:590
void cs_groundwater_summary(const cs_groundwater_t *gw)
Summary of a cs_groundwater_t structure.
Definition: cs_groundwater.c:681
void cs_groundwater_set_param(cs_groundwater_t *gw, const char *keyname, const char *keyval)
Set parameters related to a cs_groundwater_t structure.
Definition: cs_groundwater.c:615
cs_groundwater_t * cs_groundwater_create(void)
Create a structure dedicated to manage groundwater flows.
Definition: cs_groundwater.c:547