Opm::OilPvtMultiplexer< Scalar, enableThermal > Class Template Reference This class represents the Pressure-Volume-Temperature relations of the oil phase in the black-oil model. More...
Detailed Descriptiontemplate<class Scalar, bool enableThermal = true> class Opm::OilPvtMultiplexer< Scalar, enableThermal > This class represents the Pressure-Volume-Temperature relations of the oil phase in the black-oil model. This is the base class which which provides an API for the actual PVT implementation classes which based on dynamic polymorphism. The rationale to use dynamic polymorphism here is that this enables the fluid system to easily switch the used PVT relations for the individual fluid phases. Note that, since the application for this class is the black-oil fluid system, the API exposed by this class is pretty specific to the black-oil model. Constructor & Destructor Documentation◆ OilPvtMultiplexer() [1/3]
template<class Scalar , bool enableThermal = true>
References Opm::NoOilPvt. ◆ OilPvtMultiplexer() [2/3]
template<class Scalar , bool enableThermal = true>
◆ OilPvtMultiplexer() [3/3]
template<class Scalar , bool enableThermal = true>
◆ ~OilPvtMultiplexer()
template<class Scalar , bool enableThermal = true>
Member Function Documentation◆ approach()
template<class Scalar , bool enableThermal = true>
Returns the concrete approach for calculating the PVT relations. (This is only determined at runtime.) Referenced by Opm::OilPvtMultiplexer< Scalar, enableThermal >::getRealPvt(), and Opm::OilPvtMultiplexer< Scalar, enableThermal >::operator==(). ◆ diffusionCoefficient()
template<class Scalar , bool enableThermal = true>
template<class Evaluation >
Calculate the binary molecular diffusion coefficient for a component in a fluid phase [mol^2 * s / (kg*m^3)]. Molecular diffusion of a compoent is caused by a gradient of the mole fraction and follows the law
where is the component's mole fraction in phase , is the diffusion coefficient and is the diffusive flux. References OPM_OIL_PVT_MULTIPLEXER_CALL. Referenced by Opm::OilPvtThermal< Scalar >::diffusionCoefficient(), and Opm::BlackOilFluidSystem< Scalar, IndexTraits >::diffusionCoefficient(). ◆ getRealPvt() [1/10]
template<class Scalar , bool enableThermal = true>
template<OilPvtApproach approachV>
◆ getRealPvt() [2/10]
template<class Scalar , bool enableThermal = true>
template<OilPvtApproach approachV>
◆ getRealPvt() [3/10]
template<class Scalar , bool enableThermal = true>
template<OilPvtApproach approachV>
◆ getRealPvt() [4/10]
template<class Scalar , bool enableThermal = true>
template<OilPvtApproach approachV>
◆ getRealPvt() [5/10]
template<class Scalar , bool enableThermal = true>
template<OilPvtApproach approachV>
◆ getRealPvt() [6/10]
template<class Scalar , bool enableThermal = true>
template<OilPvtApproach approachV>
◆ getRealPvt() [7/10]
template<class Scalar , bool enableThermal = true>
template<OilPvtApproach approachV>
◆ getRealPvt() [8/10]
template<class Scalar , bool enableThermal = true>
template<OilPvtApproach approachV>
◆ getRealPvt() [9/10]
template<class Scalar , bool enableThermal = true>
template<OilPvtApproach approachV>
◆ getRealPvt() [10/10]
template<class Scalar , bool enableThermal = true>
template<OilPvtApproach approachV>
◆ initEnd()
template<class Scalar , bool enableThermal = true>
References OPM_OIL_PVT_MULTIPLEXER_CALL. ◆ internalEnergy()
template<class Scalar , bool enableThermal = true>
template<class Evaluation >
Returns the specific enthalpy [J/kg] oil given a set of parameters. References OPM_OIL_PVT_MULTIPLEXER_CALL. ◆ inverseFormationVolumeFactor()
template<class Scalar , bool enableThermal = true>
template<class Evaluation >
Returns the formation volume factor [-] of the fluid phase. References OPM_OIL_PVT_MULTIPLEXER_CALL. Referenced by Opm::OilPvtThermal< Scalar >::inverseFormationVolumeFactor(). ◆ numRegions()
template<class Scalar , bool enableThermal = true>
Return the number of PVT regions which are considered by this PVT-object. References OPM_OIL_PVT_MULTIPLEXER_CALL. ◆ oilReferenceDensity()
template<class Scalar , bool enableThermal = true>
Return the reference density which are considered by this PVT-object. References OPM_OIL_PVT_MULTIPLEXER_CALL. Referenced by Opm::OilPvtThermal< Scalar >::oilReferenceDensity(). ◆ operator=()
template<class Scalar , bool enableThermal = true>
◆ operator==()
template<class Scalar , bool enableThermal = true>
◆ realOilPvt()
template<class Scalar , bool enableThermal = true>
◆ saturatedGasDissolutionFactor() [1/2]
template<class Scalar , bool enableThermal = true>
template<class Evaluation >
Returns the gas dissolution factor [m^3/m^3] of saturated oil. References OPM_OIL_PVT_MULTIPLEXER_CALL. Referenced by Opm::OilPvtThermal< Scalar >::saturatedGasDissolutionFactor(). ◆ saturatedGasDissolutionFactor() [2/2]
template<class Scalar , bool enableThermal = true>
template<class Evaluation >
Returns the gas dissolution factor [m^3/m^3] of saturated oil. References OPM_OIL_PVT_MULTIPLEXER_CALL. ◆ saturatedInverseFormationVolumeFactor()
template<class Scalar , bool enableThermal = true>
template<class Evaluation >
Returns the formation volume factor [-] of the fluid phase. References OPM_OIL_PVT_MULTIPLEXER_CALL. Referenced by Opm::OilPvtThermal< Scalar >::saturatedInverseFormationVolumeFactor(). ◆ saturatedViscosity()
template<class Scalar , bool enableThermal = true>
template<class Evaluation >
Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. References OPM_OIL_PVT_MULTIPLEXER_CALL. Referenced by Opm::OilPvtThermal< Scalar >::saturatedViscosity(). ◆ saturationPressure()
template<class Scalar , bool enableThermal = true>
template<class Evaluation >
Returns the saturation pressure [Pa] of oil given the mass fraction of the gas component in the oil phase. Calling this method only makes sense for live oil. All other implementations of the black-oil PVT interface will just throw an exception... References OPM_OIL_PVT_MULTIPLEXER_CALL. Referenced by Opm::OilPvtThermal< Scalar >::saturationPressure(). ◆ setApproach()
template<class Scalar , bool enableThermal = true>
◆ viscosity()
template<class Scalar , bool enableThermal = true>
template<class Evaluation >
Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. References OPM_OIL_PVT_MULTIPLEXER_CALL. Referenced by Opm::OilPvtThermal< Scalar >::viscosity(). The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||