3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Public Member Functions | List of all members
Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar > Class Template Reference

A regularization for the BrooksCorey material law. More...

#include <dumux/material/fluidmatrixinteractions/2p/brookscorey.hh>

Description

template<class Scalar>
class Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >

A regularization for the BrooksCorey material law.

Note
Regularization can be turned of by setting the threshold parameters out of range (runtime) or by replacing this class by NoRegularization (compile time).

Classes

struct  Params
 Regularization parameters. More...
 

Public Member Functions

template<class MaterialLaw >
void init (const MaterialLaw *m, const std::string &paramGroup)
 Initialize the spline. More...
 
template<class MaterialLaw , class BaseParams , class EffToAbsParams >
void init (const MaterialLaw *m, const BaseParams &bp, const EffToAbsParams &etap, const Params< Scalar > &p)
 
bool operator== (const BrooksCoreyRegularization &o) const
 Equality comparison with another instance. More...
 
OptionalScalar< Scalar > pc (const Scalar swe) const
 The regularized capillary pressure-saturation curve regularized part: More...
 
OptionalScalar< Scalar > dpc_dswe (const Scalar swe) const
 The regularized partial derivative of the capillary pressure w.r.t. the saturation. More...
 
OptionalScalar< Scalar > swe (const Scalar pc) const
 The regularized saturation-capillary pressure curve. More...
 
OptionalScalar< Scalar > dswe_dpc (const Scalar pc) const
 The regularized partial derivative of the saturation to the capillary pressure. More...
 
OptionalScalar< Scalar > krw (const Scalar swe) const
 The regularized relative permeability for the wetting phase. More...
 
OptionalScalar< Scalar > dkrw_dswe (const Scalar swe) const
 The regularized derivative of the relative permeability for the wetting phase w.r.t. saturation. More...
 
OptionalScalar< Scalar > krn (const Scalar swe) const
 The regularized relative permeability for the non-wetting phase. More...
 
OptionalScalar< Scalar > dkrn_dswe (const Scalar swe) const
 The regularized derivative of the relative permeability for the non-wetting phase w.r.t. saturation. More...
 

Member Function Documentation

◆ dkrn_dswe()

template<class Scalar >
OptionalScalar< Scalar > Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::dkrn_dswe ( const Scalar  swe) const
inline

The regularized derivative of the relative permeability for the non-wetting phase w.r.t. saturation.

◆ dkrw_dswe()

template<class Scalar >
OptionalScalar< Scalar > Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::dkrw_dswe ( const Scalar  swe) const
inline

The regularized derivative of the relative permeability for the wetting phase w.r.t. saturation.

◆ dpc_dswe()

template<class Scalar >
OptionalScalar< Scalar > Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::dpc_dswe ( const Scalar  swe) const
inline

The regularized partial derivative of the capillary pressure w.r.t. the saturation.

◆ dswe_dpc()

template<class Scalar >
OptionalScalar< Scalar > Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::dswe_dpc ( const Scalar  pc) const
inline

The regularized partial derivative of the saturation to the capillary pressure.

◆ init() [1/2]

template<class Scalar >
template<class MaterialLaw , class BaseParams , class EffToAbsParams >
void Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::init ( const MaterialLaw *  m,
const BaseParams &  bp,
const EffToAbsParams &  etap,
const Params< Scalar > &  p 
)
inline

◆ init() [2/2]

template<class Scalar >
template<class MaterialLaw >
void Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::init ( const MaterialLaw *  m,
const std::string &  paramGroup 
)
inline

Initialize the spline.

◆ krn()

template<class Scalar >
OptionalScalar< Scalar > Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::krn ( const Scalar  swe) const
inline

The regularized relative permeability for the non-wetting phase.

◆ krw()

template<class Scalar >
OptionalScalar< Scalar > Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::krw ( const Scalar  swe) const
inline

The regularized relative permeability for the wetting phase.

◆ operator==()

template<class Scalar >
bool Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::operator== ( const BrooksCoreyRegularization< Scalar > &  o) const
inline

Equality comparison with another instance.

◆ pc()

template<class Scalar >
OptionalScalar< Scalar > Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::pc ( const Scalar  swe) const
inline

The regularized capillary pressure-saturation curve regularized part:

  • low saturation: extend the \(\mathrm{p_c(S_w)}\) curve with the slope at the regularization point (i.e. no kink).
  • high saturation: connect the high regularization point with \(\mathrm{\overline{S}_w =1}\) with a spline and continue linearly for \(\mathrm{\overline{S}_w > 1}\)

◆ swe()

template<class Scalar >
OptionalScalar< Scalar > Dumux::FluidMatrix::BrooksCoreyRegularization< Scalar >::swe ( const Scalar  pc) const
inline

The regularized saturation-capillary pressure curve.


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