From 2e77fe111f170cc9f6488730899b2eec8a7afa06 Mon Sep 17 00:00:00 2001 From: Ned Coltman <edward.coltman@iws.uni-stuttgart.de> Date: Tue, 4 Apr 2023 17:45:09 +0200 Subject: [PATCH] [exercise][ffpm] cleanup --- .../turbulence/freeflowsubproblem.hh | 1 - .../turbulence/freeflowsubproblem.hh | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exercises/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh b/exercises/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh index 5a68f513..d0147907 100644 --- a/exercises/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh +++ b/exercises/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh @@ -54,7 +54,6 @@ class FreeFlowSubProblem : public NavierStokesStaggeredProblem<TypeTag> // TODO: dumux-course-task 3.A // Change the boundary types to Dumux::RANSBoundaryTypes<ModelTraits, ModelTraits::numEq()> using BoundaryTypes = Dumux::NavierStokesBoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; - using FVGridGeometry = GetPropType<TypeTag, Properties::GridGeometry>; using FVElementGeometry = typename FVGridGeometry::LocalView; using SubControlVolume = typename FVElementGeometry::SubControlVolume; diff --git a/exercises/solution/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh b/exercises/solution/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh index 66dbbc3b..51032a71 100644 --- a/exercises/solution/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh +++ b/exercises/solution/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh @@ -24,9 +24,9 @@ #define DUMUX_FREEFLOW_TURBULENCE_SUBPROBLEM_SOL_HH -#include <dumux/common/timeloop.hh> #include <dumux/common/properties.hh> #include <dumux/common/boundarytypes.hh> +#include <dumux/common/timeloop.hh> #include <dumux/common/numeqvector.hh> #include <dumux/multidomain/boundary/stokesdarcy/couplingdata.hh> @@ -101,7 +101,8 @@ public: refTemperature_ = getParamFromGroup<Scalar>(this->paramGroup(), "Problem.RefTemperature"); diffCoeffAvgType_ = StokesDarcyCouplingOptions::stringToEnum(DiffusionCoefficientAveragingType{}, - getParamFromGroup<std::string>(this->paramGroup(), "Problem.InterfaceDiffusionCoefficientAvg")); + getParamFromGroup<std::string>(this->paramGroup(), + "Problem.InterfaceDiffusionCoefficientAvg")); #if EXNUMBER >=1 FluidSystem::init(); Dumux::TurbulenceProperties<Scalar, dimWorld, true> turbulenceProperties; @@ -207,7 +208,7 @@ public: } /*! - * \brief Evaluate the boundary conditions for a dirichlet values at the boundary. + * \brief Evaluate the boundary conditions for dirichlet values at the boundary. * * \param element The finite element * \param scvf the sub control volume face -- GitLab