From 077904c6d575c7be9cd4fc1497aac6fc0a37d763 Mon Sep 17 00:00:00 2001 From: "Dennis.Glaeser" <dennis.glaeser@iws.uni-stuttgart.de> Date: Tue, 15 Jan 2019 18:00:47 +0100 Subject: [PATCH] [facet][box][props] set effective stress as default stress type --- dumux/multidomain/facet/box/properties.hh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/dumux/multidomain/facet/box/properties.hh b/dumux/multidomain/facet/box/properties.hh index 72303e00bb..742ccd35ba 100644 --- a/dumux/multidomain/facet/box/properties.hh +++ b/dumux/multidomain/facet/box/properties.hh @@ -32,7 +32,10 @@ #include <dumux/common/properties.hh> #include <dumux/discretization/box.hh> +#include <dumux/flux/hookeslaw.hh> + #include <dumux/multidomain/facet/box/darcyslaw.hh> +#include <dumux/multidomain/facet/box/effectivestresslaw.hh> #include <dumux/multidomain/facet/box/elementboundarytypes.hh> #include <dumux/multidomain/facet/box/fvgridgeometry.hh> #include <dumux/multidomain/facet/box/localresidual.hh> @@ -88,6 +91,18 @@ public: using type = BoxFacetCouplingFVGridGeometry<Scalar, GridView, enableCache>; }; +//! Per default, we use the standard box facet coupling effective stresses law +template<class TypeTag> +struct StressType<TypeTag, TTag::BoxFacetCouplingModel> +{ +private: + using Scalar = GetPropType<TypeTag, Properties::Scalar>; + using FVGridGeometry = GetPropType<TypeTag, Properties::FVGridGeometry>; + using ElasticStressType = HookesLaw< Scalar, FVGridGeometry >; +public: + using type = BoxFacetCouplingEffectiveStressLaw< ElasticStressType, FVGridGeometry >; +}; + } // namespace Properties } // namespace Dumux -- GitLab