Skip to content
Snippets Groups Projects
Commit 1450c536 authored by sergio's avatar sergio
Browse files

BUG: Using normalized vector for cylindrical coordinates

parent cba9a30d
Branches
Tags
No related merge requests found
...@@ -139,7 +139,7 @@ void Foam::cylindricalInletVelocityFvPatchVectorField::updateCoeffs() ...@@ -139,7 +139,7 @@ void Foam::cylindricalInletVelocityFvPatchVectorField::updateCoeffs()
(rpm*constant::mathematical::pi/30.0)*(hatAxis) ^ d (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(); fixedValueFvPatchField<vector>::updateCoeffs();
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment