25#ifndef DUMUX_POROUS_MEDIUM_FLOW_FV_SPATIAL_PARAMS_ONEP_CONSTANT_HH
26#define DUMUX_POROUS_MEDIUM_FLOW_FV_SPATIAL_PARAMS_ONEP_CONSTANT_HH
38template<
class Gr
idGeometry,
class Scalar>
44 using GlobalPosition =
typename GridGeometry::GridView::template Codim<0>::Geometry::GlobalCoordinate;
51 , porosity_(
getParam<Scalar>(
"SpatialParams.Porosity"))
52 , permeability_(
getParam<Scalar>(
"SpatialParams.Permeability"))
54 "SpatialParams.Temperature",
63 {
return permeability_; }
75 {
return temperature_; }
78 const Scalar porosity_;
79 const Scalar permeability_;
80 const Scalar temperature_;
The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.
The base class for spatial parameters in single-phase porous-medium-flow problems.
T getParam(Args &&... args)
A free function to get a parameter from the parameter tree singleton.
Definition: parameters.hh:151
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: common/fvspatialparams.hh:142
The base class for spatial parameters of single-phase problems.
Definition: fvspatialparams1p.hh:38
A spatial params implementation for 1p problem with constant properties.
Definition: fvspatialparams1pconstant.hh:41
Scalar porosityAtPos(const GlobalPosition &globalPos) const
The porosity .
Definition: fvspatialparams1pconstant.hh:68
FVPorousMediumFlowSpatialParamsOnePConstant(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: fvspatialparams1pconstant.hh:49
PermeabilityType permeabilityAtPos(const GlobalPosition &globalPos) const
The (intrinsic) permeability .
Definition: fvspatialparams1pconstant.hh:62
Scalar PermeabilityType
Definition: fvspatialparams1pconstant.hh:47
Scalar temperatureAtPos(const GlobalPosition &globalPos) const
The temperature .
Definition: fvspatialparams1pconstant.hh:74