Loading ...
Sorry, an error occurred while loading the content.

problem with rotating a 3d periodic zone

Expand Messages
  • khanjavedgr
    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, 2008
    • 0 Attachment
      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

      ThnX in advance
    • khanjavedgr
      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, 2008
      • 0 Attachment
        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}

        thnx in advance
      Your message has been successfully submitted and would be delivered to recipients shortly.