mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: cyclicAMI - fixed transform for case that angle is given - mantis #1217
This commit is contained in:
@ -154,13 +154,13 @@ void Foam::cyclicAMIPolyPatch::calcTransforms
|
|||||||
tensor RPos
|
tensor RPos
|
||||||
(
|
(
|
||||||
T
|
T
|
||||||
+ cos(rotationAngle_)*(tensor::I + T)
|
+ cos(rotationAngle_)*(tensor::I - T)
|
||||||
+ sin(rotationAngle_)*S
|
+ sin(rotationAngle_)*S
|
||||||
);
|
);
|
||||||
tensor RNeg
|
tensor RNeg
|
||||||
(
|
(
|
||||||
T
|
T
|
||||||
+ cos(-rotationAngle_)*(tensor::I + T)
|
+ cos(-rotationAngle_)*(tensor::I - T)
|
||||||
+ sin(-rotationAngle_)*S
|
+ sin(-rotationAngle_)*S
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user