BUG: cyclicAMI - fixed transform for case that angle is given - mantis #1217
This commit is contained in:
parent
32aa0b82c6
commit
fc31799a7e
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user