OGS
MaterialLib::PorousMedium::CapillaryPressureSaturation Class Referenceabstract

Detailed Description

Base class of capillary pressure models.

Definition at line 21 of file CapillaryPressureSaturation.h.

#include <CapillaryPressureSaturation.h>

Inheritance diagram for MaterialLib::PorousMedium::CapillaryPressureSaturation:
[legend]

Public Member Functions

 CapillaryPressureSaturation (const double Sr, const double Sg_r, const double Smax, const double Pc_max)
 
virtual ~CapillaryPressureSaturation ()=default
 
virtual std::string getName () const =0
 Get model name.
 
virtual double getCapillaryPressure (const double saturation) const =0
 Get capillary pressure.
 
virtual double getSaturation (const double capillary_pressure) const =0
 Get saturation.
 
virtual double getdPcdS (const double saturation) const =0
 Get the derivative of the capillary pressure with respect to saturation.
 
virtual double getd2PcdS2 (const double saturation) const =0
 

Protected Attributes

const double _saturation_r
 Residual saturation.
 
const double _saturation_nonwet_r
 
const double _saturation_max
 Maximum saturation.
 
const double _pc_max
 Maximum capillary pressure.
 
const double _minor_offset = std::numeric_limits<double>::epsilon()
 

Constructor & Destructor Documentation

◆ CapillaryPressureSaturation()

MaterialLib::PorousMedium::CapillaryPressureSaturation::CapillaryPressureSaturation ( const double Sr,
const double Sg_r,
const double Smax,
const double Pc_max )
inline
Parameters
SrResidual saturation, \( S_r \)
Sg_rResidual saturation of gas phase, \( Sg_r \)
SmaxMaximum saturation, \( S_{\mbox{max}} \)
Pc_maxMaximum capillary pressure, \( P_c^{\mbox{max}}\)

Definition at line 30 of file CapillaryPressureSaturation.h.

◆ ~CapillaryPressureSaturation()

virtual MaterialLib::PorousMedium::CapillaryPressureSaturation::~CapillaryPressureSaturation ( )
virtualdefault

Member Function Documentation

◆ getCapillaryPressure()

virtual double MaterialLib::PorousMedium::CapillaryPressureSaturation::getCapillaryPressure ( const double saturation) const
pure virtual

◆ getd2PcdS2()

virtual double MaterialLib::PorousMedium::CapillaryPressureSaturation::getd2PcdS2 ( const double saturation) const
pure virtual

◆ getdPcdS()

virtual double MaterialLib::PorousMedium::CapillaryPressureSaturation::getdPcdS ( const double saturation) const
pure virtual

◆ getName()

virtual std::string MaterialLib::PorousMedium::CapillaryPressureSaturation::getName ( ) const
pure virtual

◆ getSaturation()

virtual double MaterialLib::PorousMedium::CapillaryPressureSaturation::getSaturation ( const double capillary_pressure) const
pure virtual

Member Data Documentation

◆ _minor_offset

◆ _pc_max

◆ _saturation_max

◆ _saturation_nonwet_r

◆ _saturation_r


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