Commit 82458fce authored by Martin Schneider's avatar Martin Schneider
Browse files

[md][boundary] Fix Forchheimer types

parent 2e7ae0c2
......@@ -70,10 +70,6 @@ class StokesDarcyCouplingDataBoxBase : public StokesDarcyCouplingDataImplementat
template<std::size_t id> using BoundaryTypes = typename ProblemTraits<Problem<id>>::BoundaryTypes;
using StokesVelocityGradients = StaggeredVelocityGradients<Scalar, GridGeometry<freeFlowIdx>, BoundaryTypes<freeFlowIdx>, Indices<freeFlowIdx>>;
using AdvectionType = GetPropType<SubDomainTypeTag<porousMediumIdx>, Properties::AdvectionType>;
using DarcysLaw = DarcysLawImplementation<SubDomainTypeTag<porousMediumIdx>, GridGeometry<porousMediumIdx>::discMethod>;
using ForchheimersLaw = ForchheimersLawImplementation<SubDomainTypeTag<porousMediumIdx>, GridGeometry<porousMediumIdx>::discMethod>;
using DiffusionCoefficientAveragingType = typename StokesDarcyCouplingOptions::DiffusionCoefficientAveragingType;
using Projector = Projection<MDTraits, CouplingManager>;
......
......@@ -28,6 +28,8 @@
#include <dumux/multidomain/boundary/stokesdarcy/couplingdata.hh>
#include <dumux/multidomain/couplingmanager.hh>
#include <dumux/flux/forchheimervelocity.hh>
namespace Dumux {
/*!
* \ingroup StokesDarcyCoupling
......@@ -61,7 +63,9 @@ class StokesDarcyCouplingDataTpfaBase : public StokesDarcyCouplingDataImplementa
using AdvectionType = GetPropType<SubDomainTypeTag<porousMediumIdx>, Properties::AdvectionType>;
using DarcysLaw = DarcysLawImplementation<SubDomainTypeTag<porousMediumIdx>, GridGeometry<porousMediumIdx>::discMethod>;
using ForchheimersLaw = ForchheimersLawImplementation<SubDomainTypeTag<porousMediumIdx>, GridGeometry<porousMediumIdx>::discMethod>;
using ForchheimersLaw = ForchheimersLawImplementation<SubDomainTypeTag<porousMediumIdx>,
ForchheimerVelocity<Scalar, GridGeometry<porousMediumIdx>, GetPropType<SubDomainTypeTag<porousMediumIdx>, Properties::FluxVariables>>,
GridGeometry<porousMediumIdx>::discMethod>;
using DiffusionCoefficientAveragingType = typename StokesDarcyCouplingOptions::DiffusionCoefficientAveragingType;
......
......@@ -197,7 +197,7 @@ template <class TypeTag, DiscretizationMethod discMethod>
class DarcysLawImplementation;
//! forward declare
template <class TypeTag, DiscretizationMethod discMethod>
template <class TypeTag, class VelocityLaw, DiscretizationMethod discMethod>
class ForchheimersLawImplementation;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment