12#ifndef DUMUX_GEOMECHANICS_DEFAULT_HYPERELASTIC_SPATIAL_PARAMS_HH
13#define DUMUX_GEOMECHANICS_DEFAULT_HYPERELASTIC_SPATIAL_PARAMS_HH
19template<
class Gr
idGeometry,
class Scalar>
21:
public FVSpatialParams<GridGeometry, Scalar, DefaultHyperelasticSpatialParams<GridGeometry, Scalar>>
27 , E_(
getParam<Scalar>(
"SpatialParams.YoungsModulus"))
28 , nu_(
getParam<Scalar>(
"SpatialParams.PoissonRatio"))
30 mu_ = E_/(2*(1 + nu_));
31 K_ = E_/(3*(1 - 2*nu_));
32 lambda_ = nu_*E_/((1 + nu_)*(1-2*nu_));
51 Scalar E_, nu_, mu_, K_, lambda_;
54template<
class Gr
idGeometry,
class Scalar>
62 , rho_(
getParam<Scalar>(
"SpatialParams.SolidDensity"))
Definition: geomechanics/hyperelastic/spatialparams.hh:57
DefaultDynamicHyperelasticSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: geomechanics/hyperelastic/spatialparams.hh:60
Scalar solidDensity() const
Definition: geomechanics/hyperelastic/spatialparams.hh:65
Definition: geomechanics/hyperelastic/spatialparams.hh:22
Scalar bulkModulus() const
Definition: geomechanics/hyperelastic/spatialparams.hh:38
DefaultHyperelasticSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: geomechanics/hyperelastic/spatialparams.hh:25
Scalar poissonRatio() const
Definition: geomechanics/hyperelastic/spatialparams.hh:44
Scalar firstLameParameter() const
Definition: geomechanics/hyperelastic/spatialparams.hh:47
Scalar youngsModulus() const
Definition: geomechanics/hyperelastic/spatialparams.hh:41
Scalar shearModulus() const
Definition: geomechanics/hyperelastic/spatialparams.hh:35
The base class for spatial parameters used with finite-volume schemes.
Definition: common/fvspatialparams.hh:34
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: common/fvspatialparams.hh:130
Basic spatial parameters to be used with finite-volume schemes.
T getParam(Args &&... args)
A free function to get a parameter from the parameter tree singleton.
Definition: parameters.hh:139