template<class GridGeometry, class Scalar, class Implementation>
class Dumux::FVSpatialParams< GridGeometry, Scalar, Implementation >
The base class for spatial parameters used with finite-volume schemes.
The base class for spatial parameters of multi-phase problems using a fully implicit discretization method.
|
| FVSpatialParams (std::shared_ptr< const GridGeometry > gridGeometry) |
|
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...
|
|
| FVSpatialParams (std::shared_ptr< const GridGeometry > gridGeometry) |
|
template<class ElementSolution > |
decltype(auto) | fluidMatrixInteraction (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const |
| Function for defining the parameters needed by constitutive relationships (kr-sw, pc-sw, etc.). 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...
|
|
template<class FluidSystem > |
int | wettingPhaseAtPos (const GlobalPosition &globalPos) const |
| Function for defining which phase is to be considered as the wetting phase. 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...
|
|
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 |
|
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...
|
|