25#ifndef DUMUX_CONSERVATION_SPATIAL_PARAMS_HH
26#define DUMUX_CONSERVATION_SPATIAL_PARAMS_HH
41template<
class Gr
idGeometry,
class Scalar>
43:
public FVSpatialParams<GridGeometry, Scalar, TwoPTwoCSpatialParams<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;
51 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
81 {
return permeability_; }
107 template<
class ElementSolutionVector>
109 const SubControlVolume& scv,
110 const ElementSolutionVector& elemSol)
const
119 template<
class Flu
idSystem>
121 {
return FluidSystem::phase0Idx; }
124 Scalar permeability_;
128 static constexpr Scalar eps_ = 1.0e-7;
Implementation of the regularized version of the van Genuchten's capillary pressure / relative permea...
Relation for the saturation-dependent effective thermal conductivity.
The base class for spatial parameters of multi-phase problems using a fully implicit discretization m...
T getParam(Args &&... args)
A free function to get a parameter from the parameter tree singleton.
Definition parameters.hh:428
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
EffToAbsLawParams< typename EffectiveLaw::Params > Params
Definition 2p/efftoabslaw.hh:64
Implementation of the regularized van Genuchten's capillary pressure / relative permeability <-> satu...
Definition regularizedvangenuchten.hh:71
FVSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition fv.hh:67
const GridGeometry & gridGeometry() const
Definition fv1p.hh:334
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Defines the porosity in [-].
Definition multidomain/boundary/stokesdarcy/1p2c_2p2c/spatialparams.hh:87
Scalar beaversJosephCoeffAtPos(const GlobalPosition &globalPos) const
Defines the Beavers-Joseph coefficient in [-].
Definition multidomain/boundary/stokesdarcy/1p2c_2p2c/spatialparams.hh:94
EffToAbsLaw< EffectiveLaw > MaterialLaw
Definition multidomain/boundary/stokesdarcy/1p2c_2p2c/spatialparams.hh:55
const MaterialLawParams & materialLawParams(const Element &element, const SubControlVolume &scv, const ElementSolutionVector &elemSol) const
Returns the parameter object for the Brooks-Corey material law.
Definition multidomain/boundary/stokesdarcy/1p2c_2p2c/spatialparams.hh:108
TwoPTwoCSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition multidomain/boundary/stokesdarcy/1p2c_2p2c/spatialparams.hh:59
Scalar PermeabilityType
Definition multidomain/boundary/stokesdarcy/1p2c_2p2c/spatialparams.hh:57
PermeabilityType permeabilityAtPos(const GlobalPosition &globalPos) const
Function for defining the (intrinsic) permeability .
Definition multidomain/boundary/stokesdarcy/1p2c_2p2c/spatialparams.hh:80
typename MaterialLaw::Params MaterialLawParams
Definition multidomain/boundary/stokesdarcy/1p2c_2p2c/spatialparams.hh:56
int wettingPhaseAtPos(const GlobalPosition &globalPos) const
Function for defining which phase is to be considered as the wetting phase.
Definition multidomain/boundary/stokesdarcy/1p2c_2p2c/spatialparams.hh:120
This material law takes a material law defined for effective saturations and converts it to a materia...