25#ifndef DUMUX_FV_SPATIALPARAMS_NONEQUILIBRIUM_HH
26#define DUMUX_FV_SPATIALPARAMS_NONEQUILIBRIUM_HH
28#warning "This file is deprecated, use FVPorousMediumSpatialParamsNonEquilibrium from dumux/porousmediumflow/fvspatialparamsnonequilibrium.hh instead!"
38template<
class Gr
idGeometry,
class Scalar,
class Implementation>
40[[deprecated(
"Use FVPorousMediumFlowSpatialParamsNonEquilibrium from dumux/porousmediumflow/fvspatialparamsnonequilibrium.hh instead. This class will be removed after 3.5.")]]
45 using GridView =
typename GridGeometry::GridView;
46 using FVElementGeometry =
typename GridGeometry::LocalView;
47 using SubControlVolume =
typename GridGeometry::SubControlVolume;
48 using Element =
typename GridView::template Codim<0>::Entity;
49 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
67 template<
class ElementSolution>
69 const SubControlVolume &scv,
70 const ElementSolution &elemSol)
const
72 {
return this->asImp_().characteristicLengthAtPos(scv.dofPosition()); }
81 DUNE_THROW(Dune::InvalidStateException,
82 "The spatial parameters do not provide "
83 "a characteristicLengthAtPos() method.");
92 template<
class ElementSolution>
94 const SubControlVolume &scv,
95 const ElementSolution &elemSol)
const
96 {
return this->asImp_().factorEnergyTransferAtPos(scv.dofPosition()); }
105 DUNE_THROW(Dune::InvalidStateException,
106 "The spatial parameters do not provide "
107 "a factorEnergyTransferAtPos() method.");
116 template<
class ElementSolution>
118 const SubControlVolume &scv,
119 const ElementSolution &elemSol)
const
120 {
return this->asImp_().factorMassTransferAtPos(scv.dofPosition()); }
130 DUNE_THROW(Dune::InvalidStateException,
131 "The spatial parameters do not provide "
132 "a factorMassTransferAtPos() method.");
The base class for spatial parameters of multi-phase problems using a fully implicit discretization m...
The base class for spatial parameters used with finite-volume schemes.
Definition: common/fvspatialparams.hh:46
The base class for spatial parameters of one-phase problems using a fully implicit discretization met...
Definition: fv1p.hh:80
Definition of the spatial parameters for non-equilibrium.
Definition: fvnonequilibrium.hh:43
const Scalar factorEnergyTransfer(const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const
Return the pre-factor the the energy transfer.
Definition: fvnonequilibrium.hh:93
const Scalar characteristicLengthAtPos(const GlobalPosition &globalPos) const
Return the characteristic length for the mass transfer.
Definition: fvnonequilibrium.hh:79
FVNonEquilibriumSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: fvnonequilibrium.hh:57
const Scalar characteristicLength(const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const
Return the characteristic length for the mass transfer.
Definition: fvnonequilibrium.hh:68
const Scalar factorMassTransfer(const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const
Return the pre-factor the the mass transfer.
Definition: fvnonequilibrium.hh:117
Scalar AwsSurfaceParams
Definition: fvnonequilibrium.hh:54
Scalar AwnSurfaceParams
export the types used for interfacial area calculations
Definition: fvnonequilibrium.hh:53
const Scalar factorMassTransferAtPos(const GlobalPosition &globalPos) const
Return the pre-factor the the mass transfer.
Definition: fvnonequilibrium.hh:128
const Scalar factorEnergyTransferAtPos(const GlobalPosition &globalPos) const
Return the pre factor the the energy transfer.
Definition: fvnonequilibrium.hh:103
Scalar AnsSurfaceParams
Definition: fvnonequilibrium.hh:55