Pc- and Kr-sw curves based on monotone splines through given data points. More...
#include <dumux/material/fluidmatrixinteractions/2p/datasplinemateriallaw.hh>
Pc- and Kr-sw curves based on monotone splines through given data points.
S | the type for scalar numbers |
approximatePcSwInverse | if this is set true, the spline approximates sw(pc) and evaluating pc(sw) needs spline inversion. if this is false, the spline approximates pc(sw) and evaluating sw(pc) needs spline inversion. Spline inversion is rather expensive since it has to be done numerically. |
Public Types | |
using | Scalar = S |
Public Member Functions | |
DataSplineTwoPMaterialLaw ()=delete | |
Deleted default constructor (so we are never in an undefined state) More... | |
DataSplineTwoPMaterialLaw (const std::string ¶mGroup) | |
Construct from a subgroup from the global parameter tree. More... | |
DataSplineTwoPMaterialLaw (const std::vector< Scalar > &swPc, const std::vector< Scalar > &pc, const std::vector< Scalar > &swKrw, const std::vector< Scalar > &krw, const std::vector< Scalar > &swKrn, const std::vector< Scalar > &krn) | |
Construct from user data. More... | |
Scalar | pc (const Scalar sw) const |
The capillary pressure-saturation curve. More... | |
Scalar | dpc_dsw (const Scalar sw) const |
The partial derivative of the capillary pressure w.r.t. the saturation. More... | |
Scalar | sw (const Scalar pc) const |
The saturation-capillary pressure curve. More... | |
Scalar | dsw_dpc (const Scalar pc) const |
The partial derivative of the saturation to the capillary pressure. More... | |
Scalar | krw (const Scalar sw) const |
The relative permeability for the wetting phase. More... | |
Scalar | dkrw_dsw (const Scalar sw) const |
The derivative of the relative permeability for the wetting phase w.r.t. saturation. More... | |
Scalar | krn (const Scalar sw) const |
The relative permeability for the non-wetting phase. More... | |
Scalar | dkrn_dsw (const Scalar sw) const |
The derivative of the relative permeability for the non-wetting phase w.r.t. saturation. More... | |
Static Public Member Functions | |
static constexpr int | numFluidPhases () |
Return the number of fluid phases. More... | |
static constexpr bool | isRegularized () |
using Dumux::FluidMatrix::DataSplineTwoPMaterialLaw< S, approximatePcSwInverse >::Scalar = S |
|
delete |
Deleted default constructor (so we are never in an undefined state)
|
inlineexplicit |
Construct from a subgroup from the global parameter tree.
|
inline |
Construct from user data.
|
inline |
The derivative of the relative permeability for the non-wetting phase w.r.t. saturation.
|
inline |
The derivative of the relative permeability for the wetting phase w.r.t. saturation.
|
inline |
The partial derivative of the capillary pressure w.r.t. the saturation.
|
inline |
The partial derivative of the saturation to the capillary pressure.
|
inlinestaticconstexpr |
|
inline |
The relative permeability for the non-wetting phase.
|
inline |
The relative permeability for the wetting phase.
|
inlinestaticconstexpr |
Return the number of fluid phases.
|
inline |
The capillary pressure-saturation curve.
|
inline |
The saturation-capillary pressure curve.