Skip to content
Snippets Groups Projects
Commit 077904c6 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[facet][box][props] set effective stress as default stress type

parent 14fd1faf
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,10 @@ ...@@ -32,7 +32,10 @@
#include <dumux/common/properties.hh> #include <dumux/common/properties.hh>
#include <dumux/discretization/box.hh> #include <dumux/discretization/box.hh>
#include <dumux/flux/hookeslaw.hh>
#include <dumux/multidomain/facet/box/darcyslaw.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/elementboundarytypes.hh>
#include <dumux/multidomain/facet/box/fvgridgeometry.hh> #include <dumux/multidomain/facet/box/fvgridgeometry.hh>
#include <dumux/multidomain/facet/box/localresidual.hh> #include <dumux/multidomain/facet/box/localresidual.hh>
...@@ -88,6 +91,18 @@ public: ...@@ -88,6 +91,18 @@ public:
using type = BoxFacetCouplingFVGridGeometry<Scalar, GridView, enableCache>; 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 Properties
} // namespace Dumux } // namespace Dumux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment