#include <NonEquilibriumFluidState.hpp>
|
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 phaseIdx) const |
| The temperature of a fluid phase [-]. More...
|
|
void | setTemperature (unsigned phaseIdx, const Scalar &value) |
| Set the temperature of a phase [-]. More...
|
|
const 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...
|
|
const 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...
|
|
void | setMoleFraction (unsigned phaseIdx, unsigned compIdx, const Scalar &value) |
| Set the mole fraction of a component in a phase [] and update the average molar mass [kg/mol] according to the current composition of the phase. More...
|
|
void | setCompressFactor (unsigned phaseIdx, const Scalar &value) |
|
Scalar | compressFactor (unsigned phaseIdx) const |
|
const Scalar & | K (unsigned compIdx) const |
|
void | setKvalue (unsigned compIdx, const Scalar &value) |
| Set the K value of a component [-]. More...
|
|
const Scalar & | L () const |
| The L value of a composition [-]. More...
|
|
void | setLvalue (const Scalar &value) |
| Set the L value [-]. More...
|
|
Scalar | wilsonK_ (unsigned compIdx) const |
| Wilson formula to calculate K. 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 & | internalEnergy (unsigned) const |
| The specific internal energy of a fluid phase [J/kg]. More...
|
|
const Scalar & | enthalpy (unsigned) const |
| The specific enthalpy of a fluid phase [J/kg]. More...
|
|
◆ Scalar
typedef Scalar Opm::ModularFluidState< Scalar , numPhasesV, numComponentsV, FluidStateExplicitPressureModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitTemperatureModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitCompositionModule< Scalar, FluidSystem, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitFugacityModule< Scalar, FluidSystem::numPhases, FluidSystem::numComponents, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitSaturationModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitDensityModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitViscosityModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateNullEnthalpyModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > >::Scalar |
|
inherited |
◆ anonymous enum
◆ anonymous enum
◆ asImp_() [1/3]
◆ asImp_() [2/3]
◆ asImp_() [3/3]
◆ assign()
void Opm::ModularFluidState< Scalar , numPhasesV, numComponentsV, FluidStateExplicitPressureModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitTemperatureModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitCompositionModule< Scalar, FluidSystem, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitFugacityModule< Scalar, FluidSystem::numPhases, FluidSystem::numComponents, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitSaturationModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitDensityModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitViscosityModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateNullEnthalpyModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > >::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 molar mass is the mean mass of one mole 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, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitTemperatureModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitCompositionModule< Scalar, FluidSystem, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitFugacityModule< Scalar, FluidSystem::numPhases, FluidSystem::numComponents, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitSaturationModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitDensityModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateExplicitViscosityModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > , FluidStateNullEnthalpyModule< Scalar, FluidSystem::numPhases, NonEquilibriumFluidState< Scalar, FluidSystem, false > > >::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.
◆ compressFactor()
◆ 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].
◆ K()
◆ L()
The L value of a composition [-].
◆ 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 [-].
◆ setCompressFactor()
◆ setDensity()
Set the density of a phase [kg/m^3].
◆ setFugacityCoefficient()
Set the fugacity of a component in a phase [].
◆ setKvalue()
Set the K value of a component [-].
◆ setLvalue()
◆ setMoleFraction()
Set the mole fraction of a component in a phase [] and update the average molar mass [kg/mol] according to the current composition of the 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 [-].
◆ wilsonK_()
Wilson formula to calculate K.
◆ averageMolarMass_
◆ density_
◆ fugacityCoefficient_
◆ K_
◆ L_
◆ moleFraction_
◆ pressure_
◆ saturation_
◆ sumMoleFractions_
◆ temperature_
◆ viscosity_
◆ Z_
The documentation for this class was generated from the following file:
|