25#ifndef DUMUX_POROELASTIC_SPATIAL_PARAMS_HH
26#define DUMUX_POROELASTIC_SPATIAL_PARAMS_HH
38template<
class Scalar,
class Gr
idGeometry>
41 PoroElasticSpatialParams<Scalar, GridGeometry> >
46 using SubControlVolume =
typename GridGeometry::SubControlVolume;
47 using GridView =
typename GridGeometry::GridView;
48 using Element =
typename GridView::template Codim<0>::Entity;
49 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
64 {
return lameParams_; }
67 template<
class ElemSol >
69 const SubControlVolume& scv,
70 const ElemSol& elemSol)
const
A relationship for the porosity of a porous medium under mechanical deformation.
The base class for spatial parameters of poro-elastic geomechanical problems.
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Structure encapsulating the lame parameters.
Definition: lameparams.hh:35
void setMu(Scalar mu)
set the second lame parameter
Definition: lameparams.hh:57
void setLambda(Scalar lambda)
set the first lame parameter
Definition: lameparams.hh:53
A relationship for the porosity of a porous medium under mechanical deformation.
Definition: porositydeformation.hh:39
static Scalar evaluatePorosity(const FVGridGeom &gridGeometry, const typename FVGridGeom::GridView::template Codim< 0 >::Entity &element, const typename FVGridGeom::GridView::template Codim< 0 >::Entity::Geometry::GlobalCoordinate &globalPos, const ElemSol &elemSol, Scalar refPoro, Scalar minPoro=0.0, Scalar maxPoro=1.0)
Calculates the porosity at a position inside an element.
Definition: porositydeformation.hh:65
The base class for spatial parameters of poro-elastic geomechanical problems.
Definition: fvporoelastic.hh:79
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: fvporoelastic.hh:322
Definition of the spatial parameters for the poro-elastic problem.
Definition: geomechanics/poroelastic/spatialparams.hh:42
PoroElasticSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: geomechanics/poroelastic/spatialparams.hh:55
Scalar porosity(const Element &element, const SubControlVolume &scv, const ElemSol &elemSol) const
Returns the porosity of the porous medium.
Definition: geomechanics/poroelastic/spatialparams.hh:68
const LameParams & lameParamsAtPos(const GlobalPosition &globalPos) const
Defines the Lame parameters.
Definition: geomechanics/poroelastic/spatialparams.hh:63
Scalar biotCoefficientAtPos(const GlobalPosition &globalPos) const
Returns the Biot coefficient of the porous medium.
Definition: geomechanics/poroelastic/spatialparams.hh:77