26#ifndef DUMUX_INFILTRATION_THREEPTHREEC_SPATIAL_PARAMETERS_HH
27#define DUMUX_INFILTRATION_THREEPTHREEC_SPATIAL_PARAMETERS_HH
42template<
class Gr
idGeometry,
class Scalar>
45 InfiltrationThreePThreeCSpatialParams<GridGeometry, Scalar>>
47 using GridView =
typename GridGeometry::GridView;
48 using FVElementGeometry =
typename GridGeometry::LocalView;
49 using SubControlVolume =
typename FVElementGeometry::SubControlVolume;
50 using Element =
typename GridView::template Codim<0>::Entity;
56 using GlobalPosition =
typename SubControlVolume::GlobalPosition;
74 materialParams_.setSwr(0.12);
75 materialParams_.setSnr(0.07);
76 materialParams_.setSgr(0.03);
79 materialParams_.setVgAlpha(0.0005);
80 materialParams_.setVgn(4.);
81 materialParams_.setKrRegardsSnr(
false);
84 materialParams_.setKdNAPL(0.);
85 materialParams_.setRhoBulk(1500.);
97 template<
class ElementSolution>
99 const SubControlVolume& scv,
100 const ElementSolution& elemSol)
const
102 const auto& globalPos = scv.dofPosition();
103 if (isFineMaterial_(globalPos))
126 return materialParams_;
130 bool isFineMaterial_(
const GlobalPosition &globalPos)
const
132 70.0 <= globalPos[0] && globalPos[0] <= 85.0 &&
133 7.0 <= globalPos[1] && globalPos[1] <= 7.50;
Interface for plotting the three-phase fluid-matrix-interaction laws.
Implementation of a regularized version of van Genuchten's capillary pressure-saturation relation for...
Parameters that are necessary for the regularization of the Parker - Van Genuchten capillary pressure...
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 <-> saturation relation....
Definition: regularizedparkervangen3p.hh:62
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 of the spatial parameters for the infiltration problem.
Definition: porousmediumflow/3p3c/implicit/infiltration/spatialparams.hh:46
InfiltrationThreePThreeCSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: porousmediumflow/3p3c/implicit/infiltration/spatialparams.hh:63
Scalar PermeabilityType
Definition: porousmediumflow/3p3c/implicit/infiltration/spatialparams.hh:61
typename MaterialLaw::Params MaterialLawParams
Definition: porousmediumflow/3p3c/implicit/infiltration/spatialparams.hh:60
const MaterialLawParams & materialLawParamsAtPos(const GlobalPosition &globalPos) const
Returns the parameter object for the material law which depends on the position.
Definition: porousmediumflow/3p3c/implicit/infiltration/spatialparams.hh:124
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Returns the porosity .
Definition: porousmediumflow/3p3c/implicit/infiltration/spatialparams.hh:113
PermeabilityType permeability(const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const
Function for defining the (intrinsic) permeability .
Definition: porousmediumflow/3p3c/implicit/infiltration/spatialparams.hh:98
Defines a type tag and some properties for models using the box scheme.
This material law takes a material law defined for effective saturations and converts it to a materia...