|
| OPM_HOST_DEVICE | BlackOilFluidState (const FluidSystem &fluidSystem) |
| | Construct a fluid state object. More...
|
| |
| template<class OtherFluidSystemType > |
| auto | withOtherFluidSystem (const OtherFluidSystemType &other) const |
| | Create a new fluid state object with a different fluid system. More...
|
| |
| OPM_HOST_DEVICE | BlackOilFluidState () |
| | Construct a fluid state object. More...
|
| |
| void | checkDefined () const |
| | Make sure that all attributes are defined. More...
|
| |
|
template<class FluidState > |
| OPM_HOST_DEVICE void | assign (const FluidState &fs) |
| | Retrieve all parameters from an arbitrary fluid state.
|
| |
| OPM_HOST_DEVICE void | setPvtRegionIndex (unsigned newPvtRegionIdx) |
| | Set the index of the fluid region. More...
|
| |
|
OPM_HOST_DEVICE void | setPressure (unsigned phaseIdx, const ValueType &p) |
| | Set the pressure of a fluid phase [-].
|
| |
|
OPM_HOST_DEVICE void | setSaturation (unsigned phaseIdx, const ValueType &S) |
| | Set the saturation of a fluid phase [-].
|
| |
|
OPM_HOST_DEVICE void | setTotalSaturation (const ValueType &value) |
| | Set the total saturation used for sequential methods.
|
| |
| OPM_HOST_DEVICE void | setTemperature (const ValueType &value) |
| | Set the temperature [K]. More...
|
| |
| OPM_HOST_DEVICE void | setEnthalpy (unsigned phaseIdx, const ValueType &value) |
| | Set the specific enthalpy [J/kg] of a given fluid phase. More...
|
| |
|
OPM_HOST_DEVICE void | setInvB (unsigned phaseIdx, const ValueType &b) |
| | \ brief Set the inverse formation volume factor of a fluid phase
|
| |
|
OPM_HOST_DEVICE void | setDensity (unsigned phaseIdx, const ValueType &rho) |
| | \ brief Set the density of a fluid phase
|
| |
| OPM_HOST_DEVICE void | setRs (const ValueType &newRs) |
| | Set the gas dissolution factor [m^3/m^3] of the oil phase. More...
|
| |
| OPM_HOST_DEVICE void | setRv (const ValueType &newRv) |
| | Set the oil vaporization factor [m^3/m^3] of the gas phase. More...
|
| |
| OPM_HOST_DEVICE void | setRvw (const ValueType &newRvw) |
| | Set the water vaporization factor [m^3/m^3] of the gas phase. More...
|
| |
| OPM_HOST_DEVICE void | setRsw (const ValueType &newRsw) |
| | Set the gas dissolution factor [m^3/m^3] of the water phase. More...
|
| |
|
OPM_HOST_DEVICE void | setSaltConcentration (const ValueType &newSaltConcentration) |
| | Set the salt concentration.
|
| |
|
OPM_HOST_DEVICE void | setSaltSaturation (const ValueType &newSaltSaturation) |
| | Set the solid salt saturation.
|
| |
|
OPM_HOST_DEVICE void | setSolventSaturation (const ValueType &newSolventSaturation) |
| | Set the solvent saturation.
|
| |
|
OPM_HOST_DEVICE void | setSolventDensity (const ValueType &newSolventDensity) |
| | Set the solvent density [kg/m^3].
|
| |
|
OPM_HOST_DEVICE void | setSolventInvB (const ValueType &newSolventInvB) |
| | Set the solvent inverse formation volume factor [-].
|
| |
|
OPM_HOST_DEVICE void | setRsSolw (const ValueType &newRsSolw) |
| | Set the solvent dissolution factor in water [m^3/m^3].
|
| |
|
OPM_HOST_DEVICE const ValueType & | pressure (unsigned phaseIdx) const |
| | Return the pressure of a fluid phase [Pa].
|
| |
|
OPM_HOST_DEVICE const ValueType & | saturation (unsigned phaseIdx) const |
| | Return the saturation of a fluid phase [-].
|
| |
|
OPM_HOST_DEVICE const ValueType & | totalSaturation () const |
| | Return the total saturation needed for sequential.
|
| |
|
OPM_HOST_DEVICE ValueType | temperature (unsigned) const |
| | Return the temperature [K].
|
| |
| OPM_HOST_DEVICE const ValueType & | invB (unsigned phaseIdx) const |
| | Return the inverse formation volume factor of a fluid phase [-]. More...
|
| |
| OPM_HOST_DEVICE ValueType | Rs () const |
| | Return the gas dissolution factor of oil [m^3/m^3]. More...
|
| |
| OPM_HOST_DEVICE ValueType | Rv () const |
| | Return the oil vaporization factor of gas [m^3/m^3]. More...
|
| |
| OPM_HOST_DEVICE ValueType | Rvw () const |
| | Return the water vaporization factor of gas [m^3/m^3]. More...
|
| |
| OPM_HOST_DEVICE ValueType | Rsw () const |
| | Return the gas dissolution factor of water [m^3/m^3]. More...
|
| |
|
OPM_HOST_DEVICE ValueType | saltConcentration () const |
| | Return the concentration of salt in water.
|
| |
|
OPM_HOST_DEVICE ValueType | saltSaturation () const |
| | Return the saturation of solid salt.
|
| |
|
OPM_HOST_DEVICE ValueType | solventSaturation () const |
| | Return the solvent saturation [-].
|
| |
|
OPM_HOST_DEVICE ValueType | solventDensity () const |
| | Return the solvent density [kg/m^3].
|
| |
|
OPM_HOST_DEVICE ValueType | solventInvB () const |
| | Return the solvent inverse formation volume factor [-].
|
| |
|
OPM_HOST_DEVICE ValueType | rsSolw () const |
| | Return the solvent dissolution factor in water [m^3/m^3].
|
| |
|
OPM_HOST_DEVICE unsigned short | pvtRegionIndex () const |
| | Return the PVT region where the current fluid state is assumed to be part of.
|
| |
|
OPM_HOST_DEVICE ValueType | density (unsigned phaseIdx) const |
| | Return the density [kg/m^3] of a given fluid phase.
|
| |
| OPM_HOST_DEVICE const ValueType & | enthalpy (unsigned phaseIdx) const |
| | Return the specific enthalpy [J/kg] of a given fluid phase. More...
|
| |
| OPM_HOST_DEVICE ValueType | internalEnergy (unsigned phaseIdx) const |
| | Return the specific internal energy [J/kg] of a given fluid phase. More...
|
| |
|
OPM_HOST_DEVICE ValueType | molarDensity (unsigned phaseIdx) const |
| | Return the molar density of a fluid phase [mol/m^3].
|
| |
| OPM_HOST_DEVICE ValueType | molarVolume (unsigned phaseIdx) const |
| | Return the molar volume of a fluid phase [m^3/mol]. More...
|
| |
|
OPM_HOST_DEVICE ValueType | viscosity (unsigned phaseIdx) const |
| | Return the dynamic viscosity of a fluid phase [Pa s].
|
| |
|
OPM_HOST_DEVICE ValueType | massFraction (unsigned phaseIdx, unsigned compIdx) const |
| | Return the mass fraction of a component in a fluid phase [-].
|
| |
|
OPM_HOST_DEVICE ValueType | moleFraction (unsigned phaseIdx, unsigned compIdx) const |
| | Return the mole fraction of a component in a fluid phase [-].
|
| |
|
OPM_HOST_DEVICE ValueType | molarity (unsigned phaseIdx, unsigned compIdx) const |
| | Return the partial molar density of a component in a fluid phase [mol / m^3].
|
| |
|
OPM_HOST_DEVICE ValueType | averageMolarMass (unsigned phaseIdx) const |
| | Return the partial molar density of a fluid phase [kg / mol].
|
| |
|
OPM_HOST_DEVICE ValueType | fugacityCoefficient (unsigned phaseIdx, unsigned compIdx) const |
| | Return the fugacity coefficient of a component in a fluid phase [-].
|
| |
|
OPM_HOST_DEVICE ValueType | fugacity (unsigned phaseIdx, unsigned compIdx) const |
| | Return the fugacity of a component in a fluid phase [Pa].
|
| |
| OPM_HOST_DEVICE bool | phaseIsActive (int phaseIdx) const |
| | Return if a phase is active (via the FluidSystem). More...
|
| |
| OPM_HOST_DEVICE const FluidSystem & | fluidSystem () const |
| | Return the fluid system used by this fluid state. More...
|
| |
template<class ValueT, class FluidSystemT, bool storeTemperature = false, bool storeEnthalpy = false, bool enableDissolution = true, bool enableVapwat = false, bool enableBrine = false, bool enableSaltPrecipitation = false, bool enableDissolutionInWater = false, bool enableSolvent = false, unsigned numStoragePhases = FluidSystemT::numPhases>
class Opm::BlackOilFluidState< ValueT, FluidSystemT, storeTemperature, storeEnthalpy, enableDissolution, enableVapwat, enableBrine, enableSaltPrecipitation, enableDissolutionInWater, enableSolvent, numStoragePhases >
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.