26#ifndef DUMUX_TWOP_FRACTURE_TEST_SPATIALPARAMS_HH
27#define DUMUX_TWOP_FRACTURE_TEST_SPATIALPARAMS_HH
43template<
class Gr
idGeometry,
class Scalar>
44class FractureSpatialParams
45:
public FVSpatialParams<GridGeometry, Scalar,
46 FractureSpatialParams<GridGeometry, Scalar>>
48 using GridView =
typename GridGeometry::GridView;
49 using FVElementGeometry =
typename GridGeometry::LocalView;
50 using SubControlVolume =
typename FVElementGeometry::SubControlVolume;
51 using Element =
typename GridView::template Codim<0>::Entity;
53 FractureSpatialParams<GridGeometry, Scalar>>;
55 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
57 using EffectiveLaw = RegularizedVanGenuchten<Scalar>;
70 materialParams_.setSwr(0.05);
71 materialParams_.setSnr(0.0);
75 materialParams_.setVgAlpha(0.0037);
76 materialParams_.setVgn(4.7);
101 {
return materialParams_; }
109 template<
class Flu
idSystem>
111 {
return FluidSystem::phase0Idx; }
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
FVSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: fv.hh:67
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: fv1p.hh:334
Scalar permeabilityAtPos(const GlobalPosition &globalPos) const
Returns the scalar intrinsic permeability .
Definition: porousmediumflow/2p/implicit/fracture/spatialparams.hh:84
int wettingPhaseAtPos(const GlobalPosition &globalPos) const
Function for defining which phase is to be considered as the wetting phase.
Definition: porousmediumflow/2p/implicit/fracture/spatialparams.hh:110
FractureSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: porousmediumflow/2p/implicit/fracture/spatialparams.hh:66
const MaterialLawParams & materialLawParamsAtPos(const GlobalPosition &globalPos) const
Returns the parameter object for the Brooks-Corey material law.
Definition: porousmediumflow/2p/implicit/fracture/spatialparams.hh:100
Scalar PermeabilityType
Definition: porousmediumflow/1p/implicit/fracture2d3d/spatialparams.hh:53
typename MaterialLaw::Params MaterialLawParams
Definition: porousmediumflow/2p/implicit/fracture/spatialparams.hh:64
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Returns the porosity .
Definition: porousmediumflow/2p/implicit/fracture/spatialparams.hh:92
Adaption of the fully implicit scheme to the two-phase flow model.
This material law takes a material law defined for effective saturations and converts it to a materia...