Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
2ae7fa2f
Commit
2ae7fa2f
authored
Oct 18, 2016
by
Thomas Fetzer
Browse files
[implicit][2p] Add function which returns the viscosity of the phases
parent
42500688
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/porousmediumflow/2p/implicit/volumevariables.hh
View file @
2ae7fa2f
...
...
@@ -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$.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment