CFD Online Logo CFD Online URL
Home > Forums > CFX

How to Define Rotation Quaternion in CFX Post

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 19, 2008, 16:30
Default How to Define Rotation Quaternion in CFX Post
Posts: n/a

I am going to make batch processing to get images from different view angle by modifying and playing session file with different view orientation data. To define the view orientation, one needs to define Rotation Quaternion (four numbers). My question: how to calculate these four numbers if I have 3 Euler angles? or other data are needed as well to produce this four-number Rotation Quaternion?

A sample session file is attached as following.

Thanks Ahlo

------------------------------------------------------- # Session file started: 2008/08/18 16:09:59 # CFX-11.0 build 2007.01.10-23.00

# To avoid unnecessary file pre-processing and modifications, include # COMMAND FILE at the top of your session file. # If it is not included, the file is assumed to be older and will be # modified for backward compatibility. COMMAND FILE: CFX Post Version = 11.0 END

VIEW:View 1 Camera Mode = User Specified CAMERA:

Option = Pivot Point and Quaternion

Pivot Point = 0, 0, 464.726

Scale = 0.00296

Pan = 0, 0

Rotation Quaternion = 0.00437162, -0.00189465, -0.0080251, 0.997973

Send To Viewer = true END


  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transient animation performance in CFX 5.5 POST Sjoerd Romkes CFX 8 February 5, 2013 15:53
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 129 June 19, 2010 09:23
How to set domain translation and rotation in CFX ricardo.halfeld CFX 7 September 8, 2009 18:22
CFX Post export problem jeff_F CFX 0 August 17, 2009 21:25
chart for transiente simulation - CFX Post rogbrito CFX 0 June 22, 2009 12:12

All times are GMT -4. The time now is 13:11.