Dear Mark
Rotations in FLUKA can be a brain-twister ;-)
Did you try "experimentally", i.e. using Flair's geoviewer and just see what happens when you modify a parameter?
Cheers
Stefan
From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of mark.ibison_at_cockcroft.ac.uk
Sent: 13 November 2017 15:40
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Use of ROT-DEFI for rotation
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 - 17:25:59 CET