diff --git a/test/multidomain/boundary/darcydarcy/1p_1p/problem.hh b/test/multidomain/boundary/darcydarcy/1p_1p/problem.hh index 287f1b1940a897d7cf288c9fb78d1fead1b956d2..9d55dc44fb2c58e1376febdf2681dba1ab6ead42 100644 --- a/test/multidomain/boundary/darcydarcy/1p_1p/problem.hh +++ b/test/multidomain/boundary/darcydarcy/1p_1p/problem.hh @@ -26,6 +26,7 @@ #define DUMUX_ONEP_SUB_TEST_PROBLEM_HH #include <dune/common/indices.hh> +#include <dumux/common/boundarytypes.hh> #include <dumux/porousmediumflow/problem.hh> #include "spatialparams.hh" @@ -54,7 +55,7 @@ class OnePTestProblem using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; static constexpr int dimWorld = GridView::dimensionworld; using GlobalPosition = typename Element::Geometry::GlobalCoordinate; static constexpr auto domainIdx = Dune::index_constant<tag>{}; diff --git a/test/multidomain/boundary/darcydarcy/1p_2p/problem.hh b/test/multidomain/boundary/darcydarcy/1p_2p/problem.hh index 90a006399060c74d3dd831486af7592c1725cfde..c1feda9addbf34463564a593a9fff636df34bfc7 100644 --- a/test/multidomain/boundary/darcydarcy/1p_2p/problem.hh +++ b/test/multidomain/boundary/darcydarcy/1p_2p/problem.hh @@ -26,6 +26,7 @@ #define DUMUX_ONEP_SUB_TEST_PROBLEM_HH #include <dune/common/indices.hh> +#include <dumux/common/boundarytypes.hh> #include <dumux/porousmediumflow/problem.hh> #include "spatialparams.hh" @@ -55,7 +56,7 @@ class OnePTestProblem using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>; static constexpr int dimWorld = GridView::dimensionworld; using GlobalPosition = typename Element::Geometry::GlobalCoordinate; diff --git a/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/diffusionlawcomparison/problem_darcy.hh b/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/diffusionlawcomparison/problem_darcy.hh index 1b40699329e889a2fbe4009f75aa332e877ed739..4ae5b9639cb9e032ad7072996583128f25ff3bee 100644 --- a/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/diffusionlawcomparison/problem_darcy.hh +++ b/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/diffusionlawcomparison/problem_darcy.hh @@ -29,19 +29,19 @@ #include <dune/grid/yaspgrid.hh> #include <dumux/discretization/cctpfa.hh> -#include <dumux/flux/maxwellstefanslaw.hh> -#include <dumux/porousmediumflow/1pnc/model.hh> -#include <dumux/porousmediumflow/problem.hh> +#include <dumux/common/boundarytypes.hh> -#include "./../spatialparams.hh" +#include <dumux/flux/maxwellstefanslaw.hh> +#include <dumux/material/fluidmatrixinteractions/diffusivityconstanttortuosity.hh> #include <dumux/material/fluidsystems/1padapter.hh> #include <dumux/material/fluidsystems/h2oair.hh> -#include <dumux/material/fluidmatrixinteractions/diffusivityconstanttortuosity.hh> -// for StokesDarcyCouplingOptions -#include <dumux/multidomain/boundary/stokesdarcy/couplingdata.hh> +#include <dumux/porousmediumflow/1pnc/model.hh> +#include <dumux/porousmediumflow/problem.hh> + +#include "./../spatialparams.hh" #ifndef DIFFUSIONTYPE #define DIFFUSIONTYPE FicksLaw<TypeTag> @@ -110,7 +110,7 @@ class DarcySubProblem : public PorousMediumFlowProblem<TypeTag> using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using FVElementGeometry = typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView; using SubControlVolume = typename FVElementGeometry::SubControlVolume; using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace; diff --git a/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/diffusionlawcomparison/problem_stokes.hh b/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/diffusionlawcomparison/problem_stokes.hh index 128fad0286a63f8431565c23441e044b40e4c202..1d1ab1b7e33000b66d6256de8a6a6228ec493f0f 100644 --- a/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/diffusionlawcomparison/problem_stokes.hh +++ b/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/diffusionlawcomparison/problem_stokes.hh @@ -32,13 +32,16 @@ #include <dune/grid/yaspgrid.hh> -#include <dumux/material/fluidsystems/1padapter.hh> -#include <dumux/material/fluidsystems/h2oair.hh> +#include <dumux/discretization/staggered/freeflow/properties.hh> + #include <dumux/flux/maxwellstefanslaw.hh> -#include <dumux/freeflow/navierstokes/problem.hh> -#include <dumux/discretization/staggered/freeflow/properties.hh> #include <dumux/freeflow/compositional/navierstokesncmodel.hh> +#include <dumux/freeflow/navierstokes/boundarytypes.hh> +#include <dumux/freeflow/navierstokes/problem.hh> + +#include <dumux/material/fluidsystems/1padapter.hh> +#include <dumux/material/fluidsystems/h2oair.hh> // for StokesDarcyCouplingOptions #include <dumux/multidomain/boundary/stokesdarcy/couplingdata.hh> @@ -108,7 +111,7 @@ class StokesSubProblem : public NavierStokesProblem<TypeTag> using Scalar = GetPropType<TypeTag, Properties::Scalar>; using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::NavierStokesBoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using GridGeometry = GetPropType<TypeTag, Properties::GridGeometry>; using FVElementGeometry = typename GridGeometry::LocalView; using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace; diff --git a/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/problem_darcy.hh b/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/problem_darcy.hh index f536c2dbf1495e735a316c97e2ba28185e66297b..ce1ac8bf016db413e35b11e76444d1e9139b62b3 100644 --- a/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/problem_darcy.hh +++ b/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/problem_darcy.hh @@ -29,15 +29,17 @@ #include <dumux/discretization/cctpfa.hh> +#include <dumux/common/boundarytypes.hh> + +#include <dumux/material/fluidmatrixinteractions/diffusivityconstanttortuosity.hh> +#include <dumux/material/fluidsystems/1padapter.hh> +#include <dumux/material/fluidsystems/h2oair.hh> + #include <dumux/porousmediumflow/1pnc/model.hh> #include <dumux/porousmediumflow/problem.hh> #include "spatialparams.hh" -#include <dumux/material/fluidsystems/1padapter.hh> -#include <dumux/material/fluidsystems/h2oair.hh> -#include <dumux/material/fluidmatrixinteractions/diffusivityconstanttortuosity.hh> - namespace Dumux { template <class TypeTag> class DarcySubProblem; @@ -97,7 +99,7 @@ class DarcySubProblem : public PorousMediumFlowProblem<TypeTag> using Scalar = GetPropType<TypeTag, Properties::Scalar>; using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using FVElementGeometry = typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView; using SubControlVolume = typename FVElementGeometry::SubControlVolume; using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace; diff --git a/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/problem_stokes.hh b/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/problem_stokes.hh index 4ac51cebdaa09ac57c2e6668648482e1a9c71a55..e5456d4dcea3183823532219d44d8ae10d6f7339 100644 --- a/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/problem_stokes.hh +++ b/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/problem_stokes.hh @@ -27,12 +27,14 @@ #include <dune/grid/yaspgrid.hh> -#include <dumux/material/fluidsystems/1padapter.hh> -#include <dumux/material/fluidsystems/h2oair.hh> - -#include <dumux/freeflow/navierstokes/problem.hh> #include <dumux/discretization/staggered/freeflow/properties.hh> + #include <dumux/freeflow/compositional/navierstokesncmodel.hh> +#include <dumux/freeflow/navierstokes/boundarytypes.hh> +#include <dumux/freeflow/navierstokes/problem.hh> + +#include <dumux/material/fluidsystems/1padapter.hh> +#include <dumux/material/fluidsystems/h2oair.hh> namespace Dumux { template <class TypeTag> @@ -90,7 +92,7 @@ class StokesSubProblem : public NavierStokesProblem<TypeTag> using GridView = typename GetPropType<TypeTag, Properties::GridGeometry>::GridView; using Scalar = GetPropType<TypeTag, Properties::Scalar>; using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::NavierStokesBoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using GridGeometry = GetPropType<TypeTag, Properties::GridGeometry>; using FVElementGeometry = typename GridGeometry::LocalView; using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace; diff --git a/test/multidomain/boundary/stokesdarcy/1p2c_2p2c/problem_darcy.hh b/test/multidomain/boundary/stokesdarcy/1p2c_2p2c/problem_darcy.hh index e7c3aa40accb276ddcaa140f29d2e23f0d91d9f7..e861194670d9ccc5dea39832ddc41781db8a5440 100644 --- a/test/multidomain/boundary/stokesdarcy/1p2c_2p2c/problem_darcy.hh +++ b/test/multidomain/boundary/stokesdarcy/1p2c_2p2c/problem_darcy.hh @@ -28,13 +28,14 @@ #include <dune/grid/yaspgrid.hh> #include <dumux/discretization/cctpfa.hh> -#include <dumux/multidomain/boundary/stokesdarcy/couplingdata.hh> -#include <dumux/porousmediumflow/2p2c/model.hh> -#include <dumux/porousmediumflow/problem.hh> +#include <dumux/common/boundarytypes.hh> #include <dumux/material/fluidsystems/h2oair.hh> +#include <dumux/porousmediumflow/problem.hh> +#include <dumux/porousmediumflow/2p2c/model.hh> + #include "spatialparams.hh" namespace Dumux { @@ -93,7 +94,7 @@ class DarcySubProblem : public PorousMediumFlowProblem<TypeTag> using Scalar = GetPropType<TypeTag, Properties::Scalar>; using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using VolumeVariables = GetPropType<TypeTag, Properties::VolumeVariables>; using FVElementGeometry = typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView; using SubControlVolume = typename FVElementGeometry::SubControlVolume; diff --git a/test/multidomain/boundary/stokesdarcy/1p2c_2p2c/problem_stokes.hh b/test/multidomain/boundary/stokesdarcy/1p2c_2p2c/problem_stokes.hh index 870acc8f3e584cdaa977dacb5d0abbd198bcecef..1dfcb69a13fca9224f2846d1d8589d14a012032a 100644 --- a/test/multidomain/boundary/stokesdarcy/1p2c_2p2c/problem_stokes.hh +++ b/test/multidomain/boundary/stokesdarcy/1p2c_2p2c/problem_stokes.hh @@ -27,13 +27,14 @@ #include <dune/grid/yaspgrid.hh> -#include <dumux/material/fluidsystems/1padapter.hh> -#include <dumux/material/fluidsystems/h2oair.hh> - -#include <dumux/freeflow/navierstokes/problem.hh> #include <dumux/discretization/staggered/freeflow/properties.hh> + #include <dumux/freeflow/compositional/navierstokesncmodel.hh> -#include <dumux/multidomain/boundary/stokesdarcy/couplingdata.hh> +#include <dumux/freeflow/navierstokes/boundarytypes.hh> +#include <dumux/freeflow/navierstokes/problem.hh> + +#include <dumux/material/fluidsystems/1padapter.hh> +#include <dumux/material/fluidsystems/h2oair.hh> namespace Dumux { template <class TypeTag> @@ -97,7 +98,7 @@ class StokesSubProblem : public NavierStokesProblem<TypeTag> using Scalar = GetPropType<TypeTag, Properties::Scalar>; using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>; using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::NavierStokesBoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using GridGeometry = GetPropType<TypeTag, Properties::GridGeometry>; using FVElementGeometry = typename GridGeometry::LocalView; diff --git a/test/multidomain/boundary/stokesdarcy/1p3c_1p3c/problem_darcy.hh b/test/multidomain/boundary/stokesdarcy/1p3c_1p3c/problem_darcy.hh index 8a6e9b257306ec3f14905c761769f0b0ef3a47c8..13555be963a0288e23a39d1c511d3937818f59a4 100644 --- a/test/multidomain/boundary/stokesdarcy/1p3c_1p3c/problem_darcy.hh +++ b/test/multidomain/boundary/stokesdarcy/1p3c_1p3c/problem_darcy.hh @@ -28,15 +28,15 @@ #include <dune/grid/yaspgrid.hh> #include <dumux/discretization/cctpfa.hh> -#include <dumux/flux/maxwellstefanslaw.hh> -#include <dumux/porousmediumflow/1pnc/model.hh> -#include <dumux/porousmediumflow/problem.hh> +#include <dumux/common/boundarytypes.hh> + +#include <dumux/flux/maxwellstefanslaw.hh> #include <dumux/material/fluidmatrixinteractions/diffusivityconstanttortuosity.hh> -// for StokesDarcyCouplingOptions -#include <dumux/multidomain/boundary/stokesdarcy/couplingdata.hh> +#include <dumux/porousmediumflow/1pnc/model.hh> +#include <dumux/porousmediumflow/problem.hh> #include "../1p2c_1p2c/spatialparams.hh" #include "h2n2co2fluidsystem.hh" @@ -101,7 +101,7 @@ class DarcySubProblem : public PorousMediumFlowProblem<TypeTag> using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using FVElementGeometry = typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView; using SubControlVolume = typename FVElementGeometry::SubControlVolume; using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace; diff --git a/test/multidomain/boundary/stokesdarcy/1p3c_1p3c/problem_stokes.hh b/test/multidomain/boundary/stokesdarcy/1p3c_1p3c/problem_stokes.hh index 02bbddeb37c5d38505344930b646910985d6d8ca..5b16159b3ac5217ce3fd2d418a50c51dabab7390 100644 --- a/test/multidomain/boundary/stokesdarcy/1p3c_1p3c/problem_stokes.hh +++ b/test/multidomain/boundary/stokesdarcy/1p3c_1p3c/problem_stokes.hh @@ -27,15 +27,15 @@ #include <dune/grid/yaspgrid.hh> -#include "h2n2co2fluidsystem.hh" -#include <dumux/flux/maxwellstefanslaw.hh> - -#include <dumux/freeflow/navierstokes/problem.hh> #include <dumux/discretization/staggered/freeflow/properties.hh> + #include <dumux/freeflow/compositional/navierstokesncmodel.hh> +#include <dumux/freeflow/navierstokes/boundarytypes.hh> +#include <dumux/freeflow/navierstokes/problem.hh> + +#include <dumux/flux/maxwellstefanslaw.hh> -// for StokesDarcyCouplingOptions -#include <dumux/multidomain/boundary/stokesdarcy/couplingdata.hh> +#include "h2n2co2fluidsystem.hh" namespace Dumux { template <class TypeTag> @@ -93,7 +93,7 @@ class StokesSubProblem : public NavierStokesProblem<TypeTag> using Scalar = GetPropType<TypeTag, Properties::Scalar>; using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::NavierStokesBoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using GridGeometry = GetPropType<TypeTag, Properties::GridGeometry>; using FVElementGeometry = typename GridGeometry::LocalView; using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace; diff --git a/test/multidomain/boundary/stokesdarcy/1p_1p/convergencetest/problem_darcy.hh b/test/multidomain/boundary/stokesdarcy/1p_1p/convergencetest/problem_darcy.hh index f11e18d02adccb21063403251f19ca7ff26e577d..e1a116a2ff9a2811b66c64c0df1e82277f85fecd 100644 --- a/test/multidomain/boundary/stokesdarcy/1p_1p/convergencetest/problem_darcy.hh +++ b/test/multidomain/boundary/stokesdarcy/1p_1p/convergencetest/problem_darcy.hh @@ -30,15 +30,17 @@ #include <dumux/discretization/cctpfa.hh> +#include <dumux/common/boundarytypes.hh> + +#include <dumux/material/components/constant.hh> +#include <dumux/material/fluidsystems/1pliquid.hh> + #include <dumux/porousmediumflow/1p/model.hh> #include <dumux/porousmediumflow/problem.hh> #include "spatialparams.hh" #include "testcase.hh" -#include <dumux/material/components/constant.hh> -#include <dumux/material/fluidsystems/1pliquid.hh> - namespace Dumux { template <class TypeTag> class DarcySubProblem; @@ -86,7 +88,7 @@ class DarcySubProblem : public PorousMediumFlowProblem<TypeTag> using Scalar = GetPropType<TypeTag, Properties::Scalar>; using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using VolumeVariables = GetPropType<TypeTag, Properties::VolumeVariables>; using FVElementGeometry = typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView; using SubControlVolume = typename FVElementGeometry::SubControlVolume; diff --git a/test/multidomain/boundary/stokesdarcy/1p_1p/convergencetest/problem_stokes.hh b/test/multidomain/boundary/stokesdarcy/1p_1p/convergencetest/problem_stokes.hh index dd2d66d2ecbd7e4d6b3f6f9f9773169db8f92cda..8c03263bdf6d4f3652eecc602fa0c7db46a82cca 100644 --- a/test/multidomain/boundary/stokesdarcy/1p_1p/convergencetest/problem_stokes.hh +++ b/test/multidomain/boundary/stokesdarcy/1p_1p/convergencetest/problem_stokes.hh @@ -28,12 +28,15 @@ #include <dune/common/fvector.hh> #include <dune/grid/yaspgrid.hh> +#include <dumux/discretization/staggered/freeflow/properties.hh> + +#include <dumux/freeflow/navierstokes/boundarytypes.hh> +#include <dumux/freeflow/navierstokes/model.hh> +#include <dumux/freeflow/navierstokes/problem.hh> + #include <dumux/material/fluidsystems/1pliquid.hh> #include <dumux/material/components/constant.hh> -#include <dumux/freeflow/navierstokes/problem.hh> -#include <dumux/discretization/staggered/freeflow/properties.hh> -#include <dumux/freeflow/navierstokes/model.hh> #include "testcase.hh" namespace Dumux { @@ -79,7 +82,7 @@ class FreeFlowSubProblem : public NavierStokesProblem<TypeTag> { using ParentType = NavierStokesProblem<TypeTag>; using Scalar = GetPropType<TypeTag, Properties::Scalar>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::NavierStokesBoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using GridGeometry = GetPropType<TypeTag, Properties::GridGeometry>; using GridView = typename GridGeometry::GridView; using FVElementGeometry = typename GridGeometry::LocalView; diff --git a/test/multidomain/boundary/stokesdarcy/1p_1p/problem_darcy.hh b/test/multidomain/boundary/stokesdarcy/1p_1p/problem_darcy.hh index 2d55392b558e82c5e9b51966b03544ca66572ae2..bfeb060efde31a38f52f0e43dd0b8f1f11bc4a46 100644 --- a/test/multidomain/boundary/stokesdarcy/1p_1p/problem_darcy.hh +++ b/test/multidomain/boundary/stokesdarcy/1p_1p/problem_darcy.hh @@ -29,14 +29,16 @@ #include <dumux/discretization/cctpfa.hh> +#include <dumux/common/boundarytypes.hh> + +#include <dumux/material/fluidsystems/1pliquid.hh> +#include <dumux/material/components/simpleh2o.hh> + #include <dumux/porousmediumflow/1p/model.hh> #include <dumux/porousmediumflow/problem.hh> #include "spatialparams.hh" -#include <dumux/material/components/simpleh2o.hh> -#include <dumux/material/fluidsystems/1pliquid.hh> - namespace Dumux { template <class TypeTag> class DarcySubProblem; @@ -80,7 +82,7 @@ class DarcySubProblem : public PorousMediumFlowProblem<TypeTag> using Scalar = GetPropType<TypeTag, Properties::Scalar>; using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using VolumeVariables = GetPropType<TypeTag, Properties::VolumeVariables>; using FVElementGeometry = typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView; using SubControlVolume = typename FVElementGeometry::SubControlVolume; diff --git a/test/multidomain/boundary/stokesdarcy/1p_1p/problem_stokes.hh b/test/multidomain/boundary/stokesdarcy/1p_1p/problem_stokes.hh index 2b2f7170d70b959e27383736df728f4d8abb72ad..bdfc62aaca6069663ba3c4d771bede14d3068b90 100644 --- a/test/multidomain/boundary/stokesdarcy/1p_1p/problem_stokes.hh +++ b/test/multidomain/boundary/stokesdarcy/1p_1p/problem_stokes.hh @@ -27,12 +27,14 @@ #include <dune/grid/yaspgrid.hh> -#include <dumux/material/fluidsystems/1pliquid.hh> -#include <dumux/material/components/simpleh2o.hh> - -#include <dumux/freeflow/navierstokes/problem.hh> #include <dumux/discretization/staggered/freeflow/properties.hh> + +#include <dumux/freeflow/navierstokes/boundarytypes.hh> #include <dumux/freeflow/navierstokes/model.hh> +#include <dumux/freeflow/navierstokes/problem.hh> + +#include <dumux/material/fluidsystems/1pliquid.hh> +#include <dumux/material/components/simpleh2o.hh> namespace Dumux { template <class TypeTag> @@ -84,7 +86,7 @@ class StokesSubProblem : public NavierStokesProblem<TypeTag> using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::NavierStokesBoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using GridGeometry = GetPropType<TypeTag, Properties::GridGeometry>; using FVElementGeometry = typename GridGeometry::LocalView; diff --git a/test/multidomain/boundary/stokesdarcy/1p_2p/problem_darcy.hh b/test/multidomain/boundary/stokesdarcy/1p_2p/problem_darcy.hh index ccd7513a64f14e3f19be007916b406aaa52e395e..f92a3933ea25f4047f68b12a81d1a83f3957a775 100644 --- a/test/multidomain/boundary/stokesdarcy/1p_2p/problem_darcy.hh +++ b/test/multidomain/boundary/stokesdarcy/1p_2p/problem_darcy.hh @@ -29,6 +29,8 @@ #include <dumux/discretization/cctpfa.hh> +#include <dumux/common/boundarytypes.hh> + #include <dumux/porousmediumflow/2p/model.hh> #include <dumux/porousmediumflow/problem.hh> @@ -82,7 +84,7 @@ class DarcySubProblem : public PorousMediumFlowProblem<TypeTag> using Scalar = GetPropType<TypeTag, Properties::Scalar>; using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using GridVariables = GetPropType<TypeTag, Properties::GridVariables>; using ElementVolumeVariables = typename GridVariables::GridVolumeVariables::LocalView; using ElementFluxVariablesCache = typename GridVariables::GridFluxVariablesCache::LocalView; diff --git a/test/multidomain/boundary/stokesdarcy/1p_2p/problem_stokes.hh b/test/multidomain/boundary/stokesdarcy/1p_2p/problem_stokes.hh index 7b61225cdc62d3691ea813c5b87aa8cd77d8352e..78757dad664ce3ab491e7ee68390e758b6fc5bb3 100644 --- a/test/multidomain/boundary/stokesdarcy/1p_2p/problem_stokes.hh +++ b/test/multidomain/boundary/stokesdarcy/1p_2p/problem_stokes.hh @@ -27,9 +27,11 @@ #include <dune/grid/yaspgrid.hh> -#include <dumux/freeflow/navierstokes/problem.hh> #include <dumux/discretization/staggered/freeflow/properties.hh> + +#include <dumux/freeflow/navierstokes/boundarytypes.hh> #include <dumux/freeflow/navierstokes/model.hh> +#include <dumux/freeflow/navierstokes/problem.hh> namespace Dumux { template <class TypeTag> @@ -75,7 +77,7 @@ class StokesSubProblem : public NavierStokesProblem<TypeTag> using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::NavierStokesBoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using GridGeometry = GetPropType<TypeTag, Properties::GridGeometry>; using FVElementGeometry = typename GridGeometry::LocalView;