RE: [fluka-discuss]: database of geometrical objects

From: Chris Theis <Christian.Theis_at_cern.ch>
Date: Tue, 7 Apr 2015 08:24:34 +0000

Hi Michele,

I can only answer regarding the possibilities that are currently there for SimpleGeo. Regarding the geometrical database supported by FLAIR somebody else will have to help who has knowledge on that.

It’s quite simple to build a geometry database in SG. First you basically define your component (e.g. a full magnet) and place it into a container body like a box. If you then would like to use that object in another geometry you open that other geometry and the select the “Merge” command from the “File” menu. This will import the magnet as a group into your current geometry and you can then apply a transformation to that group. Consequently, the magnet will be moved to its new location. The only thing which you then have to do is to subtract the container box from the surrounding volume in the original geometry. That’s it.

You can also duplicate the imported geometries and move them to different places. Thus, you can build a full beam line with very few mouse-clicks. The only thing you should pay attention to is the naming scheme of your bodies. FLUKA has a limit of 8 characters and will silently (!) truncate everything exceeding this limit. So if you want to use duplicates then I recommend to start with short names because for each duplicate SG will append an ID to ensure unique names.

Cheers
Chris


From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of fabiemme_at_libero.it
Sent: 05 April 2015 20:44
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: database of geometrical objects

Dear fluka users,
I would like to build a geometry by using both simpleGeo and Geometry editor. It is easier for me to draw different pieces of geometry in different environments and then import them as single blocks and place them in the whole geometry file. I read about a database of geometrical objects here: https://www.fluka.org/free_download/course/triumf2012/Lectures/AdvancedFlair2012.pdf and I wish to build my own one. Unfortunately I can't find this library nor informations on how it works. Is there any documentation available?
Thanks in advance
Michele

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Apr 07 2015 - 11:59:40 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 07 2015 - 11:59:43 CEST