## problem with rotating a 3d periodic zone

Expand Messages
• hi to everyone, I have a 3d periodic zone from fluent which I am trying to copy and rotate it for 120 degrees about x axis. I am trying to accomplish it using
Message 1 of 2 , Jul 3 4:45 AM
hi to everyone,

I have a 3d periodic zone from fluent which I am trying to copy and
rotate it for 120 degrees about x axis.
I am trying to accomplish it using the 'specify equation' option using
the following eq.

{Z}={Z}*cos(2.0943)-{Y}*sin(2.0943)
{Y}={Z}*sin(2.0943)+{Y}*cos(2.0943)
{X}={X}
where 2.0943 is the theta angle in radians
the result is not correct.!!

Can anyone help me

• Sorry guys I solve it 1. copy zone 2. alter eq. for all the zones {Zrot}={Z}*cos(theta)+{Y}*sin(theta) {Yrot}=-{Z}*sin(theta)+{Y}*cos(theta) {X}={X} 3. alter
Message 2 of 2 , Jul 3 5:02 AM
Sorry guys I solve it
1. copy zone
2. alter eq. for all the zones
{Zrot}={Z}*cos(theta)+{Y}*sin(theta)
{Yrot}=-{Z}*sin(theta)+{Y}*cos(theta)
{X}={X}
3. alter eq. for the specified zone
{Z}={Zrot}
{Y}={Yrot}
{X}={X}