Development and application of CATIA-GDML geometry builder

Post on 13-Jan-2016

48 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Development and application of CATIA-GDML geometry builder. S. Belogurov 1,2 (belogurov@itep.ru), Yu. Berchun 2 , A. Chernogorov 1 , P. Malzacher 3 , E. Ovcharenko 1 , V. Schetinin 1,2. 1- Institute for Theoretical and Experimental Physics (ITEP), Moscow, Russia - PowerPoint PPT Presentation

Transcript

ExamplesExamples

Development and application of CATIA-GDML geometry builder

IntroductionIntroduction

1- Institute for Theoretical and Experimental Physics (ITEP), Moscow, Russia2- Bauman Moscow State Technical University, (BMSTU) Moscow, Russia3- GSI - Helmholtzzentrum für Schwerionenforschung GmbH , Darmstadt, Germany

S. Belogurov1,2(belogurov@itep.ru), Yu. Berchun2, A. Chernogorov1, P. Malzacher3, E. Ovcharenko1, V. Schetinin1,2

For mechanical, thermal, and some of electromagnetic For mechanical, thermal, and some of electromagnetic software the transfer is automated.software the transfer is automated. For radiation For radiation simulation packages that’s not a casesimulation packages that’s not a case..

Design optimization of complex, densely packed systems Design optimization of complex, densely packed systems in severe radiation conditions (like FAIR experiments) in severe radiation conditions (like FAIR experiments) requires iterative exchange of geometry and material inforequires iterative exchange of geometry and material info

Geometry representations in CAD systems and Geometry representations in CAD systems and G4/ROOT [2,3] are rather different from each otherG4/ROOT [2,3] are rather different from each otherThe difference is twofold: in the description of solid bodies and in the The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies. For this reason the automated geometry hierarchy of assemblies. For this reason the automated geometry transfer can not be widely used. In some cases it is possible, but the transfer can not be widely used. In some cases it is possible, but the result is not optimized for simulations and computations are too slow result is not optimized for simulations and computations are too slow for big assemblies and complex shapes.for big assemblies and complex shapes.

Solids: Solids: In CAD systems quasi arbitrary boundary representation is usedIn CAD systems quasi arbitrary boundary representation is used

In G4/ROOT a Boolean combination of primitives (Constructive Solid In G4/ROOT a Boolean combination of primitives (Constructive Solid Geometry - CSG) is implemented.Geometry - CSG) is implemented.

The methodThe method

CBM STSCBM STSCBM RICHCBM RICH CBM and R3B CBM and R3B Dipole magnetsDipole magnets

[1] S. Belogurov, Yu. Berchun, A.Chernogorov, P. Malzacher, E. Ovcharenko,[1] S. Belogurov, Yu. Berchun, A.Chernogorov, P. Malzacher, E. Ovcharenko,‘‘CATIA-GDML GEOMETRY BUILDER’, JPCS, V. 331, N3, 2011 , p. 32035CATIA-GDML GEOMETRY BUILDER’, JPCS, V. 331, N3, 2011 , p. 32035[2] Allison J et al. 2006 Geant4 developments and applications IEEE Trans. [2] Allison J et al. 2006 Geant4 developments and applications IEEE Trans. on Nucl. Sci. 53 270-8on Nucl. Sci. 53 270-8[3] Naumann A, Offermann E, Onuchin V, Panacek S, Rademakers F, [3] Naumann A, Offermann E, Onuchin V, Panacek S, Rademakers F, Russo P and Tadel M 2009 ROOT – a C++ framework for petabyte data Russo P and Tadel M 2009 ROOT – a C++ framework for petabyte data storage, statistical analysis and visualization Computer Physics storage, statistical analysis and visualization Computer Physics Communications 180 2499-512Communications 180 2499-512[4] Chytracek R, McCormick J, Pokorski W and Santin G 2006 Geometry [4] Chytracek R, McCormick J, Pokorski W and Santin G 2006 Geometry description markup language for physics simulation and analysis applications description markup language for physics simulation and analysis applications IEEE Trans. Nucl. Sci. 53 2892-6IEEE Trans. Nucl. Sci. 53 2892-6

PlansPlans

In CAD hierarchy a minimal unit is a solid body In CAD hierarchy a minimal unit is a solid body ((part).part).

Products (assemblies) and subproducts are only logical Products (assemblies) and subproducts are only logical units – all the materials are assigned to solid bodies inside units – all the materials are assigned to solid bodies inside the part files or to partsthe part files or to parts

