Ewoms::ImmisciblePrimaryVariables< TypeTag > Class Template Reference Represents the primary variables used by the immiscible multi-phase, model. More...
Inheritance diagram for Ewoms::ImmisciblePrimaryVariables< TypeTag >:
Detailed Descriptiontemplate<class TypeTag>
|
|
inline |
Default constructor.
|
inline |
Constructor with assignment from scalar.
value | The scalar value to which all entries of the vector will be set. |
|
inline |
Copy constructor.
value | The primary variables that will be duplicated. |
|
inline |
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.
fluidState | The fluid state which should be represented by the primary variables. The temperatures, pressures, compositions and densities of all phases must be defined. |
matParams | The capillary pressure law parameters |
isInEquilibrium | If true, the fluid state expresses thermodynamic equilibrium assuming the relations expressed by the fluid system. This implies that in addition to the quantities mentioned above, the fugacities are also defined. |
References Ewoms::ImmisciblePrimaryVariables< TypeTag >::assignNaive().
|
inline |
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!
fluidState | The fluid state which should be represented by the primary variables. The temperatures, pressures, compositions and densities of all phases must be defined. |
Referenced by Ewoms::ImmisciblePrimaryVariables< TypeTag >::assignMassConservative(), and Ewoms::DiscreteFracturePrimaryVariables< TypeTag >::assignNaiveFromFracture().
|
inlineinherited |
Instruct valgrind to check the definedness of all attributes of this class.
|
inlineinherited |
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.