diff --git a/src/finiteVolume/fields/fvPatchFields/derived/cylindricalInletVelocity/cylindricalInletVelocityFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/cylindricalInletVelocity/cylindricalInletVelocityFvPatchVectorField.C index 638323c47b64b4b5baeec9f3d25c568474678d4e..0348035314a56cd6c69b6812065d92c2e93695e3 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/cylindricalInletVelocity/cylindricalInletVelocityFvPatchVectorField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/cylindricalInletVelocity/cylindricalInletVelocityFvPatchVectorField.C @@ -139,7 +139,7 @@ void Foam::cylindricalInletVelocityFvPatchVectorField::updateCoeffs() (rpm*constant::mathematical::pi/30.0)*(hatAxis) ^ d ); - operator==(tangVel + axis_*axialVelocity + radialVelocity*d); + operator==(tangVel + hatAxis*axialVelocity + radialVelocity*d/mag(d)); fixedValueFvPatchField<vector>::updateCoeffs(); }