25#ifndef DUMUX_MAXWELL_STEFAN_TEST_SPATIAL_PARAMS_HH
26#define DUMUX_MAXWELL_STEFAN_TEST_SPATIAL_PARAMS_HH
37template<
class Gr
idGeometry,
class Scalar>
40 MaxwellStefanTestSpatialParams<GridGeometry, Scalar>>
42 using GridView =
typename GridGeometry::GridView;
43 using FVElementGeometry =
typename GridGeometry::LocalView;
44 using SubControlVolume =
typename FVElementGeometry::SubControlVolume;
45 using SubControlVolumeFace =
typename FVElementGeometry::SubControlVolumeFace;
46 using Element =
typename GridView::template Codim<0>::Entity;
50 static const int dimWorld = GridView::dimensionworld;
51 using GlobalPosition =
typename Dune::FieldVector<Scalar, dimWorld>;
73 template<
class ElementSolution>
75 const SubControlVolume& scv,
76 const ElementSolution& elemSol)
const
84 const SubControlVolume& scv)
const
89 const SubControlVolume& scv)
const
93 GlobalPosition
velocity(
const SubControlVolumeFace& scvf)
const
95 GlobalPosition vel(0.0);
101 template<
class ElementVolumeVariables>
103 const FVElementGeometry& fvGeometry,
104 const ElementVolumeVariables& elemVolVars,
105 const SubControlVolumeFace& scvf)
const
The base class for spatial parameters of one-phase problems using a fully implicit discretization met...
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
The base class for spatial parameters of one-phase problems using a fully implicit discretization met...
Definition: fv1p.hh:77
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: fv1p.hh:334
Definition of the spatial parameters for the MaxwellStefan problem.
Definition: porousmediumflow/tracer/multicomp/spatialparams.hh:41
Scalar volumeFlux(const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf) const
Velocity field.
Definition: porousmediumflow/tracer/multicomp/spatialparams.hh:102
Scalar fluidMolarMass(const Element &element, const SubControlVolume &scv) const
Fluid molar mass.
Definition: porousmediumflow/tracer/multicomp/spatialparams.hh:88
Scalar dispersivity(const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const
Defines the dispersivity.
Definition: porousmediumflow/tracer/multicomp/spatialparams.hh:74
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Defines the porosity .
Definition: porousmediumflow/tracer/multicomp/spatialparams.hh:63
MaxwellStefanTestSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: porousmediumflow/tracer/multicomp/spatialparams.hh:55
GlobalPosition velocity(const SubControlVolumeFace &scvf) const
Velocity field.
Definition: porousmediumflow/tracer/multicomp/spatialparams.hh:93
Scalar fluidDensity(const Element &element, const SubControlVolume &scv) const
Fluid density.
Definition: porousmediumflow/tracer/multicomp/spatialparams.hh:83
Defines a type tag and some properties for models using the box scheme.