3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::VanGenuchtenParams< ScalarT > Class Template Reference

Specification of the material parameters for the van Genuchten-Mualem constitutive relations. More...

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

Inheritance diagram for Dumux::VanGenuchtenParams< ScalarT >:
Inheritance graph

Description

template<class ScalarT>
class Dumux::VanGenuchtenParams< ScalarT >

Specification of the material parameters for the van Genuchten-Mualem constitutive relations.

In this implementation setting either the \(\mathrm{n}\) or \(\mathrm{m}\) shape parameter automatically calculates the other. I.e. they cannot be set independently.

Public Types

using Scalar = ScalarT

Public Member Functions

 VanGenuchtenParams ()
 VanGenuchtenParams (Scalar vgAlpha, Scalar vgn, Scalar vgl=0.5)
template<class OtherParams>
bool operator== (const OtherParams &otherParams) const
 Equality comparison with another set of params.
Scalar vgAlpha () const
 Return the \(\mathrm{\alpha}\) shape parameter \(\mathrm{[1/Pa]}\) of van Genuchten's curve.
void setVgAlpha (Scalar v)
 Set the \(\mathrm{\alpha}\) shape parameter \(\mathrm{[1/Pa]}\) of van Genuchten's curve.
Scalar vgm () const
 Return the \(\mathrm{m}\) shape parameter \(\mathrm{[-]}\) of van Genuchten's curve.
void setVgm (Scalar m)
 Set the \(\mathrm{m}\) shape parameter \(\mathrm{[-]}\) of van Genuchten's curve.
Scalar vgn () const
 Return the \(\mathrm{n}\) shape parameter \(\mathrm{[-]}\) of van Genuchten's curve.
void setVgn (Scalar n)
 Set the \(\mathrm{n}\) shape parameter \(\mathrm{[-]}\) of van Genuchten's curve.
Scalar vgl () const
 Return the \(\mathrm{n}\) shape parameter \(\mathrm{[-]}\) of van Genuchten's curve.
void setVgl (Scalar l)
 Set the pore-connectivity parameter \(\mathrm{l}\) ( \(\mathrm{[-]}\)) of Mualem's relative permeability curve.

Member Typedef Documentation

◆ Scalar

template<class ScalarT>
using Dumux::VanGenuchtenParams< ScalarT >::Scalar = ScalarT

Constructor & Destructor Documentation

◆ VanGenuchtenParams() [1/2]

template<class ScalarT>
Dumux::VanGenuchtenParams< ScalarT >::VanGenuchtenParams ( )
inline

◆ VanGenuchtenParams() [2/2]

template<class ScalarT>
Dumux::VanGenuchtenParams< ScalarT >::VanGenuchtenParams ( Scalar vgAlpha,
Scalar vgn,
Scalar vgl = 0.5 )
inline

Member Function Documentation

◆ operator==()

template<class ScalarT>
template<class OtherParams>
bool Dumux::VanGenuchtenParams< ScalarT >::operator== ( const OtherParams & otherParams) const
inline

Equality comparison with another set of params.

◆ setVgAlpha()

template<class ScalarT>
void Dumux::VanGenuchtenParams< ScalarT >::setVgAlpha ( Scalar v)
inline

Set the \(\mathrm{\alpha}\) shape parameter \(\mathrm{[1/Pa]}\) of van Genuchten's curve.

◆ setVgl()

template<class ScalarT>
void Dumux::VanGenuchtenParams< ScalarT >::setVgl ( Scalar l)
inline

Set the pore-connectivity parameter \(\mathrm{l}\) ( \(\mathrm{[-]}\)) of Mualem's relative permeability curve.

Note
In the orignal Mualem (1976) paper the pore-connectivity parameter is called "n". It's referred to as "l" in several later publication of van Genuchten, e.g. van Genuchten (1991), Shaap & van Genuchten (2006).

◆ setVgm()

template<class ScalarT>
void Dumux::VanGenuchtenParams< ScalarT >::setVgm ( Scalar m)
inline

Set the \(\mathrm{m}\) shape parameter \(\mathrm{[-]}\) of van Genuchten's curve.

The \(\mathrm{n}\) shape parameter is set to \(\mathrm{n = \frac{1}{1 - m}}\)

◆ setVgn()

template<class ScalarT>
void Dumux::VanGenuchtenParams< ScalarT >::setVgn ( Scalar n)
inline

Set the \(\mathrm{n}\) shape parameter \(\mathrm{[-]}\) of van Genuchten's curve.

The \(\mathrm{n}\) shape parameter is set to \(\mathrm{m = 1 - \frac{1}{n}}\)

◆ vgAlpha()

template<class ScalarT>
Scalar Dumux::VanGenuchtenParams< ScalarT >::vgAlpha ( ) const
inline

Return the \(\mathrm{\alpha}\) shape parameter \(\mathrm{[1/Pa]}\) of van Genuchten's curve.

◆ vgl()

template<class ScalarT>
Scalar Dumux::VanGenuchtenParams< ScalarT >::vgl ( ) const
inline

Return the \(\mathrm{n}\) shape parameter \(\mathrm{[-]}\) of van Genuchten's curve.

◆ vgm()

template<class ScalarT>
Scalar Dumux::VanGenuchtenParams< ScalarT >::vgm ( ) const
inline

Return the \(\mathrm{m}\) shape parameter \(\mathrm{[-]}\) of van Genuchten's curve.

◆ vgn()

template<class ScalarT>
Scalar Dumux::VanGenuchtenParams< ScalarT >::vgn ( ) const
inline

Return the \(\mathrm{n}\) shape parameter \(\mathrm{[-]}\) of van Genuchten's curve.


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