This is a program to test the flash calculation which uses non-linear complementarity problems (NCP). More...
#include <config.h>#include <dumux/material/constraintsolvers/misciblemultiphasecomposition.hh>#include <dumux/material/constraintsolvers/computefromreferencephase.hh>#include <dumux/material/constraintsolvers/immiscibleflash.hh>#include <dumux/material/fluidstates/immiscible.hh>#include <dumux/material/fluidsystems/h2on2.hh>#include <dumux/material/fluidmatrixinteractions/mp/mplinearmaterial.hh>#include <dumux/material/fluidmatrixinteractions/mp/mpadapter.hh>#include <dumux/material/fluidmatrixinteractions/2p/linearmaterial.hh>#include <dumux/material/fluidmatrixinteractions/2p/regularizedlinearmaterial.hh>#include <dumux/material/fluidmatrixinteractions/2p/regularizedbrookscorey.hh>#include <dumux/material/fluidmatrixinteractions/2p/efftoabslaw.hh>#include <dune/common/exceptions.hh>This is a program to test the flash calculation which uses non-linear complementarity problems (NCP).
A flash calculation determines the pressures, saturations and composition of all phases given the total mass (or, as in this case the total number of moles) in a given amount of pore space.
Functions | |
| template<class Scalar , class FluidState > | |
| void | checkSame (const FluidState &fsRef, const FluidState &fsFlash) |
| template<class Scalar , class FluidSystem , class MaterialLaw , class FluidState > | |
| void | checkImmiscibleFlash (const FluidState &fsRef, typename MaterialLaw::Params &matParams) |
| template<class Scalar , class FluidSystem , class MaterialLaw , class FluidState > | |
| void | completeReferenceFluidState (FluidState &fs, typename MaterialLaw::Params &matParams, int refPhaseIdx) |
| int | main () |
| void checkImmiscibleFlash | ( | const FluidState & | fsRef, |
| typename MaterialLaw::Params & | matParams | ||
| ) |
| void checkSame | ( | const FluidState & | fsRef, |
| const FluidState & | fsFlash | ||
| ) |
| void completeReferenceFluidState | ( | FluidState & | fs, |
| typename MaterialLaw::Params & | matParams, | ||
| int | refPhaseIdx | ||
| ) |
| int main | ( | ) |
