CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] rotateMesh (https://www.cfd-online.com/Forums/openfoam-meshing/82154-rotatemesh.html)

OFU November 18, 2010 09:19

rotateMesh
 
Hi,

I need to rotate my mesh 15 degrees around the z-axis. I think I have to use the utility rotateMesh.

rotateMesh '(1 0 0)' '(0 1 0)' rotates the mesh 90 degrees, but how to rotate it 15 degrees around the z-axis?

Thanks,
Jennifer

boger November 19, 2010 08:01

How about this instead?
Code:

transformPoints -rotateAlongVector "(0 0 1) 15"
The command line "-help" option is actually fairly decent for transformPoints.


All times are GMT -4. The time now is 03:25.