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;
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...
T getParam(Args &&... args)
A free function to get a parameter from the parameter tree singleton.
Definition parameters.hh:428
make the local view function available whenever we use the grid geometry
Definition adapt.hh:29
FVSpatialParamsOneP(std::shared_ptr< const GridGeometry > gridGeometry)
Definition fv1p.hh:91
const GridGeometry & gridGeometry() const
Definition fv1p.hh:334
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