3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Functions
test_compositionalflash.cc File Reference

This is a program to test the flash calculation routines for compositional sequential models. More...

#include <config.h>
#include <dumux/material/constraintsolvers/misciblemultiphasecomposition.hh>
#include <dumux/material/constraintsolvers/computefromreferencephase.hh>
#include <dumux/material/constraintsolvers/compositionalflash.hh>
#include <dumux/material/fluidstates/compositional.hh>
#include <dumux/material/fluidstates/pseudo1p2c.hh>
#include <dumux/material/fluidsystems/h2on2.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>

Description

This is a program to test the flash calculation routines for compositional sequential models.

This flash calculation determines the full fluid state of all phases, including pressures, saturations and composition, given the total mass of one component related to the total fluid mass in the pore space.

Functions

template<class Scalar , class FluidState1 , class FluidState2 >
void checkSame (const FluidState1 &fsRef, const FluidState2 &fsFlash)
 
template<class Scalar , class FluidSystem , class MaterialLaw , class FluidState >
void checkCompositionalFlash (const FluidState &fsRef)
 
template<class Scalar , class FluidSystem , class MaterialLaw , class FluidState >
void checkCompositionalFlashSequential (const FluidState &fsRef, int refPhaseIdx)
 
template<class Scalar , class FluidSystem , class MaterialLaw , class FluidState >
void completeReferenceFluidState (FluidState &fs, typename MaterialLaw::Params &matParams, int refPhaseIdx)
 
template<class Scalar , class FluidSystem , class MaterialLaw , class FluidState >
void completeReferenceFluidStateSequential (FluidState &fs, typename MaterialLaw::Params &matParams, int refPhaseIdx)
 
int main ()
 

Function Documentation

◆ checkCompositionalFlash()

template<class Scalar , class FluidSystem , class MaterialLaw , class FluidState >
void checkCompositionalFlash ( const FluidState &  fsRef)

◆ checkCompositionalFlashSequential()

template<class Scalar , class FluidSystem , class MaterialLaw , class FluidState >
void checkCompositionalFlashSequential ( const FluidState &  fsRef,
int  refPhaseIdx 
)

◆ checkSame()

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

◆ completeReferenceFluidState()

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

◆ completeReferenceFluidStateSequential()

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

◆ main()

int main ( )
Include dependency graph for test_compositionalflash.cc: