Commit 2ae7fa2f authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[implicit][2p] Add function which returns the viscosity of the phases

parent 42500688
......@@ -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$.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment