# REC bodies generate geometry error

**URL:** <https://fluka-forum.web.cern.ch/t/rec-bodies-generate-geometry-error/483>\
**Category:** Geometry and Materials\
**Created:** [1 May 2020 07:24 UTC](https://fluka-forum.web.cern.ch/t/rec-bodies-generate-geometry-error/483 "2020-05-01T07:24:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrettig](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/mrettig/32/434_2.png) [@mrettig](https://fluka-forum.web.cern.ch/u/mrettig)\
**Post date:** [1 May 2020 07:24 UTC](https://fluka-forum.web.cern.ch/t/rec-bodies-generate-geometry-error/483/1 "2020-05-01T07:24:01Z")

</div>

Hi,  
I am using a number of REC bodies in my geometry, which I have entirely constructed with the Geometry editor in FLAIR (I have not modified the numerical values manually).

I systematically get an abort for geometry errors, claiming that the axes are not perpendicular.

REC body77 155 -0.21400000D+04 -0.34961494D+02 -0.38700000D+04 -0.61743040D+03 0.00000000D+00 -0.35144076D+02 1567  
-0.11542813D+02 0.00000000D+00 0.20279047D+03 0.00000000D+00 -0.21374486D+03 0.00000000D+00  
REC body78 156 -0.21400000D+04 -0.34961494D+02 -0.38700000D+04 -0.61743040D+03 0.00000000D+00 -0.35144076D+02 1583  
-0.99440823D+01 0.00000000D+00 0.17470309D+03 0.00000000D+00 -0.17371812D+03 0.00000000D+00  
REC body79 157 -0.24985958D+04 -0.34961494D+02 -0.38722500D+04 -0.88261980D+03 0.00000000D+00 -0.32692274D+03 1599  
-0.70551077D+02 0.00000000D+00 0.19047245D+03 0.00000000D+00 -0.21374486D+03 0.00000000D+00  
Abort called from BODYGN reason REC HEIGHT NOT PERP. TO 1ST SEMIAXIS Run stopped!  
STOP REC HEIGHT NOT PERP. TO 1ST SEMIAXIS

Is there a numerical issue when producing REC bodies in FLAIR … or am I missing something ?

Kind regards,

Markus

[esps\_exp.flair](https://fluka-forum.web.cern.ch/uploads/short-url/woUruerlPzFOoQg3siF0Ik5RbB9.flair) (61.8 KB)

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [1 May 2020 14:15 UTC](https://fluka-forum.web.cern.ch/t/rec-bodies-generate-geometry-error/483/2 "2020-05-01T14:15:27Z")

</div>

Dear Markus,

thank you for reporting. We are currently investigating the issue.

Cheers,  
David

---

<div class="post-metadata">

**Author:** ![vasilis](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/vasilis/32/16_2.png) [@vasilis](https://fluka-forum.web.cern.ch/u/vasilis)\
**Post date:** [2 May 2020 10:31 UTC](https://fluka-forum.web.cern.ch/t/rec-bodies-generate-geometry-error/483/3 "2020-05-02T10:31:51Z")

</div>

Hi Markus,

flair is using 15digits of precision for the bodies, however since some contain a minus sign and a leading zero it ends with 13 significant in some of your REC and then fluka complains.  
As a temporary remedy, you can use the **Orthogonal** button  
 ![image](https://fluka-forum.web.cern.ch/uploads/default/original/1X/7958a727c3a20d20f73dedf362a87bb81dec1e08.png)  
Select all bodies or only the problematic ones, the **Body** context menu will appear and click  
the **Orthogonal** which normally should fix the issue.

I will increase the significant precision of the bodies for the next release.

---

<div class="post-metadata">

**Author:** ![mrettig](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/mrettig/32/434_2.png) [@mrettig](https://fluka-forum.web.cern.ch/u/mrettig)\
**Post date:** [4 May 2020 16:46 UTC](https://fluka-forum.web.cern.ch/t/rec-bodies-generate-geometry-error/483/4 "2020-05-04T16:46:30Z")

</div>

Many thanks ! (Another button’s function clarified 🙂 )

---

<div class="post-metadata">

**Author:** ![rversaci](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/r/cc9497/32.png) [@rversaci](https://fluka-forum.web.cern.ch/u/rversaci)\
**Post date:** [23 June 2020 09:19 UTC](https://fluka-forum.web.cern.ch/t/rec-bodies-generate-geometry-error/483/5 "2020-06-23T09:19:35Z")

</div>


