25#ifndef DUMUX_1PNC_TEST_SPATIAL_PARAMS_HH
26#define DUMUX_1PNC_TEST_SPATIAL_PARAMS_HH
39template<
class Gr
idGeometry,
class Scalar>
42 OnePNCNonequilibriumTestSpatialParams<GridGeometry, Scalar>>
44 using GridView =
typename GridGeometry::GridView;
45 using FVElementGeometry =
typename GridGeometry::LocalView;
46 using SubControlVolume =
typename FVElementGeometry::SubControlVolume;
47 using Element =
typename GridView::template Codim<0>::Entity;
51 static const int dimWorld = GridView::dimensionworld;
52 using GlobalPosition =
typename Dune::FieldVector<Scalar, dimWorld>;
62 permeability_ = 1e-11;
65 characteristicLength_ = 5e-4;
66 factorEnergyTransfer_ = 0.5;
75 {
return permeability_; }
91 {
return characteristicLength_ ; }
99 {
return factorEnergyTransfer_; }
102 Scalar permeability_;
105 Scalar factorEnergyTransfer_ ;
106 Scalar characteristicLength_ ;
Description of a interfacial area between solid and fluid phase.
The base class for spatial parameters of one-phase problems using a fully implicit discretization met...
Base class for spatial parameters dealing with thermal and chemical non-equilibrium.
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Description of a interfacial area between solid and fluid phase.
Definition: fluidsolidinterfacialareashiwang.hh:35
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: fv1p.hh:334
Definition of the spatial parameters for non-equilibrium.
Definition: fvnonequilibrium.hh:39
Definition of the spatial parameters for the 1pnc test problems.
Definition: porousmediumflow/1pnc/implicit/nonequilibrium/spatialparams.hh:43
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Defines the porosity .
Definition: porousmediumflow/1pnc/implicit/nonequilibrium/spatialparams.hh:82
const Scalar factorEnergyTransferAtPos(const GlobalPosition &globalPos) const
Return the pre factor the the energy transfer.
Definition: porousmediumflow/1pnc/implicit/nonequilibrium/spatialparams.hh:98
const Scalar characteristicLengthAtPos(const GlobalPosition &globalPos) const
Returns the characteristic length for the mass transfer.
Definition: porousmediumflow/1pnc/implicit/nonequilibrium/spatialparams.hh:90
Scalar PermeabilityType
Definition: porousmediumflow/1pnc/implicit/nonequilibrium/spatialparams.hh:56
PermeabilityType permeabilityAtPos(const GlobalPosition &globalPos) const
Defines the intrinsic permeability .
Definition: porousmediumflow/1pnc/implicit/nonequilibrium/spatialparams.hh:74
OnePNCNonequilibriumTestSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: porousmediumflow/1pnc/implicit/nonequilibrium/spatialparams.hh:59
Defines a type tag and some properties for models using the box scheme.