|
[Sponsors] |
June 29, 2010, 10:45 |
Rotation using quaternion
|
#1 |
Member
John Wang
Join Date: Mar 2009
Location: Singapore
Posts: 73
Rep Power: 17 |
Hi guys,
I am working on a program that would allow 1DoF rotation about an arbitrary axis in 3D space. From what I've been reading on the forum on the 3/6DoF motion solver, it appears that the quaternion method is the best for the job. However, when I implemented the quaternion into my code, the total angle rotated by the quaternion.R() does not match up with the total angle theta that was input into the quaternion in the form quaternion(AxisOfRotation, theta). I'm wondering if I have somehow mis-read the source code in quaternion.H and messed up the quaternion. Any help would be appreciated, thanks in advance. John |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to set domain translation and rotation in CFX | ricardo.halfeld | CFX | 7 | September 8, 2009 19:22 |
How to Define Rotation Quaternion in CFX Post | ahlo | CFX | 0 | August 19, 2008 17:30 |
Simulation of object in rotation | Dothan | FLUENT | 4 | March 25, 2008 04:25 |
Axis of rotation for centrifugal compressor | Mattia | FLUENT | 4 | October 22, 2007 12:05 |
Problem Setup: Bi-Axial Rotation Possible? | Harmeet | CFX | 6 | February 11, 2005 16:27 |