[fluka-discuss]: Use of ROT-DEFI for rotation

From: <mark.ibison_at_cockcroft.ac.uk>
Date: Mon, 13 Nov 2017 14:40:24 +0000

Dear FLUKA Discussion,

I am having difficulty with the use of the ROT-DEFI card, using it to avoid BOX for defining a cuboid object.
I am unsure about the method of specifying the axis of rotation, as I wish to rotate about a point other than the Origin (0,0,0).

BOX Camera_4 -96.4645 150. -603.5355 -7.071068 0.0 7.071068 -14.142136 0.0
              -14.142136 0.0 10. 0.0

to be replaced by

ROT-DEFI 200. 0.0 -45. -100. 0.0 -100.CAM_ROT
...
$start_transform CAM_ROT
* Camera_4 defined as RPP
RPP Cam_4a -120. -100. 150. 160. -605. -595.
$end_transform

I would like the rotation to be 45 degrees clockwise in the X-Z plane, about an axis (-100, y, -600).
In the above, 'Camera_4' is to be replaced by 'Cam_4a'.

Any advice would be much appreciated.

Thank you.

Dr Mark Ibison
Accelerator Beam Diagnostics
Cockcroft Institute
Daresbury Laboratory



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Nov 13 2017 - 16:55:54 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 13 2017 - 16:55:55 CET