template<class
GridGeometry, class Scalar, class LocalRules, class Implementation>
class Dumux::PoreNetwork::TwoPSpatialParams< GridGeometry, Scalar, LocalRules, Implementation >
The base class for spatial parameters for pore-network models.
|
| TwoPSpatialParams (std::shared_ptr< const GridGeometry > gridGeometry) |
|
template<class FS , class ElementVolumeVariables > |
int | wettingPhase (const Element &element, const ElementVolumeVariables &elemVolVars) const |
| The index of the wetting phase within a pore throat. More...
|
|
template<class FS , class ElementSolutionVector > |
int | wettingPhase (const Element &element, const SubControlVolume &scv, const ElementSolutionVector &elemSol) const |
| The index of the wetting phase within a pore body. More...
|
|
template<class FluidSystem > |
int | wettingPhaseAtPos (const GlobalPosition &globalPos) const |
| Function for defining which phase is to be considered as the wetting phase. More...
|
|
template<class ElementVolumeVariables > |
Scalar | contactAngle (const Element &element, const ElementVolumeVariables &elemVolVars) const |
| The contact angle within a pore throat \([rad]\). More...
|
|
template<class ElementSolutionVector > |
Scalar | contactAngle (const Element &element, const SubControlVolume &scv, const ElementSolutionVector &elemSol) const |
| The contact angle within a pore body \([rad]\). More...
|
|
int | contactAngleAtPos (const GlobalPosition &globalPos) const |
| Function for defining the Contact Angle. More...
|
|
template<class ElementSolution > |
Scalar | surfaceTension (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const |
| Returns the surface tension \( [N/m] \). More...
|
|
Scalar | surfaceTensionAtPos (const GlobalPosition &globalPos) const |
| Function for defining the surface Tension. More...
|
|
template<class ElementVolumeVariables > |
const Scalar | pcEntry (const Element &element, const ElementVolumeVariables &elemVolVars) const |
| Return the element (throat) specific entry capillary pressure \( Pa\). More...
|
|
template<class ElementVolumeVariables > |
const Scalar | pcSnapoff (const Element &element, const ElementVolumeVariables &elemVolVars) const |
| Return the element (throat) specific snap-off capillary pressure \( Pa\). More...
|
|
template<class ElementSolution > |
auto | fluidMatrixInteraction (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const |
| Returns the parameter object for the pore-local pc-Sw law. More...
|
|
const Dune::ReservedVector< Scalar, 4 > & | cornerHalfAngles (const Element &element) const |
|
template<class ElementVolumeVariables > |
Scalar | throatLength (const Element &element, const ElementVolumeVariables &elemVolVars) const |
| Length of the throat \([m]\). Can be solution-dependent. More...
|
|
template<class ElementVolumeVariables > |
Scalar | throatInscribedRadius (const Element &element, const ElementVolumeVariables &elemVolVars) const |
| Inscribed radius of the throat \([m]\). Can be solution-dependent. More...
|
|
template<class ElementVolumeVariables > |
Scalar | throatCrossSectionalArea (const Element &element, const ElementVolumeVariables &elemVolVars) const |
| Cross-sectional area of the throat \([m]\). Can be solution-dependent. More...
|
|
template<class ElementSolutionVector > |
Scalar | poreInscribedRadius (const Element &element, const SubControlVolume &scv, const ElementSolutionVector &elemSol) const |
| Inscribed radius of the pore body \([m]\). Can be solution-dependent. More...
|
|
const GridView & | gridView () const |
| Returns a reference to the gridview. More...
|
|
Scalar | permeabilityAtPos (const GlobalPosition &globalPos) const |
| Required for compatibility reasons with porous medium-flow models. More...
|
|
Scalar | porosityAtPos (const GlobalPosition &globalPos) const |
| Required for compatibility reasons with porous medium-flow models. More...
|
|
Scalar | harmonicMean (const Scalar T1, const Scalar T2, const GlobalPosition &normal) const |
| Harmonic average of a discontinuous scalar field at discontinuity interface (for compatibility reasons with the function below) More...
|
|
DimWorldMatrix | harmonicMean (const DimWorldMatrix &T1, const DimWorldMatrix &T2, const GlobalPosition &normal) const |
| Harmonic average of a discontinuous tensorial field at discontinuity interface. More...
|
|
template<class ElementSolution > |
decltype(auto) | permeability (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const |
| Function for defining the (intrinsic) permeability \([m^2]\). More...
|
|
Scalar | beaversJosephCoeffAtPos (const GlobalPosition &globalPos) const |
| Function for defining the Beavers-Joseph coefficient for multidomain problems \(\mathrm{[-]}\). More...
|
|
Scalar | forchCoeff (const SubControlVolumeFace &scvf) const |
| Apply the Forchheimer coefficient for inertial forces calculation. More...
|
|
template<class ElementSolution > |
Scalar | porosity (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const |
| Function for defining the porosity. That is possibly solution dependent. More...
|
|
template<class SolidSystem , class ElementSolution , typename std::enable_if_t< SolidSystem::isInert() &&SolidSystem::numInertComponents==1 &&!decltype(isValid(Detail::hasInertVolumeFractionAtPos< GlobalPosition, SolidSystem >())(std::declval< Implementation >()))::value, int > = 0> |
Scalar | inertVolumeFraction (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol, int compIdx) const |
| Function for defining the solid volume fraction. That is possibly solution dependent. More...
|
|
template<class SolidSystem , class ElementSolution , typename std::enable_if_t< SolidSystem::numInertComponents==0, int > = 0> |
Scalar | inertVolumeFraction (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol, int compIdx) const |
|
template<class SolidSystem , class ElementSolution , typename std::enable_if_t<(SolidSystem::numInertComponents > 1)||((SolidSystem::numInertComponents > 0) &&(!SolidSystem::isInert()||decltype(isValid(Detail::hasInertVolumeFractionAtPos< GlobalPosition, SolidSystem >())(std::declval< Implementation >()))::value)), int > = 0> |
Scalar | inertVolumeFraction (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol, int compIdx) const |
|
template<class ElementSolution > |
Scalar | extrusionFactor (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const |
| Return how much the domain is extruded at a given sub-control volume. More...
|
|
Scalar | extrusionFactorAtPos (const GlobalPosition &globalPos) const |
| Return how much the domain is extruded at a given position. More...
|
|
template<class ElementSolution > |
Scalar | temperature (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const |
| Return the temperature in the given sub-control volume. More...
|
|
Scalar | temperatureAtPos (const GlobalPosition &globalPos) const |
| Return the temperature in the domain at the given position. More...
|
|
const GravityVector & | gravity (const GlobalPosition &pos) const |
| Returns the acceleration due to gravity \(\mathrm{[m/s^2]}\). More...
|
|
const GridGeometry & | gridGeometry () const |
| The finite volume grid geometry. More...
|
|
template<class FluidSystem , class ElementSolution > |
int | wettingPhase (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const |
| Function for defining which phase is to be considered as the wetting phase. More...
|
|