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

Implements a "tailor-made" fluid state class for the black-oil model. More...

Go to the source code of this file.

Classes

class  Opm::BlackOilFluidState< ScalarT, FluidSystem, enableTemperature, enableEnergy, enableDissolution, enableVapwat, enableBrine, enableSaltPrecipitation, enableDissolutionInWater, numStoragePhases >
 Implements a "tailor-made" fluid state class for 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.
 

Functions

template<class FluidState >
unsigned Opm::getPvtRegionIndex_ (typename std::enable_if< HasMember_pvtRegionIndex< FluidState >::value, const FluidState & >::type fluidState)
 
template<class FluidState >
unsigned Opm::getPvtRegionIndex_ (typename std::enable_if<!HasMember_pvtRegionIndex< FluidState >::value, const FluidState & >::type)
 
template<class FluidSystem , class FluidState , class LhsEval >
auto Opm::getInvB_ (typename std::enable_if< HasMember_invB< FluidState >::value, const FluidState & >::type fluidState, unsigned phaseIdx, unsigned) -> decltype(decay< LhsEval >(fluidState.invB(phaseIdx)))
 
template<class FluidSystem , class FluidState , class LhsEval >
LhsEval Opm::getInvB_ (typename std::enable_if<!HasMember_invB< FluidState >::value, const FluidState & >::type fluidState, unsigned phaseIdx, unsigned pvtRegionIdx)
 
template<class FluidState >
auto Opm::getSaltConcentration_ (typename std::enable_if< HasMember_saltConcentration< FluidState >::value, const FluidState & >::type fluidState)
 
template<class FluidState >
auto Opm::getSaltConcentration_ (typename std::enable_if<!HasMember_saltConcentration< FluidState >::value, const FluidState & >::type)
 
template<class FluidState >
auto Opm::getSaltSaturation_ (typename std::enable_if< HasMember_saltSaturation< FluidState >::value, const FluidState & >::type fluidState)
 
template<class FluidState >
auto Opm::getSaltSaturation_ (typename std::enable_if<!HasMember_saltSaturation< FluidState >::value, const FluidState & >::type)
 

Detailed Description

Implements a "tailor-made" fluid state class for the black-oil model.

I.e., it uses exactly the same quantities which are used by the ECL blackoil model. Further quantities are computed "on the fly" and are accessing them is thus relatively slow.