BUG: Using normalized vector for cylindrical coordinates

This commit is contained in:
sergio
2012-05-04 11:06:20 +01:00
parent cba9a30d3d
commit 1450c53688

View File

@ -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();
}