|
| | RichardsPrimaryVariables () |
| |
| | RichardsPrimaryVariables (Scalar value) |
| | Constructor with assignment from scalar. More...
|
| |
| | RichardsPrimaryVariables (const RichardsPrimaryVariables &value) |
| | Default constructor. More...
|
| |
| void | assignImmiscibleFromWetting (Scalar T, Scalar pw, Scalar Sw, const MaterialLawParams &matParams) |
| | Set the primary variables with the wetting phase pressure, saturation and temperature. More...
|
| |
| void | assignImmiscibleFromNonWetting (Scalar T, Scalar pn, Scalar Sn, const MaterialLawParams &matParams) |
| | Set the primary variables with the non-wetting phase pressure, saturation and temperature. More...
|
| |
| template<class FluidState > |
| void | assignMassConservative (const FluidState &fluidState, const MaterialLawParams &matParams, bool isInEquilibrium=false) |
| | Set the primary variables from an arbitrary fluid state in a mass conservative way. More...
|
| |
| template<class FluidState > |
| void | assignNaive (const FluidState &fluidState) |
| | Directly retrieve the primary variables from an arbitrary fluid state. More...
|
| |
| Evaluation | makeEvaluation (int varIdx, int timeIdx) const |
| | Return a primary variable intensive evaluation. More...
|
| |
| void | checkDefined () const |
| | Instruct valgrind to check the definedness of all attributes of this class. More...
|
| |
template<class TypeTag>
class Ewoms::RichardsPrimaryVariables< TypeTag >
Represents the primary variables used in the Richards model.
This class is basically a Dune::FieldVector which can retrieve its contents from an aribitatry fluid state.
template<class TypeTag >
template<class FluidState >
| void Ewoms::RichardsPrimaryVariables< TypeTag >::assignMassConservative |
( |
const FluidState & |
fluidState, |
|
|
const MaterialLawParams & |
matParams, |
|
|
bool |
isInEquilibrium = false |
|
) |
| |
|
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.
- Parameters
-
| 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::RichardsPrimaryVariables< TypeTag >::assignNaive().