|
enum | |
|
enum | |
|
typedef Scalar | Scalar |
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state.
|
|
const Scalar & | pressure (unsigned phaseIdx) const |
| The pressure of a fluid phase [Pa].
|
|
void | setPressure (unsigned phaseIdx, const Scalar &value) |
| Set the pressure of a phase [Pa].
|
|
template<class FluidState > |
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state.
|
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
const Scalar & | temperature (unsigned) const |
| The temperature of a fluid phase [-].
|
|
void | setTemperature (const Scalar &value) |
| Set the temperature of a phase [-].
|
|
template<class FluidState > |
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state.
|
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
const Scalar & | moleFraction (unsigned phaseIdx, unsigned compIdx) const |
| The mole fraction of a component in a phase [].
|
|
Scalar | massFraction (unsigned phaseIdx, unsigned compIdx) const |
| The mass fraction of a component in a phase [].
|
|
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.
|
|
void | setCompressFactor (unsigned phaseIdx, const Scalar &value) |
|
Scalar | compressFactor (unsigned phaseIdx) const |
|
template<class FluidState > |
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state.
|
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
const Scalar & | K (unsigned compIdx) const |
|
void | setKvalue (unsigned compIdx, const Scalar &value) |
| Set the K value of a component [-].
|
|
const Scalar & | L () const |
| The L value of a composition [-].
|
|
void | setLvalue (const Scalar &value) |
| Set the L value [-].
|
|
Scalar | wilsonK_ (unsigned compIdx) const |
| Wilson formula to calculate K.
|
|
const Scalar & | fugacityCoefficient (unsigned phaseIdx, unsigned compIdx) const |
| The fugacity coefficient of a component in a phase [].
|
|
Scalar | fugacity (unsigned phaseIdx, unsigned compIdx) const |
| The fugacity of a component in a phase [Pa].
|
|
void | setFugacityCoefficient (unsigned phaseIdx, unsigned compIdx, const Scalar &value) |
| Set the fugacity of a component in a phase [].
|
|
template<class FluidState > |
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state.
|
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
const Scalar & | saturation (unsigned phaseIdx) const |
| The saturation of a fluid phase [-].
|
|
void | setSaturation (unsigned phaseIdx, const Scalar &value) |
| Set the saturation of a phase [-].
|
|
template<class FluidState > |
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state.
|
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
const Scalar & | density (unsigned phaseIdx) const |
| The density of a fluid phase [kg/m^3].
|
|
Scalar | molarDensity (unsigned phaseIdx) const |
| The molar density of a fluid phase [mol/m^3].
|
|
Scalar | molarVolume (unsigned phaseIdx) const |
| The molar volume of a fluid phase [m^3/mol].
|
|
void | setDensity (unsigned phaseIdx, const Scalar &value) |
| Set the density of a phase [kg/m^3].
|
|
template<class FluidState > |
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state.
|
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
const Scalar & | viscosity (unsigned phaseIdx) const |
| The viscosity of a fluid phase [-].
|
|
void | setViscosity (unsigned phaseIdx, Scalar value) |
| Set the dynamic viscosity of a phase [Pa s].
|
|
template<class FluidState > |
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state.
|
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
const Scalar & | enthalpy (unsigned phaseIdx) const |
| The specific enthalpy of a fluid phase [J/kg].
|
|
Scalar | internalEnergy (unsigned phaseIdx) const |
| The specific internal energy of a fluid phase [J/kg].
|
|
void | setEnthalpy (unsigned phaseIdx, const Scalar &value) |
| Set the specific enthalpy of a phase [J/kg].
|
|
template<class FluidState > |
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state.
|
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
const Implementation & | asImp_ () const |
|
const Implementation & | asImp_ () const |
|
const Implementation & | asImp_ () const |
|
const Implementation & | asImp_ () const |
|
Scalar | pressure_ [numPhases] |
|
Scalar | temperature_ |
|
std::array< std::array< Scalar, numComponents >, numPhases > | moleFraction_ |
|
std::array< Scalar, numPhases > | averageMolarMass_ |
|
std::array< Scalar, numPhases > | sumMoleFractions_ |
|
std::array< Scalar, numPhases > | Z_ |
|
std::array< Scalar, numComponents > | K_ |
|
Scalar | L_ |
|
Scalar | fugacityCoefficient_ [numPhases][numComponents] |
|
Scalar | saturation_ [numPhases] |
|
Scalar | density_ [numPhases] |
|
Scalar | viscosity_ [numPhases] |
|
Scalar | enthalpy_ [numPhases] |
|