Skip to content
Snippets Groups Projects
Commit 9da2d1a3 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Merge branch 'feature/addViscosity2pVolVars' into 'master'

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



See merge request !233
parents 42500688 2ae7fa2f
No related branches found
No related tags found
1 merge request!233[implicit][2p] Add function which returns the viscosity of the phases
...@@ -217,6 +217,15 @@ public: ...@@ -217,6 +217,15 @@ public:
Scalar temperature() const Scalar temperature() const
{ return fluidState_.temperature(/*phaseIdx=*/0); } { 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 * \brief Returns the effective mobility of a given phase within
* the control volume in \f$[s*m/kg]\f$. * the control volume in \f$[s*m/kg]\f$.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment