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/ncpflash.hh>#include <dumux/material/fluidstates/compositional.hh>#include <dumux/material/fluidsystems/h2on2.hh>#include <dumux/material/fluidmatrixinteractions/mp/mpadapter.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 | checkNcpFlash (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 checkNcpFlash | ( | 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 | ( | ) |