mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 01:07:24 -06:00
started to refresh tutorial_coupled
This commit is contained in:
parent
b91f7ea58d
commit
f59541f834
@ -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(PrimaryVariables)) PrimaryVariables;
|
||||||
typedef typename GET_PROP_TYPE(TypeTag, PTAG(BoundaryTypes)) BoundaryTypes;
|
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(FVElementGeometry)) FVElementGeometry;
|
||||||
|
typedef typename GET_PROP_TYPE(TypeTag, PTAG(FluidSystem)) FluidSystem;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TutorialProblemCoupled(TimeManager &timeManager,
|
TutorialProblemCoupled(TimeManager &timeManager,
|
||||||
const GridView &gridView)
|
const GridView &gridView)
|
||||||
: ParentType(timeManager, 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.
|
// Return the temperature within the domain. We use 10 degrees Celsius.
|
||||||
Scalar temperature(const Element &element,
|
Scalar temperature(const Element &element,
|
||||||
|
Loading…
Reference in New Issue
Block a user