diff --git a/exercises/exercise-coupling-ff-pm/interface/freeflowsubproblem.hh b/exercises/exercise-coupling-ff-pm/interface/freeflowsubproblem.hh index 11407d6ffaa90bebd07396b897dff3f751a570cc..3478a08069db7e2d4fb9f989f6f0a33bb53079ae 100644 --- a/exercises/exercise-coupling-ff-pm/interface/freeflowsubproblem.hh +++ b/exercises/exercise-coupling-ff-pm/interface/freeflowsubproblem.hh @@ -23,7 +23,7 @@ #ifndef DUMUX_STOKES_SUBPROBLEM_HH #define DUMUX_STOKES_SUBPROBLEM_HH -#include <dumux/freeflow/navierstokes/problem.hh> +#include <dumux/freeflow/navierstokes/staggered/problem.hh> #include <dumux/freeflow/navierstokes/boundarytypes.hh> #include <dumux/common/properties.hh> #include <dumux/common/boundarytypes.hh> @@ -35,9 +35,9 @@ namespace Dumux { * \brief The free flow sub problem */ template <class TypeTag> -class FreeFlowSubProblem : public NavierStokesProblem<TypeTag> +class FreeFlowSubProblem : public NavierStokesStaggeredProblem<TypeTag> { - using ParentType = NavierStokesProblem<TypeTag>; + using ParentType = NavierStokesStaggeredProblem<TypeTag>; using GridView = typename GetPropType<TypeTag, Properties::GridGeometry>::GridView; using Scalar = GetPropType<TypeTag, Properties::Scalar>; diff --git a/exercises/exercise-coupling-ff-pm/models/freeflowsubproblem.hh b/exercises/exercise-coupling-ff-pm/models/freeflowsubproblem.hh index 71a3393c42e47de1db1fa51c803adb9cc88dc15e..5214551d1e5014268502a8c27fcab5a42b195980 100644 --- a/exercises/exercise-coupling-ff-pm/models/freeflowsubproblem.hh +++ b/exercises/exercise-coupling-ff-pm/models/freeflowsubproblem.hh @@ -29,7 +29,7 @@ #include <dumux/common/timeloop.hh> #include <dumux/common/numeqvector.hh> -#include <dumux/freeflow/navierstokes/problem.hh> +#include <dumux/freeflow/navierstokes/staggered/problem.hh> #include <dumux/freeflow/navierstokes/boundarytypes.hh> namespace Dumux { @@ -40,9 +40,9 @@ namespace Dumux { * Horizontal flow from left to right with a parabolic velocity profile. */ template <class TypeTag> -class FreeFlowSubProblem : public NavierStokesProblem<TypeTag> +class FreeFlowSubProblem : public NavierStokesStaggeredProblem<TypeTag> { - using ParentType = NavierStokesProblem<TypeTag>; + using ParentType = NavierStokesStaggeredProblem<TypeTag>; using GridView = typename GetPropType<TypeTag, Properties::GridGeometry>::GridView; using Scalar = GetPropType<TypeTag, Properties::Scalar>; diff --git a/exercises/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh b/exercises/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh index e6ce2d515be6657aeca7e9a4cad14442f8c5bafb..9a2e778e207dba8226fee359925bd38492317a07 100644 --- a/exercises/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh +++ b/exercises/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh @@ -31,7 +31,7 @@ // TODO: dumux-course-task 3.A // Include headers for turbulence problem (rans) here. -#include <dumux/freeflow/navierstokes/problem.hh> +#include <dumux/freeflow/navierstokes/staggered/problem.hh> #include <dumux/freeflow/navierstokes/boundarytypes.hh> namespace Dumux { @@ -41,9 +41,9 @@ namespace Dumux { template <class TypeTag> // TODO: dumux-course-task 3.A // Adapt the inheritance of the problem class. -class FreeFlowSubProblem : public NavierStokesProblem<TypeTag> +class FreeFlowSubProblem : public NavierStokesStaggeredProblem<TypeTag> { - using ParentType = NavierStokesProblem<TypeTag>; + using ParentType = NavierStokesStaggeredProblem<TypeTag>; using GridView = typename GetPropType<TypeTag, Properties::GridGeometry>::GridView; using Scalar = GetPropType<TypeTag, Properties::Scalar>; diff --git a/exercises/solution/exercise-coupling-ff-pm/interface/freeflowsubproblem.hh b/exercises/solution/exercise-coupling-ff-pm/interface/freeflowsubproblem.hh index dc6ee8c8cf6bf9ada5481a86467c28f65254a24d..453b857233f18a65488a09a061a857e94da2550e 100644 --- a/exercises/solution/exercise-coupling-ff-pm/interface/freeflowsubproblem.hh +++ b/exercises/solution/exercise-coupling-ff-pm/interface/freeflowsubproblem.hh @@ -28,7 +28,7 @@ #include <dumux/common/timeloop.hh> #include <dumux/common/numeqvector.hh> -#include <dumux/freeflow/navierstokes/problem.hh> +#include <dumux/freeflow/navierstokes/staggered/problem.hh> #include <dumux/freeflow/navierstokes/boundarytypes.hh> namespace Dumux { @@ -36,9 +36,9 @@ namespace Dumux { * \brief The free flow sub problem */ template <class TypeTag> -class FreeFlowSubProblem : public NavierStokesProblem<TypeTag> +class FreeFlowSubProblem : public NavierStokesStaggeredProblem<TypeTag> { - using ParentType = NavierStokesProblem<TypeTag>; + using ParentType = NavierStokesStaggeredProblem<TypeTag>; using GridView = typename GetPropType<TypeTag, Properties::GridGeometry>::GridView; using Scalar = GetPropType<TypeTag, Properties::Scalar>; diff --git a/exercises/solution/exercise-coupling-ff-pm/models/freeflowsubproblem.hh b/exercises/solution/exercise-coupling-ff-pm/models/freeflowsubproblem.hh index a94c6a05a15398c4809ea10241fef98f7144f07e..109473e7cadf7cd311616a29c3c96a9be49ca2f5 100644 --- a/exercises/solution/exercise-coupling-ff-pm/models/freeflowsubproblem.hh +++ b/exercises/solution/exercise-coupling-ff-pm/models/freeflowsubproblem.hh @@ -29,7 +29,7 @@ #include <dumux/common/timeloop.hh> #include <dumux/common/numeqvector.hh> -#include <dumux/freeflow/navierstokes/problem.hh> +#include <dumux/freeflow/navierstokes/staggered/problem.hh> #include <dumux/freeflow/navierstokes/boundarytypes.hh> namespace Dumux { @@ -40,9 +40,9 @@ namespace Dumux { * Horizontal flow from left to right with a parabolic velocity profile. */ template <class TypeTag> -class FreeFlowSubProblem : public NavierStokesProblem<TypeTag> +class FreeFlowSubProblem : public NavierStokesStaggeredProblem<TypeTag> { - using ParentType = NavierStokesProblem<TypeTag>; + using ParentType = NavierStokesStaggeredProblem<TypeTag>; using GridView = typename GetPropType<TypeTag, Properties::GridGeometry>::GridView; using Scalar = GetPropType<TypeTag, Properties::Scalar>; diff --git a/exercises/solution/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh b/exercises/solution/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh index b79c81622904e54250345787465a7e675e9dd71a..6aecc5c2dd881a00d14936a1951b693e8a95810b 100644 --- a/exercises/solution/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh +++ b/exercises/solution/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh @@ -27,7 +27,7 @@ #include <dumux/freeflow/rans/problem.hh> #include <dumux/freeflow/rans/boundarytypes.hh> #else -#include <dumux/freeflow/navierstokes/problem.hh> +#include <dumux/freeflow/navierstokes/staggered/problem.hh> #endif #include <dumux/common/timeloop.hh> @@ -48,9 +48,9 @@ class FreeFlowSubProblem : public RANSProblem<TypeTag> { using ParentType = RANSProblem<TypeTag>; #else -class FreeFlowSubProblem : public NavierStokesProblem<TypeTag> +class FreeFlowSubProblem : public NavierStokesStaggeredProblem<TypeTag> { - using ParentType = NavierStokesProblem<TypeTag>; + using ParentType = NavierStokesStaggeredProblem<TypeTag>; #endif using GridView = typename GetPropType<TypeTag, Properties::GridGeometry>::GridView;