The taskThe task

- Extension of the pickpoint definition to other primitivesExtension of the pickpoint definition to other primitives- handling of inaccuracies in the pick-point primitive definitionhandling of inaccuracies in the pick-point primitive definition- Overcoming limitations of poly-primitivesOvercoming limitations of poly-primitives- Adaptation of the CATIA Digital Mockup (DMU) optimizer for Adaptation of the CATIA Digital Mockup (DMU) optimizer for

automatic fit of parameterized CSG models to existing partsautomatic fit of parameterized CSG models to existing parts- Acceleration of GDML2CATIA converter Acceleration of GDML2CATIA converter - Visualization of several hierarchical levelsVisualization of several hierarchical levels- Case study and best practice elaborationCase study and best practice elaboration

In the G4/ROOT hierarchy there are three conceptual layersIn the G4/ROOT hierarchy there are three conceptual layers::

- G4VSolid: - G4VSolid: shape, sizeshape, size - G4LogicalVolume: - G4LogicalVolume: material, MF, sensitivity, material, MF, sensitivity, daughter volumes, etc.daughter volumes, etc. - G4VPhysicalVolume: - G4VPhysicalVolume: position and rotation of position and rotation of an instance of the logical volume inside its motheran instance of the logical volume inside its mother

The problemThe problem

We are presenting an update on the development and We are presenting an update on the development and application of a tool for manual building of an optimized application of a tool for manual building of an optimized simulation geometry based on a CAD model. Earlier simulation geometry based on a CAD model. Earlier version of the tool was presented at CHEP2010 [1]version of the tool was presented at CHEP2010 [1]

1. Mapping the G4/ROOT like geometry into CATIA product tree1. Mapping the G4/ROOT like geometry into CATIA product tree

a) a) Solid (TGeoShape):Solid (TGeoShape):

- Implementation of primitives as parameterized User Defined Features (UDF) in CATIA. The - Implementation of primitives as parameterized User Defined Features (UDF) in CATIA. The UDFs are placed into G4Catalog. The following primitives are realized:UDFs are placed into G4Catalog. The following primitives are realized:G4Box; G4Cons; G4Ellipsoid; G4EllipticalCone; G4EllipticalTube; G4Orb; G4Para; G4Sphere; G4Box; G4Cons; G4Ellipsoid; G4EllipticalCone; G4EllipticalTube; G4Orb; G4Para; G4Sphere; G4Torus; G4Trap; G4Trd; G4Tubs; G4TwistedBox; G4TwistedTrap; G4TwistedTrd; G4Torus; G4Trap; G4Trd; G4Tubs; G4TwistedBox; G4TwistedTrap; G4TwistedTrd; G4TwistedTubs. Pilot versions of G4Polycone and G4Polyhedra are also available.G4TwistedTubs. Pilot versions of G4Polycone and G4Polyhedra are also available.

-Realization of Boolean combinations using CATIARealization of Boolean combinations using CATIA operations operations Add, RemoveAdd, Remove and and IntersectIntersect

b) b) LogicalVolume (TGeoVolume) LogicalVolume (TGeoVolume)

- File structure is realized in a template.- File structure is realized in a template.- Name of the material is introduced as a parameter.- Name of the material is introduced as a parameter.- PartBody - PartBody contains a parameterized CSG solid. contains a parameterized CSG solid. - Unparameterized copy of the - Unparameterized copy of the PartBodyPartBody is published is published

c) c) PhysicalVolume (TGeoNode)PhysicalVolume (TGeoNode)-Solids, published in files corresponding each to a smaller Solids, published in files corresponding each to a smaller LogicalVolume (TGeoVolume) LogicalVolume (TGeoVolume) can can be inserted into the tree with positioning. They represent daughter volumesbe inserted into the tree with positioning. They represent daughter volumes-Linear and circular G4PVReplica (TGeoVolume * Divide) are implemented for multiple Linear and circular G4PVReplica (TGeoVolume * Divide) are implemented for multiple instantiationinstantiation-G4AssemblyVolume (TGeoVolumeAssembly) are marked by G4AssemblyVolume (TGeoVolumeAssembly) are marked by material=assemblymaterial=assembly and are able and are able to manifest representations of daughters at the upper levelto manifest representations of daughters at the upper level

2. Developing the VBA tools facilitating creation of the G4/ROOT like geometry 2. Developing the VBA tools facilitating creation of the G4/ROOT like geometry

