3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
test_immiscibleflash.cc File Reference

This is a program to test the flash calculation which uses non-linear complementarity problems (NCP). More...

Description

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 ()

Function Documentation

◆ checkImmiscibleFlash()

template<class Scalar, class FluidSystem, class MaterialLaw, class FluidState>
void checkImmiscibleFlash ( const FluidState & fsRef,
typename MaterialLaw::Params & matParams )

◆ checkSame()

template<class Scalar, class FluidState>
void checkSame ( const FluidState & fsRef,
const FluidState & fsFlash )

◆ completeReferenceFluidState()

template<class Scalar, class FluidSystem, class MaterialLaw, class FluidState>
void completeReferenceFluidState ( FluidState & fs,
typename MaterialLaw::Params & matParams,
int refPhaseIdx )

◆ main()

int main ( )