Opm::FlashPrimaryVariables< TypeTag > Class Template Reference Represents the primary variables used by the compositional flow model based on flash calculations. More...
Inheritance diagram for Opm::FlashPrimaryVariables< TypeTag >:
Detailed Descriptiontemplate<class TypeTag> class Opm::FlashPrimaryVariables< TypeTag > Represents the primary variables used by the compositional flow model based on flash calculations. This class is basically a Dune::FieldVector which can retrieve its contents from an aribitatry fluid state. Constructor & Destructor Documentation◆ FlashPrimaryVariables() [1/6]
template<class TypeTag >
◆ FlashPrimaryVariables() [2/6]
template<class TypeTag >
Constructor with assignment from scalar.
◆ FlashPrimaryVariables() [3/6]
template<class TypeTag >
◆ FlashPrimaryVariables() [4/6]
template<class TypeTag >
◆ FlashPrimaryVariables() [5/6]
template<class TypeTag >
Constructor with assignment from scalar.
◆ FlashPrimaryVariables() [6/6]
template<class TypeTag >
Member Function Documentation◆ assignMassConservative() [1/2]
template<class TypeTag >
template<class FluidState >
Set the primary variables from an arbitrary fluid state in a mass conservative way. If an energy equation is included, the fluid temperatures are the same as the one given in the fluid state, not the enthalpy.
References Opm::FlashPrimaryVariables< TypeTag >::assignNaive(). ◆ assignMassConservative() [2/2]
template<class TypeTag >
template<class FluidState >
Set the primary variables from an arbitrary fluid state in a mass conservative way. If an energy equation is included, the fluid temperatures are the same as the one given in the fluid state, not the enthalpy.
References Opm::FlashPrimaryVariables< TypeTag >::assignNaive(). ◆ assignNaive() [1/2]
template<class TypeTag >
template<class FluidState >
Directly retrieve the primary variables from an arbitrary fluid state. This method retrieves all primary variables from an abitrary fluid state without careing whether the state which is represented by the resulting primary variables features the equivalent mass as the given fluid state. This method is massively cheaper and simpler than assignMassConservative() but it should be used with care!
Referenced by Opm::FlashPrimaryVariables< TypeTag >::assignMassConservative(). ◆ assignNaive() [2/2]
template<class TypeTag >
template<class FluidState >
Directly retrieve the primary variables from an arbitrary fluid state. This method retrieves all primary variables from an abitrary fluid state without careing whether the state which is represented by the resulting primary variables features the equivalent mass as the given fluid state. This method is massively cheaper and simpler than assignMassConservative() but it should be used with care!
◆ checkDefined()
template<class TypeTag >
Instruct valgrind to check the definedness of all attributes of this class. ◆ init()
template<class TypeTag >
◆ makeEvaluation()
template<class TypeTag >
Return a primary variable intensive evaluation. i.e., the result represents the function f = x_i if the time index is zero, else it represents the a constant f = x_i. (the difference is that in the first case, the derivative w.r.t. x_i is 1, while it is 0 in the second case. ◆ operator=() [1/2]
template<class TypeTag >
◆ operator=() [2/2]
template<class TypeTag >
◆ print() [1/2]
template<class TypeTag >
Prints the names of the primary variables and their values.
◆ print() [2/2]
template<class TypeTag >
Prints the names of the primary variables and their values.
◆ registerParameters()
template<class TypeTag >
The documentation for this class was generated from the following files: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||