FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

EulerCoordinateRotation Class Reference

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

#include <meshTools/EulerCoordinateRotation.H>


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
{
typeEulerRotation
degrees false;
rotation(0 0 3.141592654);
}

Definition at line 64 of file EulerCoordinateRotation.H.

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.

Constructor & Destructor Documentation

Construct null.

Definition at line 88 of file EulerCoordinateRotation.C.

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

Construct from rotation vector.

Definition at line 95 of file EulerCoordinateRotation.C.

References VectorSpace< Form, Cmpt, nCmpt >::component(), Vector< Cmpt >::X, Vector< Cmpt >::Y, and Vector< Cmpt >::Z.

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

Construct from components of rotation vector.

Definition at line 113 of file EulerCoordinateRotation.C.


Member Function Documentation

TypeName ( "EulerRotation"    )

Runtime type information.


The documentation for this class was generated from the following files: