9.2
general documentation
cs_gwf_hydraulic_model.h File Reference
+ Include dependency graph for cs_gwf_hydraulic_model.h:

Go to the source code of this file.

Classes

struct  cs_gwf_sspf_t
 Structure to handle the modelling of a single-phase flows in a porous media considered as saturated. More...
 
struct  cs_gwf_uspf_t
 Structure to handle the modelling of a single-phase flows in a porous media considered as saturated or not. Several simplifications can be be operated in this context. Only the liquid phase is taken into account. More...
 
struct  cs_gwf_tpf_t
 Structure to handle the modelling of miscible or immiscible two-phase flows in a porous media. More...
 
struct  cs_gwf_t
 Main set of parameters/structures to manage the groundwater flow (GWF) module. This is an explicit definition of the structure cs_gwf_t. More...
 

Typedefs

typedef void() cs_gwf_darcy_update_t(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, cs_real_t t_eval, bool cur2prev, cs_gwf_darcy_flux_t *darcy)
 Update the advection field/arrays related to the Darcy flux. The context associated to a cs_gwf_darcy_flux_t have pointers to the fields used to define the Darcy flux update. More...
 

Enumerations

enum  cs_gwf_tpf_solver_type_t { CS_GWF_TPF_SOLVER_PLPC_COUPLED , CS_GWF_TPF_SOLVER_PLPC_COUPLED_INCR , CS_GWF_TPF_N_SOLVERS }
 Type of solver considered for a two-phase flow model. More...
 
enum  cs_gwf_tpf_approx_type_t {
  CS_GWF_TPF_APPROX_PC_CELL_AVERAGE , CS_GWF_TPF_APPROX_PC_CELL_VERTEX_AVERAGE , CS_GWF_TPF_APPROX_PC_EDGE_AVERAGE , CS_GWF_TPF_APPROX_PC_VERTEX_AVERAGE ,
  CS_GWF_TPF_APPROX_VERTEX_SUBCELL , CS_GWF_TPF_N_APPROX
}
 Type of approximation used for the computation of unsteady or diffusion properties. More...
 

Typedef Documentation

◆ cs_gwf_darcy_update_t

typedef void() cs_gwf_darcy_update_t(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, cs_real_t t_eval, bool cur2prev, cs_gwf_darcy_flux_t *darcy)

Update the advection field/arrays related to the Darcy flux. The context associated to a cs_gwf_darcy_flux_t have pointers to the fields used to define the Darcy flux update.

Parameters
[in]connectpointer to a cs_cdo_connect_t structure
[in]cdoqpointer to a cs_cdo_quantities_t structure
[in]t_evaltime at which one performs the evaluation
[in]cur2prevtrue or false
[in,out]darcypointer to the darcy flux structure

Enumeration Type Documentation

◆ cs_gwf_tpf_approx_type_t

Type of approximation used for the computation of unsteady or diffusion properties.

Enumerator
CS_GWF_TPF_APPROX_PC_CELL_AVERAGE 
CS_GWF_TPF_APPROX_PC_CELL_VERTEX_AVERAGE 
CS_GWF_TPF_APPROX_PC_EDGE_AVERAGE 
CS_GWF_TPF_APPROX_PC_VERTEX_AVERAGE 
CS_GWF_TPF_APPROX_VERTEX_SUBCELL 
CS_GWF_TPF_N_APPROX 

◆ cs_gwf_tpf_solver_type_t

Type of solver considered for a two-phase flow model.

Enumerator
CS_GWF_TPF_SOLVER_PLPC_COUPLED 

(Pc, Pl) is the couple of main unknowns. Pl for the conservation of the mass of water and Pc for the conservation of the mass of component mainly present in the gas phase (H2 for instance). A fully coupled approach solver is considered to solve the system of equations.

CS_GWF_TPF_SOLVER_PLPC_COUPLED_INCR 

(dPc, dPl) is the couple of main unknowns. dPc and dPl represents the increement on the capillary pressure and liquid pressure respectively. The two equations solved are the conservation of the mass of water and the conservation of the mass of component mainly present in the gas phase (H2 for instance). A fully coupled approach solver is considered to solve the system of equations along with a modified Picard algorithm in the spirit of Celia.

CS_GWF_TPF_N_SOLVERS