From 867a97555b20e4fbf09e216afee2d71fe99075cf Mon Sep 17 00:00:00 2001 From: Klaus Mosthaf <klmos@env.dtu.dk> Date: Fri, 15 Oct 2010 15:11:37 +0000 Subject: [PATCH] started to refresh tutorial_coupled git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@4449 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- tutorial/tutorialproblem_coupled.hh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tutorial/tutorialproblem_coupled.hh b/tutorial/tutorialproblem_coupled.hh index f7b21113eb..a92ad2491a 100644 --- a/tutorial/tutorialproblem_coupled.hh +++ b/tutorial/tutorialproblem_coupled.hh @@ -112,12 +112,24 @@ class TutorialProblemCoupled : public TwoPProblem<TypeTag> /*@\label{tutorial-co typedef typename GET_PROP_TYPE(TypeTag, PTAG(PrimaryVariables)) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, PTAG(BoundaryTypes)) BoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, PTAG(FVElementGeometry)) FVElementGeometry; + typedef typename GET_PROP_TYPE(TypeTag, PTAG(FluidSystem)) FluidSystem; public: TutorialProblemCoupled(TimeManager &timeManager, const GridView &gridView) : ParentType(timeManager, gridView) - {} + { + // initialize the tables of the fluid system + FluidSystem::init(); + } + + /*! + * \brief The problem name. + * + * This is used as a prefix for files generated by the simulation. + */ + const char *name() const + { return "tutorial_coupled"; } // Return the temperature within the domain. We use 10 degrees Celsius. Scalar temperature(const Element &element, -- GitLab