Forchheimer's law for box scheme.
#include <dumux/flux/box/forchheimerslaw.hh>
|
static Scalar | flux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, int phaseIdx, const ElementFluxVarsCache &elemFluxVarsCache) |
| Compute the advective flux of a phase across the given sub-control volume face using the Forchheimer equation.
|
|
static Scalar | calculateTransmissibility (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf) |
|
static DimWorldMatrix | calculateHarmonicMeanSqrtPermeability (const Problem &problem, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf) |
| Returns the harmonic mean of \(\sqrt{K_0}\) and \(\sqrt{K_1}\).
|
|
◆ DiscretizationMethod
◆ Scalar
◆ calculateHarmonicMeanSqrtPermeability()
static DimWorldMatrix Dumux::BoxForchheimersLaw< GetPropType< TypeTag, Properties::Scalar > , GridGeometry, ForchheimerVelocity >::calculateHarmonicMeanSqrtPermeability |
( |
const Problem & | problem, |
|
|
const ElementVolumeVariables & | elemVolVars, |
|
|
const SubControlVolumeFace & | scvf ) |
|
inlinestaticinherited |
This is a specialization for scalar-valued permeabilities which returns a tensor with identical diagonal entries.
◆ calculateTransmissibility()
static Scalar Dumux::BoxForchheimersLaw< GetPropType< TypeTag, Properties::Scalar > , GridGeometry, ForchheimerVelocity >::calculateTransmissibility |
( |
const Problem & | problem, |
|
|
const Element & | element, |
|
|
const FVElementGeometry & | fvGeometry, |
|
|
const ElementVolumeVariables & | elemVolVars, |
|
|
const SubControlVolumeFace & | scvf ) |
|
inlinestaticinherited |
The flux variables cache has to be bound to an element prior to flux calculations During the binding, the transmissibility will be computed and stored using the method below.
◆ flux()
static Scalar Dumux::BoxForchheimersLaw< GetPropType< TypeTag, Properties::Scalar > , GridGeometry, ForchheimerVelocity >::flux |
( |
const Problem & | problem, |
|
|
const Element & | element, |
|
|
const FVElementGeometry & | fvGeometry, |
|
|
const ElementVolumeVariables & | elemVolVars, |
|
|
const SubControlVolumeFace & | scvf, |
|
|
int | phaseIdx, |
|
|
const ElementFluxVarsCache & | elemFluxVarsCache ) |
|
inlinestaticinherited |
The flux is given in N*m, and can be converted into a volume flux (m^3/s) or mass flux (kg/s) by applying an upwind scheme for the mobility or the product of density and mobility, respectively.
◆ discMethod
The documentation for this class was generated from the following file: