diff --git a/dumux/porousmediumflow/2p/implicit/volumevariables.hh b/dumux/porousmediumflow/2p/implicit/volumevariables.hh index 3b7caa05d533e5060610e68eef5d47b87b8fecf3..4ef10ae2ed5a4f56f6f981f4e918f6a6b223fa72 100644 --- a/dumux/porousmediumflow/2p/implicit/volumevariables.hh +++ b/dumux/porousmediumflow/2p/implicit/volumevariables.hh @@ -217,6 +217,15 @@ public: Scalar temperature() const { return fluidState_.temperature(/*phaseIdx=*/0); } + /*! + * \brief Returns the dynamic viscosity of the fluid within the + * control volume in \f$\mathrm{[Pa s]}\f$. + * + * \param phaseIdx The phase index + */ + Scalar viscosity(int phaseIdx) const + { return fluidState_.viscosity(phaseIdx); } + /*! * \brief Returns the effective mobility of a given phase within * the control volume in \f$[s*m/kg]\f$.