3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::PoreNetwork::TwoPStaticDrainage< GridGeometry, Scalar > Class Template Reference

A (quasi-) static two-phase pore-network model for drainage processes. This assumes that there are no pressure gradients within the phases and thus, no flow. More...

#include <dumux/porenetwork/2p/static/staticdrainge.hh>

Description

template<class GridGeometry, class Scalar>
class Dumux::PoreNetwork::TwoPStaticDrainage< GridGeometry, Scalar >

A (quasi-) static two-phase pore-network model for drainage processes. This assumes that there are no pressure gradients within the phases and thus, no flow.

Public Member Functions

 TwoPStaticDrainage (const GridGeometry &gridGeometry, const std::vector< Scalar > &pcEntry, const std::vector< int > &throatLabel, const int inletPoreLabel, const int outletPoreLabel, const bool allowDraingeOfOutlet=false)
 
void updateInvasionState (std::vector< bool > &elementIsInvaded, const Scalar pcGlobal)
 Updates the invasion state of the network for the given global capillary pressure. More...
 
std::size_t numThroatsInvaded () const
 Returns the number of invaded throats. More...
 

Constructor & Destructor Documentation

◆ TwoPStaticDrainage()

template<class GridGeometry , class Scalar >
Dumux::PoreNetwork::TwoPStaticDrainage< GridGeometry, Scalar >::TwoPStaticDrainage ( const GridGeometry gridGeometry,
const std::vector< Scalar > &  pcEntry,
const std::vector< int > &  throatLabel,
const int  inletPoreLabel,
const int  outletPoreLabel,
const bool  allowDraingeOfOutlet = false 
)
inline

Member Function Documentation

◆ numThroatsInvaded()

template<class GridGeometry , class Scalar >
std::size_t Dumux::PoreNetwork::TwoPStaticDrainage< GridGeometry, Scalar >::numThroatsInvaded ( ) const
inline

Returns the number of invaded throats.

◆ updateInvasionState()

template<class GridGeometry , class Scalar >
void Dumux::PoreNetwork::TwoPStaticDrainage< GridGeometry, Scalar >::updateInvasionState ( std::vector< bool > &  elementIsInvaded,
const Scalar  pcGlobal 
)
inline

Updates the invasion state of the network for the given global capillary pressure.

Parameters
elementIsInvadedA vector storing the invasion state of the network.
pcGlobalThe global capillary pressure to be applied.

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