Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present. More...
#include <dumux/material/constraintsolvers/misciblemultiphasecomposition.hh>
The constraint solver assumes the following quantities to be set:
It also assumes that the mole/mass fractions of all phases sum up to 1. After calling the solve() method the following quantities are calculated in addition:
Static Public Member Functions | |
template<class FluidState , class ParameterCache > | |
static void | solve (FluidState &fluidState, ParameterCache ¶mCache, int knownPhaseIdx=0) |
Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present. More... | |
|
inlinestatic |
This function additionally considers a lowering of the saturation vapor pressure of the wetting phase by the Kelvin equation:
\[ p^\textrm{w}_\textrm{sat,Kelvin} = p^\textrm{w}_\textrm{sat} \exp \left( -\frac{p_\textrm{c}}{\varrho_\textrm{w} R_\textrm{w} T} \right) \]
fluidState | A container with the current (physical) state of the fluid |
paramCache | A container for iterative calculation of fluid composition |
knownPhaseIdx | The index of the phase with known properties |