version 3.8.0
Loading...
Searching...
No Matches
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.

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

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.
 
std::size_t numThroatsInvaded () const
 Returns the number of invaded throats.
 

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

◆ updateInvasionState()

template<class GridGeometry , class Scalar >
void Dumux::PoreNetwork::TwoPStaticDrainage< GridGeometry, Scalar >::updateInvasionState ( std::vector< bool > & elementIsInvaded,
const Scalar pcGlobal )
inline
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: