3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::PoreNetwork::TwoPNewtonConsistencyChecks< GridVariables, SolutionVector > Class Template Reference

Consistency checks for the PNM two-phase model. More...

#include <dumux/porenetwork/2p/newtonconsistencychecks.hh>

Description

template<class GridVariables, class SolutionVector>
class Dumux::PoreNetwork::TwoPNewtonConsistencyChecks< GridVariables, SolutionVector >

Consistency checks for the PNM two-phase model.

Public Member Functions

void performChecks (const GridVariables &gridVariables, const SolutionVector &uCurrentIter, const SolutionVector &prevSol) const
 Perform all checks.
void checkRelativeSaturationShift (const GridVariables &gridVariables, const SolutionVector &uCurrentIter, const SolutionVector &prevSol) const
 Checks if the relative shift of saturation between to consecutive time steps is below a given treshold.
void checkIfValuesArePhysical (const GridVariables &gridVariables, const SolutionVector &uCurrentIter) const
 Checks if the saturation is between zero and one.
void checkIfCapillaryPressureIsCloseToEntryPressure (const GridVariables &gridVariables, const SolutionVector &uCurrentIter) const
 Checks if the capillary pressure at pore from which a throat was invaded is sufficiently close to the throat's entry capillary pressure.

Member Function Documentation

◆ checkIfCapillaryPressureIsCloseToEntryPressure()

template<class GridVariables, class SolutionVector>
void Dumux::PoreNetwork::TwoPNewtonConsistencyChecks< GridVariables, SolutionVector >::checkIfCapillaryPressureIsCloseToEntryPressure ( const GridVariables & gridVariables,
const SolutionVector & uCurrentIter ) const
inline

Checks if the capillary pressure at pore from which a throat was invaded is sufficiently close to the throat's entry capillary pressure.

◆ checkIfValuesArePhysical()

template<class GridVariables, class SolutionVector>
void Dumux::PoreNetwork::TwoPNewtonConsistencyChecks< GridVariables, SolutionVector >::checkIfValuesArePhysical ( const GridVariables & gridVariables,
const SolutionVector & uCurrentIter ) const
inline

Checks if the saturation is between zero and one.

◆ checkRelativeSaturationShift()

template<class GridVariables, class SolutionVector>
void Dumux::PoreNetwork::TwoPNewtonConsistencyChecks< GridVariables, SolutionVector >::checkRelativeSaturationShift ( const GridVariables & gridVariables,
const SolutionVector & uCurrentIter,
const SolutionVector & prevSol ) const
inline

Checks if the relative shift of saturation between to consecutive time steps is below a given treshold.

◆ performChecks()

template<class GridVariables, class SolutionVector>
void Dumux::PoreNetwork::TwoPNewtonConsistencyChecks< GridVariables, SolutionVector >::performChecks ( const GridVariables & gridVariables,
const SolutionVector & uCurrentIter,
const SolutionVector & prevSol ) const
inline

Perform all checks.


The documentation for this class was generated from the following file: