mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: forces FO - updated reading of nu
This commit is contained in:
@ -353,7 +353,7 @@ Foam::functionObjects::forces::devRhoReff() const
|
|||||||
const dictionary& transportProperties =
|
const dictionary& transportProperties =
|
||||||
lookupObject<dictionary>("transportProperties");
|
lookupObject<dictionary>("transportProperties");
|
||||||
|
|
||||||
dimensionedScalar nu(transportProperties.lookup("nu"));
|
dimensionedScalar nu("nu", dimViscosity, transportProperties);
|
||||||
|
|
||||||
const volVectorField& U = lookupObject<volVectorField>(UName_);
|
const volVectorField& U = lookupObject<volVectorField>(UName_);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user