forces: Updated reading of 'nu'
Resolves bug-report http://bugs.openfoam.org/view.php?id=2158
This commit is contained in:
parent
68a024778e
commit
5a27ec701c
1 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue