mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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 =
|
||||
obr_.lookupObject<dictionary>("transportProperties");
|
||||
|
||||
dimensionedScalar nu(transportProperties.lookup("nu"));
|
||||
dimensionedScalar nu
|
||||
(
|
||||
"nu",
|
||||
dimViscosity,
|
||||
transportProperties.lookup("nu")
|
||||
);
|
||||
|
||||
return rho()*nu;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user