My Project
|
Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present. More...
#include <MiscibleMultiPhaseComposition.hpp>
Static Public Member Functions | |
template<class FluidState , class ParameterCache > | |
static void | solve (FluidState &fluidState, ParameterCache ¶mCache, int phasePresence, const MMPCAuxConstraint< Evaluation > *auxConstraints, unsigned numAuxConstraints, bool setViscosity, bool setInternalEnergy) |
Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present. | |
template<class FluidState , class ParameterCache > | |
static void | solve (FluidState &fluidState, ParameterCache ¶mCache, bool setViscosity, bool setInternalEnergy) |
Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present. | |
Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present.
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:
|
inlinestatic |
Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present.
This is a convenience method where no auxiliary constraints are used.
|
inlinestatic |
Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present.
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: