#include <ImmiscibleFluidState.hpp>
|
| ImmiscibleFluidState () |
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state. More...
|
|
const Scalar & | pressure (unsigned phaseIdx) const |
| The pressure of a fluid phase [Pa]. More...
|
|
void | setPressure (unsigned phaseIdx, const Scalar &value) |
| Set the pressure of a phase [Pa]. More...
|
|
const Scalar & | temperature (unsigned) const |
| The temperature of a fluid phase [-]. More...
|
|
void | setTemperature (const Scalar &value) |
| Set the temperature of a phase [-]. More...
|
|
Scalar | moleFraction (unsigned phaseIdx, unsigned compIdx) const |
| The mole fraction of a component in a phase []. More...
|
|
Scalar | massFraction (unsigned phaseIdx, unsigned compIdx) const |
| The mass fraction of a component in a phase []. More...
|
|
Scalar | averageMolarMass (unsigned phaseIdx) const |
| The mean molar mass of a fluid phase [kg/mol]. More...
|
|
Scalar | molarity (unsigned phaseIdx, unsigned compIdx) const |
| The concentration of a component in a phase [mol/m^3]. More...
|
|
const Scalar & | fugacityCoefficient (unsigned phaseIdx, unsigned compIdx) const |
| The fugacity coefficient of a component in a phase []. More...
|
|
Scalar | fugacity (unsigned phaseIdx, unsigned compIdx) const |
| The fugacity of a component in a phase [Pa]. More...
|
|
void | setFugacityCoefficient (unsigned phaseIdx, unsigned compIdx, const Scalar &value) |
| Set the fugacity of a component in a phase []. More...
|
|
const Scalar & | saturation (unsigned phaseIdx) const |
| The saturation of a fluid phase [-]. More...
|
|
void | setSaturation (unsigned phaseIdx, const Scalar &value) |
| Set the saturation of a phase [-]. More...
|
|
const Scalar & | density (unsigned phaseIdx) const |
| The density of a fluid phase [kg/m^3]. More...
|
|
Scalar | molarDensity (unsigned phaseIdx) const |
| The molar density of a fluid phase [mol/m^3]. More...
|
|
Scalar | molarVolume (unsigned phaseIdx) const |
| The molar volume of a fluid phase [m^3/mol]. More...
|
|
void | setDensity (unsigned phaseIdx, const Scalar &value) |
| Set the density of a phase [kg/m^3]. More...
|
|
const Scalar & | viscosity (unsigned phaseIdx) const |
| The viscosity of a fluid phase [-]. More...
|
|
void | setViscosity (unsigned phaseIdx, Scalar value) |
| Set the dynamic viscosity of a phase [Pa s]. More...
|
|
const Scalar & | enthalpy (unsigned phaseIdx) const |
| The specific enthalpy of a fluid phase [J/kg]. More...
|
|
Scalar | internalEnergy (unsigned phaseIdx) const |
| The specific internal energy of a fluid phase [J/kg]. More...
|
|
void | setEnthalpy (unsigned phaseIdx, const Scalar &value) |
| Set the specific enthalpy of a phase [J/kg]. More...
|
|
◆ Scalar
typedef Scalar Opm::ModularFluidState< Scalar , numPhasesV, numComponentsV, FluidStateExplicitPressureModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateEquilibriumTemperatureModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateImmiscibleCompositionModule< Scalar, FluidSystem, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitFugacityModule< Scalar, FluidSystem::numPhases, FluidSystem::numComponents, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitSaturationModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitDensityModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitViscosityModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitEnthalpyModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > >::Scalar |
|
inherited |
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
◆ ImmiscibleFluidState()
template<class Scalar , class FluidSystem >
◆ asImp_() [1/4]
◆ asImp_() [2/4]
◆ asImp_() [3/4]
◆ asImp_() [4/4]
◆ assign()
void Opm::ModularFluidState< Scalar , numPhasesV, numComponentsV, FluidStateExplicitPressureModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateEquilibriumTemperatureModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateImmiscibleCompositionModule< Scalar, FluidSystem, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitFugacityModule< Scalar, FluidSystem::numPhases, FluidSystem::numComponents, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitSaturationModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitDensityModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitViscosityModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitEnthalpyModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > >::assign |
( |
const FluidState & |
fs | ) |
|
|
inlineinherited |
Retrieve all parameters from an arbitrary fluid state.
◆ averageMolarMass()
The mean molar mass of a fluid phase [kg/mol].
The average mass is the mean molar mass of a molecule of the fluid at current composition. It is defined as the sum of the component's molar masses weighted by the current mole fraction:
◆ checkDefined()
void Opm::ModularFluidState< Scalar , numPhasesV, numComponentsV, FluidStateExplicitPressureModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateEquilibriumTemperatureModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateImmiscibleCompositionModule< Scalar, FluidSystem, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitFugacityModule< Scalar, FluidSystem::numPhases, FluidSystem::numComponents, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitSaturationModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitDensityModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitViscosityModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > , FluidStateExplicitEnthalpyModule< Scalar, FluidSystem::numPhases, ImmiscibleFluidState< Scalar, FluidSystem, true > > >::checkDefined |
( |
| ) |
const |
|
inlineinherited |
Make sure that all attributes are defined.
This method does not do anything if the program is not run under valgrind. If it is, then valgrind will print an error message if some attributes of the object have not been properly defined.
◆ density()
The density of a fluid phase [kg/m^3].
◆ enthalpy()
The specific enthalpy of a fluid phase [J/kg].
◆ fugacity()
The fugacity of a component in a phase [Pa].
◆ fugacityCoefficient()
The fugacity coefficient of a component in a phase [].
◆ internalEnergy()
The specific internal energy of a fluid phase [J/kg].
◆ massFraction()
The mass fraction of a component in a phase [].
◆ molarDensity()
The molar density of a fluid phase [mol/m^3].
◆ molarity()
The concentration of a component in a phase [mol/m^3].
This quantity is often called "molar concentration" or just "concentration", but there are many other (though less common) measures for concentration.
http://en.wikipedia.org/wiki/Concentration
◆ molarVolume()
The molar volume of a fluid phase [m^3/mol].
◆ moleFraction()
The mole fraction of a component in a phase [].
◆ pressure()
The pressure of a fluid phase [Pa].
◆ saturation()
The saturation of a fluid phase [-].
◆ setDensity()
Set the density of a phase [kg/m^3].
◆ setEnthalpy()
Set the specific enthalpy of a phase [J/kg].
◆ setFugacityCoefficient()
Set the fugacity of a component in a phase [].
◆ setPressure()
Set the pressure of a phase [Pa].
◆ setSaturation()
Set the saturation of a phase [-].
◆ setTemperature()
Set the temperature of a phase [-].
◆ setViscosity()
Set the dynamic viscosity of a phase [Pa s].
◆ temperature()
The temperature of a fluid phase [-].
◆ viscosity()
The viscosity of a fluid phase [-].
◆ density_
◆ enthalpy_
◆ fugacityCoefficient_
◆ pressure_
◆ saturation_
◆ temperature_
◆ viscosity_
The documentation for this class was generated from the following file:
|