Commit b5ea2643 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[cleanup] Use convenience function for viscosity

Implement a viscosity() function in the volvars and use it
instead of volvars.fluidstate().x().
parent fae83da5
......@@ -144,8 +144,8 @@ if (!std::isfinite(volumeFlux))
const Scalar sign = (kGradPNormal > 0)?-1:1;
// approximate the mean viscosity at the face
const Scalar meanVisc = (up.fluidState().viscosity(phaseIdx) +
const Scalar meanVisc = (up.viscosity(phaseIdx) +
// put the mean viscosity and permeanbility in
// relation to the viscosity of water at
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