programmer's documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Settings soils and tracers for the groundwater flow module with CDO schemes (cs_user_gwf.c)

The add of a new soil or a new tracer takes place in cs_user_model (see Settings related to the groundwater flow module with CDO/HHO schemes for more details).

Soils

Example for a saturated soil defined by an isotropic permeability.

{
k1, // saturated permeability
1.0, // saturated moisture
1.0); // bulk density (useless)
k2, // saturated permeability
1.0, // saturated moisture
1.0); // bulk density (useless)
}

cs_gwf_set_aniso_saturated_soil sets a saturated soil defined by an anisotropic permeability. Soils which behave according to a Van Genuchten model can be specified using cs_gwf_set_aniso_genuchten_soil or cs_gwf_set_iso_genuchten_soil. More advanced definition using a user-defined model is also possible using cs_gwf_set_user_soil.

Tracers

Here is an example for a standard tracer.

{
NULL, // zone name or NULL for all
0., // water molecular diffusivity
0., 0., // alpha (longi. and transvesal)
0., // distribution coef.
0.); // 1st order decay coef.
}