diff --git a/src/functionObjects/field/comfort/comfort.C b/src/functionObjects/field/comfort/comfort.C index be894e6ed2..e6f4950624 100644 --- a/src/functionObjects/field/comfort/comfort.C +++ b/src/functionObjects/field/comfort/comfort.C @@ -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("U")); + volScalarField Umag(mag(lookupObject("U"))); Umag.maxMin(Umin, Umax); // Calculate the turbulent intensity if turbulent kinetic energy field k