30 #ifndef OPM_FLOW_GASWATER_ENERGY_TYPETAG_HPP 31 #define OPM_FLOW_GASWATER_ENERGY_TYPETAG_HPP 33 #include <opm/material/thermal/EnergyModuleType.hpp> 44 using InheritsFrom = std::tuple<FlowProblem>;
51 using InheritsFrom = std::tuple<FlowGasWaterEnergyProblem>;
66 template <
class TypeTag>
68 static constexpr
bool value =
false;
71 template <
class TypeTag>
73 static constexpr
bool value =
false;
76 template <
class TypeTag>
78 static constexpr
bool value =
true;
81 template<
class TypeTag>
84 template<
class TypeTag>
87 template<
class TypeTag>
88 struct EnableDiffusion<TypeTag, TTag::FlowGasWaterEnergyProblem> {
static constexpr
bool value =
true; };
90 template<
class TypeTag>
91 struct EnableDispersion<TypeTag, TTag::FlowGasWaterEnergyProblem> {
static constexpr
bool value =
true; };
93 template<
class TypeTag>
95 {
static constexpr EnergyModules value = EnergyModules::FullyImplicitThermal; };
97 template<
class TypeTag>
99 static constexpr
bool value =
true;
102 template<
class TypeTag>
104 static constexpr
bool value =
true;
108 template<
class TypeTag>
109 struct Indices<TypeTag, TTag::FlowGasWaterEnergyProblem>
116 static constexpr EnergyModules energyModuleType = getPropValue<TypeTag, Properties::EnergyModuleType>();
117 static constexpr
int numEnergyVars = energyModuleType == EnergyModules::FullyImplicitThermal;
120 getPropValue<TypeTag, Properties::EnableExtbo>(),
121 getPropValue<TypeTag, Properties::EnablePolymer>(),
123 getPropValue<TypeTag, Properties::EnableFoam>(),
124 getPropValue<TypeTag, Properties::EnableBrine>(),
126 FluidSystem::oilCompIdx,
127 getPropValue<TypeTag, Properties::EnableBioeffects>()>;
132 #endif // OPM_FLOW_GASWATER_ENERGY_TYPETAG_HPP typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(...))
Definition: propertysystem.hh:233
Enable dispersive fluxes?
Definition: multiphasebaseproperties.hh:95
The type of the local residual function.
Definition: fvbaseproperties.hh:100
Enumerations used by the model.
Definition: multiphasebaseproperties.hh:51
Enable the ECL-blackoil extension for disolution of gas into water.
Definition: blackoilproperties.hh:79
Enable the ECL-blackoil extension for water evaporation.
Definition: blackoilproperties.hh:75
Calculates the local residual of the black oil model.
Definition: blackoillocalresidualtpfa.hh:66
Definition: BlackoilModelProperties.hpp:41
Calculates the local residual of the black oil model.
The common code for the linearizers of non-linear systems of equations.
The primary variable and equation indices for the black-oil model.
Definition: blackoiltwophaseindices.hh:52
Specifies who temperature is modeled by the simulator.
Definition: blackoilproperties.hh:108
The common code for the linearizers of non-linear systems of equations.
Definition: tpfalinearizer.hh:119
Specify whether energy should be considered as a conservation quantity or not.
Definition: multiphasebaseproperties.hh:87
Definition: FlowGasWaterEnergyTypeTag.hpp:43
The class which linearizes the non-linear system of equations.
Definition: newtonmethodproperties.hh:36
The primary variable and equation indices for the black-oil model.
GPU-simulation variant: all physics properties are inherited from FlowGasWaterEnergyProblem; the GPU-...
Definition: FlowGasWaterEnergyTypeTag.hpp:50
Definition: blackoilmodel.hh:75
Enable diffusive fluxes?
Definition: multiphasebaseproperties.hh:91