OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

EulerCoordinateRotation Class Reference

A coordinateRotation defined in the z-x-y Euler convention. More...

Inheritance diagram for EulerCoordinateRotation:
Collaboration diagram for EulerCoordinateRotation:

List of all members.


Public Member Functions

 TypeName ("EulerRotation")
 Runtime type information.
 EulerCoordinateRotation ()
 Construct null.
 EulerCoordinateRotation (const vector &phiThetaPsi, const bool inDegrees=true)
 Construct from rotation vector.
 EulerCoordinateRotation (const scalar phiAngle, const scalar thetaAngle, const scalar psiAngle, const bool inDegrees=true)
 Construct from components of rotation vector.
 EulerCoordinateRotation (const dictionary &)
 Construct from dictionary.

Detailed Description

A coordinateRotation defined in the z-x-y Euler convention.

The 3 rotations are defined in the Euler convention (around Z, around X' and around Z'). For reference and illustration, see http://mathworld.wolfram.com/EulerAngles.html Note, however, that it is the reverse transformation (local->global) that is defined here.

  • the rotation angles are in degrees, unless otherwise explictly specified:

    coordinateRotation
    {
        type        EulerRotation
        degrees     false;
        rotation    (0 0 3.141592654);
    }

Definition at line 56 of file EulerCoordinateRotation.H.


Constructor & Destructor Documentation

Construct null.

Definition at line 80 of file EulerCoordinateRotation.C.

EulerCoordinateRotation ( const vector &  phiThetaPsi,
const bool  inDegrees = true 
)

Construct from rotation vector.

Definition at line 87 of file EulerCoordinateRotation.C.

EulerCoordinateRotation ( const scalar  phiAngle,
const scalar  thetaAngle,
const scalar  psiAngle,
const bool  inDegrees = true 
)

Construct from components of rotation vector.

Definition at line 105 of file EulerCoordinateRotation.C.

EulerCoordinateRotation ( const dictionary &  dict  ) 

Construct from dictionary.

Definition at line 119 of file EulerCoordinateRotation.C.


Member Function Documentation

TypeName ( "EulerRotation"   ) 

Runtime type information.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd