My Project
Loading...
Searching...
No Matches
WaterPvtMultiplexer.hpp File Reference

This class represents the Pressure-Volume-Temperature relations of the water phase in the black-oil model. More...

Go to the source code of this file.

Classes

class  Opm::WaterPvtMultiplexer< Scalar, enableThermal, enableBrine >
 This class represents the Pressure-Volume-Temperature relations of the water phase in the black-oil model. More...
 

Namespaces

namespace  Opm
 This class implements a small container which holds the transmissibility mulitpliers for all the faces in the grid.
 

Macros

#define OPM_WATER_PVT_MULTIPLEXER_CALL(codeToCall)
 

Enumerations

enum class  WaterPvtApproach {
  NoWater , ConstantCompressibilityBrine , ConstantCompressibilityWater , ThermalWater ,
  BrineCo2 , BrineH2
}
 

Detailed Description

This class represents the Pressure-Volume-Temperature relations of the water phase in the black-oil model.

Macro Definition Documentation

◆ OPM_WATER_PVT_MULTIPLEXER_CALL

#define OPM_WATER_PVT_MULTIPLEXER_CALL (   codeToCall)
Value:
switch (approach_) { \
case WaterPvtApproach::ConstantCompressibilityWater: { \
auto& pvtImpl = getRealPvt<WaterPvtApproach::ConstantCompressibilityWater>(); \
codeToCall; \
break; \
} \
case WaterPvtApproach::ConstantCompressibilityBrine: { \
auto& pvtImpl = getRealPvt<WaterPvtApproach::ConstantCompressibilityBrine>(); \
codeToCall; \
break; \
} \
case WaterPvtApproach::ThermalWater: { \
auto& pvtImpl = getRealPvt<WaterPvtApproach::ThermalWater>(); \
codeToCall; \
break; \
} \
case WaterPvtApproach::BrineCo2: { \
auto& pvtImpl = getRealPvt<WaterPvtApproach::BrineCo2>(); \
codeToCall; \
break; \
} \
case WaterPvtApproach::BrineH2: { \
auto& pvtImpl = getRealPvt<WaterPvtApproach::BrineH2>(); \
codeToCall; \
break; \
} \
case WaterPvtApproach::NoWater: \
throw std::logic_error("Not implemented: Water PVT of this deck!"); \
}