25#ifndef DUMUX_BlOOD_FLOW_SPATIALPARAMS_HH
26#define DUMUX_BlOOD_FLOW_SPATIALPARAMS_HH
36template<
class Gr
idGeometry,
class Scalar>
38:
public FVSpatialParamsOneP<GridGeometry, Scalar, BloodFlowSpatialParams<GridGeometry, Scalar>>
42 using GlobalPosition =
typename GridGeometry::GlobalCoordinate;
51 radius_ = getParam<Scalar>(
"SpatialParams.Radius");
61 return (1 + ipGlobal[2] + 0.5*ipGlobal[2]*ipGlobal[2])/(M_PI*
radius(0)*
radius(0));
73 Scalar
radius(
unsigned int eIdxGlobal)
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 blood flow problem.
Definition: spatialparams_bloodflow.hh:39
Scalar PermeabilityType
Definition: spatialparams_bloodflow.hh:46
BloodFlowSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: spatialparams_bloodflow.hh:48
Scalar radius(unsigned int eIdxGlobal) const
Returns the radius of the circular pipe for the current sub-control volume in [m].
Definition: spatialparams_bloodflow.hh:73
PermeabilityType permeabilityAtPos(const GlobalPosition &ipGlobal) const
Returns the intrinsic permeability for the current sub-control volume in [m^2].
Definition: spatialparams_bloodflow.hh:59
static constexpr bool evaluatePermeabilityAtScvfIP()
we evaluate the permeability directly at the scvf since we have an analytical expression for it
Definition: spatialparams_bloodflow.hh:65
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Returns the porosity .
Definition: spatialparams_bloodflow.hh:83