-Inserter: Inserter: places a daughter volume inside the mother one and creates a template for rotations and places a daughter volume inside the mother one and creates a template for rotations and translations. A dedicated checkbox allows to transform the mother volume into assembly.translations. A dedicated checkbox allows to transform the mother volume into assembly.-Array maker: Array maker: Creates a circular or linear array of individual placements of daughter or “granddaughter” Creates a circular or linear array of individual placements of daughter or “granddaughter” volumes or generates G4PVReplica (TGeoVolume * Divide). volumes or generates G4PVReplica (TGeoVolume * Divide). -PtPa:PtPa: Allows to translate a Boolean operand or a daughter volume by clicking initial and final points. Allows to translate a Boolean operand or a daughter volume by clicking initial and final points.-Measure:Measure: Allows to measure length (radius) of an object or a distance (angle) between two objects. and Allows to measure length (radius) of an object or a distance (angle) between two objects. and put th result into any parameter of a G4/ROOT like model.put th result into any parameter of a G4/ROOT like model.-Mover: Mover: Allows to translate simultaneously a set of volumes.Allows to translate simultaneously a set of volumes.-Symmetry: Symmetry: Creates Physical volumes symmetric to selected set w.r.t a given plane. When necessary a Creates Physical volumes symmetric to selected set w.r.t a given plane. When necessary a chiral partner of an existing volume is generated. So far works only with primitives. chiral partner of an existing volume is generated. So far works only with primitives. -PickPoint Trap: PickPoint Trap: Calculates and puts into the tree the values of parameters, translations and rotations Calculates and puts into the tree the values of parameters, translations and rotations for a Trapezoid defined by picking with a mouse 8 vertices.for a Trapezoid defined by picking with a mouse 8 vertices.-Checker: Checker: Allows to check the correctness of G4/ROOT compatible tree and overlaps of volumnesAllows to check the correctness of G4/ROOT compatible tree and overlaps of volumnes-Material reassignerMaterial reassigner: Allows to assign all the materials from the upper level of the CATIA product.: Allows to assign all the materials from the upper level of the CATIA product.-GDML Parameterization: GDML Parameterization: For exchange of the G4/ROOT compatible geometry between CATIA and MC For exchange of the G4/ROOT compatible geometry between CATIA and MC packages GDML [4] is used. GDML variables are implemented using CATIA parameters and relations. packages GDML [4] is used. GDML variables are implemented using CATIA parameters and relations. -CATIA2GDML: CATIA2GDML: It is a converter from the G4/ROOT compatible CATIA tree to the GDML file readable by It is a converter from the G4/ROOT compatible CATIA tree to the GDML file readable by ROOT and GEANT4. ROOT and GEANT4. -GDML2CATIAGDML2CATIA: It is a converter from GDML to CATIA. It allows to bring any simulation geometry into : It is a converter from GDML to CATIA. It allows to bring any simulation geometry into CATIACATIA

CBM ECAL FrameCBM ECAL Frame

The CBM Silicon Tracker is read from The CBM Silicon Tracker is read from cbmroot cbmroot via GDML. It is built as a multi via GDML. It is built as a multi level assembly: level assembly:

1 to 3 sensors and a cable from a module1 to 3 sensors and a cable from a module1 to 5 modules form a half ladder1 to 5 modules form a half ladder2 half-ladders form a ladder2 half-ladders form a ladder6-16 ladders form a station6-16 ladders form a station

ReferencesReferences

The authors are grateful I. Ovsyannikov (BMSTU) for his The authors are grateful I. Ovsyannikov (BMSTU) for his contribution into the project. This work is supported by SC contribution into the project. This work is supported by SC ROSATOM and Helmholtz Association (grant IK-RU-002) via ROSATOM and Helmholtz Association (grant IK-RU-002) via FAIR-Russia Research CenterFAIR-Russia Research Center

AcknowledgementsAcknowledgements

CADROOT

Specific Tools used for building G4/ROOT compatible CBM RICHSpecific Tools used for building G4/ROOT compatible CBM RICH::

Mirror tilting angle, position and size of photodetectors and deflection Mirror tilting angle, position and size of photodetectors and deflection angle of the beam pipe were angle of the beam pipe were parameterized.parameterized.

For rear frameFor rear frame PickPoint TrapPickPoint Trap and and Symmetry Symmetry were usedwere used

For mirror supporting belts For mirror supporting belts circular arraycircular array, , divisionsdivisions and and assemblyassembly were usedwere used

top related