25#ifndef DUMUX_MULTIDOMAIN_1P_2P_TEST_SPATIAL_PARAMS_HH
26#define DUMUX_MULTIDOMAIN_1P_2P_TEST_SPATIAL_PARAMS_HH
39template<
class Gr
idGeometry,
class Scalar>
41:
public FVSpatialParams<GridGeometry, Scalar, TestSpatialParams<GridGeometry, Scalar>>
45 using GridView =
typename GridGeometry::GridView;
46 using Element =
typename GridView::template Codim<0>::Entity;
47 using FVElementGeometry =
typename GridGeometry::LocalView;
48 using SubControlVolume =
typename FVElementGeometry::SubControlVolume;
50 static constexpr int dimWorld = GridView::dimensionworld;
51 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
62 materialParams_.setSwr(0.05);
63 materialParams_.setSnr(0.0);
64 materialParams_.setVgAlpha(0.0037);
65 materialParams_.setVgn(4.7);
95 return materialParams_;
104 template<
class Flu
idSystem>
107 return FluidSystem::phase0Idx;
Implementation of the capillary pressure and relative permeability <-> saturation relations according...
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
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
The spatial parameters class for the test problem using the incompressible 1p model.
Definition: multidomain/boundary/darcydarcy/1p_2p/spatialparams.hh:42
Scalar PermeabilityType
Definition: multidomain/boundary/darcydarcy/1p_2p/spatialparams.hh:57
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Defines the porosity .
Definition: multidomain/boundary/darcydarcy/1p_2p/spatialparams.hh:82
const MaterialLawParams & materialLawParamsAtPos(const GlobalPosition &globalPos) const
Returns the parameter object for the Brooks-Corey material law.
Definition: multidomain/boundary/darcydarcy/1p_2p/spatialparams.hh:93
TestSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: multidomain/boundary/darcydarcy/1p_2p/spatialparams.hh:59
PermeabilityType permeabilityAtPos(const GlobalPosition &globalPos) const
Function for defining the (intrinsic) permeability .
Definition: multidomain/boundary/darcydarcy/1p_2p/spatialparams.hh:72
int wettingPhaseAtPos(const GlobalPosition &globalPos) const
Function for defining which phase is to be considered as the wetting phase.
Definition: multidomain/boundary/darcydarcy/1p_2p/spatialparams.hh:105
typename MaterialLaw::Params MaterialLawParams
Definition: multidomain/boundary/darcydarcy/1p_2p/spatialparams.hh:55
This material law takes a material law defined for effective saturations and converts it to a materia...