mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Using normalized vector for cylindrical coordinates
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user