next up previous contents
Next: ucut Up: Commands Previous: tra   Contents


trfm

   'trfm' 'rec'|'cyl' ['x'|'y'|'z'] ->
        [<first-Dataset-Nr> [<last-Dataset-Nr>]]
Changes dataset entities from one coordinate system to another. The option 'cyl' transforms the global results to cylindrical and 'rec' from cylindrical to global cartesian. In both cases the axis of the cylindrical system must be provided. Optionally the first and the last dataset of a range of a unique type can be specified. The current dataset is selected if no dataset is specified.

The transformation into the cylindrical system takes place in a way that tensors and vectors are transformed into a new local cartesian system which is alligned with the directions of a true cylindrical system. In this way the dimensions are maintained (for example the displacement in angular direction is not transformed into an angle but into a displacement in tangential direction).

The transformation from a cylindrical into a cartesian system works accordingly. Therefore successive "cyl" and "rec" commands are permitted. This command sequence can be used to rotate the model with its datasets in the correct way which means that all results are also rotated.

Example; Choose the desired dataset (and an entity) with the menu or the 'ds' command. Then type

trfm cyl z

to transform the dataset from a rectangular system into a cylindrical around the global z axis. Type

trfm rec z

to transform from cylindrical (which exists after the first call) to the rectangular system (which re-produces the original values).

To transform several datasets of the same type (!) at once:

trfm rec z 1 10000

This command transforms all datasets starting with the first to the last if the last dataset has a number below 10001 (but only the ones of the same type as the 1st!).


next up previous contents
Next: ucut Up: Commands Previous: tra   Contents
root 2014-02-18