Module for the modular fluid state which stores the phase compositions explicitly in terms of mole fractions.
More...
#include <FluidStateCompositionModules.hpp>
|
| FluidStateExplicitCompositionModule () |
|
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...
|
|
template<class FluidState > |
void | assign (const FluidState &fs) |
| Retrieve all parameters from an arbitrary fluid state. More...
|
|
void | checkDefined () const |
| Make sure that all attributes are defined. More...
|
|
|
const Implementation & | asImp_ () const |
|
template<class Scalar, class FluidSystem, class Implementation>
class Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, Implementation >
Module for the modular fluid state which stores the phase compositions explicitly in terms of mole fractions.
template<class Scalar, class FluidSystem, class Implementation>
template<class Scalar, class FluidSystem, class Implementation>
template<class Scalar, class FluidSystem, class Implementation>
template<class FluidState >
Retrieve all parameters from an arbitrary fluid state.
template<class Scalar, class FluidSystem, class Implementation>
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:
template<class Scalar, class FluidSystem, class Implementation>
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.
template<class Scalar, class FluidSystem, class Implementation>
The mass fraction of a component in a phase [].
template<class Scalar, class FluidSystem, class Implementation>
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
template<class Scalar, class FluidSystem, class Implementation>
template<class Scalar, class FluidSystem, class Implementation>
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.
template<class Scalar, class FluidSystem, class Implementation>
Referenced by Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::assign(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::averageMolarMass(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::checkDefined(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::FluidStateExplicitCompositionModule(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::massFraction(), and Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::setMoleFraction().
template<class Scalar, class FluidSystem, class Implementation>
Referenced by Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::assign(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::checkDefined(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::FluidStateExplicitCompositionModule(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::massFraction(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::moleFraction(), and Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::setMoleFraction().
template<class Scalar, class FluidSystem, class Implementation>
Referenced by Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::assign(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::checkDefined(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::FluidStateExplicitCompositionModule(), Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::massFraction(), and Opm::FluidStateExplicitCompositionModule< Scalar, FluidSystem, CompositionalFluidState< Scalar, FluidSystem, false > >::setMoleFraction().
The documentation for this class was generated from the following file:
|