diff --git a/tutorial/tutorialproblem_coupled.hh b/tutorial/tutorialproblem_coupled.hh index f7b21113eb0c3cb7879a3cbbaf04ba1b9dba9a9f..a92ad2491ab3d382b4e5ca2693c59453fbcde095 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,