25#ifndef DUMUX_RICHARDSNI_SPATIAL_PARAMS_HH
26#define DUMUX_RICHARDSNI_SPATIAL_PARAMS_HH
36template<
class Gr
idGeometry,
class Scalar>
39 RichardsNISpatialParams<GridGeometry, Scalar>>
41 using GridView =
typename GridGeometry::GridView;
42 using FVElementGeometry =
typename GridGeometry::LocalView;
43 using SubControlVolume =
typename FVElementGeometry::SubControlVolume;
44 using Element =
typename GridView::template Codim<0>::Entity;
48 enum { dimWorld=GridView::dimensionworld };
52 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
64 permeability_ = 1e-10;
69 materialParams_.setSwr(0.05);
70 materialParams_.setSnr(0.0);
75 materialParams_.setVgAlpha(0.0037);
76 materialParams_.setVgn(4.7);
107 return materialParams_;
113 Scalar permeability_;
Linear capillary pressure and relative permeability <-> saturation relations.
Implementation of the regularized version of the van Genuchten's capillary pressure / relative permea...
The base class for spatial parameters of multi-phase problems using a fully implicit discretization m...
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
This material law takes a material law defined for effective saturations and converts it to a materia...
Definition: 2p/efftoabslaw.hh:60
AbsParamsT Params
Definition: 2p/efftoabslaw.hh:64
Implementation of the regularized van Genuchten's capillary pressure / relative permeability <-> satu...
Definition: regularizedvangenuchten.hh:71
The base class for spatial parameters of multi-phase problems using a fully implicit discretization m...
Definition: fv.hh:57
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: fv1p.hh:334
Definition: porousmediumflow/richards/implicit/nonisothermal/spatialparams.hh:40
const MaterialLawParams & materialLawParamsAtPos(const GlobalPosition &globalPos) const
Returns the parameter object for the Brooks-Corey material law which depends on the position.
Definition: porousmediumflow/richards/implicit/nonisothermal/spatialparams.hh:105
Scalar PermeabilityType
Definition: porousmediumflow/richards/implicit/nonisothermal/spatialparams.hh:56
RichardsNISpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: porousmediumflow/richards/implicit/nonisothermal/spatialparams.hh:61
PermeabilityType permeabilityAtPos(const GlobalPosition &globalPos) const
Defines the intrinsic permeability .
Definition: porousmediumflow/richards/implicit/nonisothermal/spatialparams.hh:84
typename MaterialLaw::Params MaterialLawParams
Definition: porousmediumflow/richards/implicit/nonisothermal/spatialparams.hh:59
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Defines the porosity .
Definition: porousmediumflow/richards/implicit/nonisothermal/spatialparams.hh:94
This model implements a variant of the Richards' equation for quasi-twophase flow.
This material law takes a material law defined for effective saturations and converts it to a materia...