forces: Updated reading of 'nu'
Resolves bug-report http://bugs.openfoam.org/view.php?id=2158
This commit is contained in:
@ -291,7 +291,12 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::forces::mu() const
|
|||||||
const dictionary& transportProperties =
|
const dictionary& transportProperties =
|
||||||
obr_.lookupObject<dictionary>("transportProperties");
|
obr_.lookupObject<dictionary>("transportProperties");
|
||||||
|
|
||||||
dimensionedScalar nu(transportProperties.lookup("nu"));
|
dimensionedScalar nu
|
||||||
|
(
|
||||||
|
"nu",
|
||||||
|
dimViscosity,
|
||||||
|
transportProperties.lookup("nu")
|
||||||
|
);
|
||||||
|
|
||||||
return rho()*nu;
|
return rho()*nu;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user