functionObjects::comfort: Corrected for clang

This commit is contained in:
Henry Weller
2021-09-14 08:48:53 +01:00
parent 8fd9f5758c
commit 5da0d1cf6f

View File

@ -425,7 +425,7 @@ bool Foam::functionObjects::comfort::execute()
const dimensionedScalar C1("C1", dimVelocity, 3.14);
// Limit the velocity field to the values given in EN ISO 7733
volScalarField Umag = mag(lookupObject<volVectorField>("U"));
volScalarField Umag(mag(lookupObject<volVectorField>("U")));
Umag.maxMin(Umin, Umax);
// Calculate the turbulent intensity if turbulent kinetic energy field k