A special purpose coordinateRotation that is generally for use in combination with a cylindricalCS when only the orientation of the local Z-axis is relevant. More...


Public Member Functions | |
| TypeNameNoDebug ("cylindrical") | |
| Runtime type information. More... | |
| cylindrical ()=default | |
| Default construct - an identity transform. More... | |
| cylindrical (const cylindrical &crot) | |
| Copy construct. More... | |
| cylindrical (const vector &axis) | |
| Construct from single axis (as e3) using best-guess for the second axis. More... | |
| cylindrical (const dictionary &dict) | |
| Construct from dictionary. More... | |
| autoPtr< coordinateRotation > | clone () const |
| Return clone. More... | |
| virtual | ~cylindrical ()=default |
| Destructor. More... | |
| virtual void | write (Ostream &os) const |
| Write information. More... | |
| virtual void | writeEntry (const word &keyword, Ostream &os) const |
| Write dictionary entry. More... | |
Public Member Functions inherited from axes | |
| TypeNameNoDebug ("axes") | |
| Runtime type information. More... | |
| axes () | |
| Default construct - an identity transform. More... | |
| axes (const axes &crot) | |
| Copy construct. More... | |
| axes (const vector &axis1, const vector &axis2, axisOrder order=E3_E1) | |
| Construct from two axes. More... | |
| axes (const vector &axis) | |
| Construct from a single axis (as e3) using a best-guess for the second axis. More... | |
| axes (const dictionary &dict) | |
| Construct from dictionary. More... | |
| virtual | ~axes ()=default |
| Destructor. More... | |
| virtual void | clear () |
| Reset specification. More... | |
| virtual tensor | R () const |
| The rotation tensor calculated from the specified axes and order. More... | |
Public Member Functions inherited from coordinateRotation | |
| TypeNameNoDebug ("coordinateRotation") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, coordinateRotation, dictionary,(const dictionary &dict),(dict)) | |
| virtual | ~coordinateRotation ()=default |
| Destructor. More... | |
Static Public Member Functions | |
| static tensor | rotation (const vector &axis) |
| The rotation tensor calculated from axes and order. More... | |
Static Public Member Functions inherited from axes | |
| static tensor | rotation (const vector &axis1, const vector &axis2, axisOrder order=E3_E1) |
| The rotation tensor calculated from two axes and their order. More... | |
Static Public Member Functions inherited from coordinateRotation | |
| static autoPtr< coordinateRotation > | New (const word &modelType, const dictionary &dict) |
| Select construct the specified coordinate rotation type. More... | |
| static autoPtr< coordinateRotation > | New (const dictionary &dict) |
| Select construct from dictionary (requires the "type" entry) More... | |
Additional Inherited Members | |
Public Types inherited from axes | |
| enum | axisOrder { E1_E2, E2_E3, E3_E1, E3_E1_COMPAT } |
| The order/combination of local axes for the axes-rotation definition. More... | |
Protected Member Functions inherited from axes | |
| void | read (const dictionary &dict) |
| Read from dictionary. More... | |
Static Protected Member Functions inherited from coordinateRotation | |
| static vector | findOrthogonal (const vector &axis) |
| Determine best-guess for an orthogonal axis. More... | |
Protected Attributes inherited from axes | |
| vector | axis1_ |
| The primary axis. More... | |
| vector | axis2_ |
| The secondary axis. More... | |
| axisOrder | order_ |
| The axis order. More... | |
A special purpose coordinateRotation that is generally for use in combination with a cylindricalCS when only the orientation of the local Z-axis is relevant.
Dictionary entries
| Property | Description | Reqd | Default |
|---|---|---|---|
type | Type name: cylindrical | yes | |
axis | The z-axis | yes | |
e3 | Alias for 'axis' | no |
Definition at line 79 of file cylindricalRotation.H.
|
default |
Default construct - an identity transform.
| cylindrical | ( | const cylindrical & | crot | ) |
Copy construct.
Definition at line 57 of file cylindricalRotation.C.
|
explicit |
Construct from single axis (as e3) using best-guess for the second axis.
Definition at line 63 of file cylindricalRotation.C.
|
explicit |
Construct from dictionary.
Definition at line 69 of file cylindricalRotation.C.
|
virtualdefault |
Destructor.
| TypeNameNoDebug | ( | "cylindrical" | ) |
Runtime type information.
|
inlinevirtual |
|
static |
The rotation tensor calculated from axes and order.
The input axes will be normalised.
Definition at line 46 of file cylindricalRotation.C.
References Foam::Zero.
|
virtual |
Write information.
Reimplemented from axes.
Definition at line 77 of file cylindricalRotation.C.
References os(), and Foam::type().

Write dictionary entry.
Reimplemented from axes.
Definition at line 84 of file cylindricalRotation.C.
References os(), and Foam::type().

Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.