Commit 02c9367d authored by Henry Weller's avatar Henry Weller
Browse files

forces: Updated reading of 'nu'

Resolves bug-report http://bugs.openfoam.org/view.php?id=2158
parent 08a74380
......@@ -291,7 +291,12 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::forces::mu() const
const dictionary& transportProperties =
obr_.lookupObject<dictionary>("transportProperties");
dimensionedScalar nu(transportProperties.lookup("nu"));
dimensionedScalar nu
(
"nu",
dimViscosity,
transportProperties.lookup("nu")
);
return rho()*nu;
}
......
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