Commit 425ddbc0 by Maziar Veyskarami Committed by Ned Coltman

parent 8be418bd
 ... ... @@ -24,65 +24,11 @@ #ifndef DUMUX_EXERCISE_FLUIDSYSTEM_B_PROBLEM_HH #define DUMUX_EXERCISE_FLUIDSYSTEM_B_PROBLEM_HH // The grid manager #include // The numerical model #include // The box discretization #include // The base porous media box problem #include #include // Spatially dependent parameters #include "spatialparams.hh" // The fluid system that is created in this exercise #include "fluidsystems/h2omycompressiblecomponent.hh" namespace Dumux{ // Forward declaration of the problem class template class ExerciseFluidsystemProblemTwoPTwoC; namespace Properties { // Create a new type tag for the problem // Create new type tags namespace TTag { struct ExerciseFluidsystemTwoPTwoC { using InheritsFrom = std::tuple; }; } // end namespace TTag // Set the "Problem" property template struct Problem { using type = ExerciseFluidsystemProblemTwoPTwoC; }; // Set the spatial parameters template struct SpatialParams { private: using FVGridGeometry = GetPropType; using Scalar = GetPropType; public: using type = ExerciseFluidsystemSpatialParams; }; // Set grid and the grid creator to be used template struct Grid { using type = Dune::YaspGrid<2>; }; // The fluid system property template struct FluidSystem { private: using Scalar = GetPropType; public: using type = FluidSystems::H2OMyCompressibleComponent; }; } namespace Dumux { /*! * \ingroup TwoPBoxModel ... ...
 // -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- // vi: set et ts=4 sw=4 sts=4: /***************************************************************************** * See the file COPYING for full copying permissions. * * * * This program is free software: you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation, either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program. If not, see . * *****************************************************************************/ /*! * \file * * \brief The properties file for two phase-two component exercise-fluidsystem. */ #ifndef DUMUX_EXERCISE_FLUIDSYSTEM_B_PROPERTIES_HH #define DUMUX_EXERCISE_FLUIDSYSTEM_B_PROPERTIES_HH // The grid manager #include // The numerical model #include // The box discretization #include // Spatially dependent parameters #include "spatialparams.hh" // The fluid system that is created in this exercise #include "fluidsystems/h2omycompressiblecomponent.hh" // The problem file, where setup-specific boundary and initial conditions are defined. #include"2p2cproblem.hh" namespace Dumux::Properties { // Create a new type tag for the problem // Create new type tags namespace TTag { struct ExerciseFluidsystemTwoPTwoC { using InheritsFrom = std::tuple; }; } // end namespace TTag // Set the "Problem" property template struct Problem { using type = ExerciseFluidsystemProblemTwoPTwoC; }; // Set the spatial parameters template struct SpatialParams { private: using FVGridGeometry = GetPropType; using Scalar = GetPropType; public: using type = ExerciseFluidsystemSpatialParams; }; // Set grid and the grid creator to be used template struct Grid { using type = Dune::YaspGrid<2>; }; // The fluid system property template struct FluidSystem { private: using Scalar = GetPropType; public: using type = FluidSystems::H2OMyCompressibleComponent; }; } // end namespace Dumux::Properties #endif
 ... ... @@ -33,7 +33,7 @@ #include #include "2pproperties.hh" #include "2p2cproblem.hh" #include "2p2cproperties.hh" #include #include ... ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!