CATIA-G4/Root Geometry Builder. S. Belogurov 1,2, * Yu. Berchun 2, A. Chernogorov 1, *, P. Malzacher 3, E. Ovcharenko 1,2, *, A. Semennikov.

Slides:



Advertisements
Similar presentations
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 5.
Advertisements

Use of G EANT 4 in CMS AIHENP’99 Crete, April 1999 Véronique Lefébure CERN EP/CMC.
Explosive joining of dissimilar metals: experiment and numerical modeling Anan’ev S.Yu., Andreev A.V., Deribas A.A., Yankovskiy B.D. Joint Institute for.
Feature-Based Modeling and Optional Advanced Modeling
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 8.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 9 3D Modeling.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 4.
IE 590 J Cecil NMSU 1 IE 590 Integrated Manufacturing Systems Lecture 4 CAD & Geometric Modeling.
2003 by Jim X. Chen: Introduction to Modeling Jim X. Chen George Mason University.
CATIAv5 : EUCLID3 Data migrationYann BONCOMPAGNI CERN TS-CSE-CAECATIAv5CATIAv5 Euclid3 data migration.
Witek Pokorski, Radovan Chytracek, Jeremy McCormick, Giovanni Santin
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
ME110- Introduction to CAD Craig R. Ronald Hylan 303.
MEMD 261 Computer Aided Design (CAD) Introduction to CAD
Examples Development and application of CATIA-GDML geometry builder Introduction 1- Institute for Theoretical and Experimental Physics (ITEP), Moscow,
SDC PUBLICATIONS © 2012 Chapter 8 Constructive Solid Geometry Concepts Learning Objectives:  Understand Constructive Solid Geometry Concepts  Create.
In the G4/ROOT hierarchy there are three conceptual layers: - G4VSolid: shape, size - G4VSolid: shape, size - G4LogicalVolume: material, MF, sensitivity,
COMPUTER AIDED DESIGN -(CAD)-3
Study of response uniformity of LHCb ECAL Mikhail Prokudin, ITEP.
Computer Integrated Manufacturing CIM
Geometry Detector geometry A detector geometry in Geant4 is made of a number of volumes. The largest volume is called the World volume. It must contain.
Disediakan oleh Suriati bte Sadimon GMM, FSKSM, UTM, 2004 SOLID MODELLING.
Magnet Spacers Design Automation Roxie2Catia Catia Forum – Sept. 29th 1.
DELMIA DPM Assembly This is the Master “Presentation title” page. Type the title of your presentation in the "Presentation title” field. Cette page est.
PREPARED BY: SAMERA BINTI SAMSUDDIN SAH SEM /2012 (NOV 2011)
XML Description of ECAL Geometry  For XML description of ECAL Geometry were used: Det/XmlDDDB/v5, Det/XmlEditor/v4, Det/DetDesk/v6, Vis/GaudiLab/v1r4.
Darmstadt, 15. November 2015 Tobias Stockmanns, FZ Jülich1 A STEP to ROOT converter for the FairRoot framework ALICE-FAIR Computing Meeting, GSI,
Visual Computing Geometric Modelling 1 INFO410 & INFO350 S2 2015
Abstract ESOLID is a computational geometry system that performs boundary evaluation using exact computation. Boundary Evaluation Exact computation Problem.
3D Object Representations
The GeoModel Toolkit for Detector Description Joe Boudreau Vakho Tsulaia University of Pittsburgh CHEP’04 Interlaken.
New software library of geometrical primitives for modelling of solids used in Monte Carlo detector simulations Marek Gayer, John Apostolakis, Gabriele.
Jump to first page The new ROOT geometry package Andrei Gheata - ALICE Institute of Space Sciences, Bucharest.
BREPS & STEP what's up and coming... Gabriele Cosmo CERN - IT/ASD GEANT4 Workshop September, 20th 1999 ESTEC, Noordwijk, The Netherlands.
CBM ECAL simulation status Prokudin Mikhail ITEP.
Constructive Solid Geometry Ray Tracing CSG Models
Geometrically Bounded Wireframe AIC (Part 510) Grouping of curves relevant for 3-dimensional wireframe modeling without topological constructs Elementary.
Approved for Public Release – Distribution Unlimited
ECAL software development Yuri Kharlov IHEP Protvino.
Detector Description: Basics
IT / API 1 CERN 1-Feb-16 GBLIB: classes to deal with geometrical data Evgueni Tcherniaev IT / API CLHEP workshop, January.
What is an STL file To get your model printed you will need to send us an stl file. This is a file format created to take the complexity out of a CAD model.
GDML “Geometry Description Markup Language” by Daniele Francesco Kruse University of Rome “Tor Vergata” European Organization for Nuclear Research.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Collaboration.
Interplay between ROOT and CATIA P. Biryukov
Computer – Aided Design Terminology You must have a generic understanding of commands and techniques which are used in a number of packages (YOU CANNOT.
New features in ROOT geometrical modeller for representing non-ideal geometries René Brun, Federico Carminati, Andrei Gheata, Mihaela Gheata CHEP’06,
Lesson Plan: Drafting and Design J6-2. What is 3D solid modeling? How do 3D solid modeling programs work?
MEASUREMENTS, DISPLACEMENT FUNCTIONS AND CAD GEOMETRY
Chapter 6 Working with CAD
Complex Geometry Visualization TOol
European Organization for Nuclear Research
Finalizing the CBM-MVD Geometry: CAD and Simulation
CBM beam pipe current status
SOLID MODELLING.
IHEP group Shashlyk activity towards TDR
Introduction to Graphics Modeling
Markus Frank CERN/LHCb CHEP2013, Amsterdam, October 14th–18th 2013
3D Object Representations
3D Modeling in AutoCAD.
CAD/CAM services ensure complete Mold Tooling design in catia process coverage for mold tooling injection designers. CAD/CAM services use a predefined.
CAD/CAM services ensure complete tooling process coverage for mold tooling design in catia. You can use our CAD/CAM Services for mold tooling design.
Licensed Electrical & Mechanical Engineer
Lecture 27: Solid Modeling
Computer Aided Design (CAD) Introduction to CAD
MEMD 261 Computer Aided Design (CAD) Introduction to CAD
Chapter 3 Constructive Solid Geometry Concepts
Marc Verderi GEANT4 collaboration meeting 01/10/2002
33nd CATIA Forum Moving from Component to a Product
Presentation transcript:

CATIA-G4/Root Geometry Builder. S. Belogurov 1,2, * Yu. Berchun 2, A. Chernogorov 1, *, P. Malzacher 3, E. Ovcharenko 1,2, *, A. Semennikov 1 * - FRRC fellows 1- Institute for Theoretical and Experimental Physics (ITEP), Moscow, Russia 2- Bauman Moscow State Technical University, (BMSTU) Moscow, Russia 3- GSI - Helmholtzzentrum für Schwerionenforschung GmbH, Darmstadt, Germany ( Helmholtz Center for Heavy Ion Research)

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk2 Outline Introduction Motivation The method An example Plans

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk3 CAD system Introduction For mechanical, thermal, and some of electromagnetic software the transfer is automated. For radiation simulation packages that’s not a case. In some cases automated geometry transfer is possible, but result is not optimized for simulations, and computations are too slow for big assemblies and complex shapes. simulation tools Design optimization requires iterative exchange of geometry and material info

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk4 Introduction The most popular software for simulation of particle interactions and propagation in matter and data analysis are GEATN4 and ROOT. Both Geant4 and ROOT use the same geometry representation which differs a lot form one in CAD systems. Geant4/ROOT geometry can be transferred via GDML files We are presenting a tool, which allows to facilitate creation of G4/ROOT- compatible geometry from the CAD system CATIA v.5 (used in CERN, GSI and other labs) The work was reported at SECESA2010 and CHEP2010 conferences

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk5 Motivation In CAD systems solid bodies are built using a wide class of surfaces and curves in advanced boundary representation (BRep). Geometry representation in CAD and G4/ROOT The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies.

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk6 Motivation Geometry representation in CAD and G4/ROOT The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies. In G4/ROOT the Constructive Solid Geometry (CSG) is used. Building blocks are primitives. Currently 21 primitives are implemented. Some of them are shown

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk7 Motivation Geometry representation in CAD and G4/ROOT The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies. In G4/ROOT the Constructive Solid Geometry (CSG) is used. Simple solids can be combined using Boolean operations ( union, subtraction, intersection ) Result of Boolean operation is a solid. It can participate in further Boolean operations

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk8 Motivation Geometry representation in CAD and G4/ROOT The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies. In CAD hierarchy a minimal unit is a solid body (part). Products (assemblies) and subproducts are only logical units – all the materials are assigned to solid bodies inside the part files or to parts

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk9 Motivation Geometry representation in CAD and G4/ROOT The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies. In the G4/ROOT hierarchy there are three conceptual layers: –G4VSolid: shape, size –G4LogicalVolume: material, MF, sensitivity, daughter volumes, etc. –G4VPhysicalVolume: position and rotation of an instance of the logical volume inside its mother L1(Box1,Vacuum)

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk10 Motivation Geometry representation in CAD and G4/ROOT The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies. In the G4/ROOT hierarchy there are three conceptual layers: –G4VSolid: shape, size –G4LogicalVolume: material, MF, sensitivity, daughter volumes, etc. –G4VPhysicalVolume: position and rotation of an instance of the logical volume inside its mother L1(Box1,Vacuum L2(Box2, Plastic) )

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk11 Motivation Geometry representation in CAD and G4/ROOT The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies. In the G4/ROOT hierarchy there are three conceptual layers: –G4VSolid: shape, size –G4LogicalVolume: material, MF, sensitivity, daughter volumes, etc. –G4VPhysicalVolume: position and rotation of an instance of the logical volume inside its mother L1(Box1,Vacuum,3L2) L2(Box2, Plastic)

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk12 Motivation Geometry representation in CAD and G4/ROOT The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies. In the G4/ROOT hierarchy there are three conceptual layers: –G4VSolid: shape, size –G4LogicalVolume: material, MF, sensitivity, daughter volumes, etc. –G4VPhysicalVolume: position and rotation of an instance of the logical volume inside its mother L1(Box1,Vacuum L3(Cyl1,Cu) L4(Box3,Fe),3L2) L2(Box2, Plastic)

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk13 Motivation Geometry representation in CAD and G4/ROOT The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies. In the G4/ROOT hierarchy there are three conceptual layers: –G4VSolid: shape, size –G4LogicalVolume: material, MF, sensitivity, daughter volumes, etc. –G4VPhysicalVolume: position and rotation of an instance of the logical volume inside its mother L1(Box1,Vacuum L2(Box2, Plastic L3(Cyl1,Cu) L4(Box3,Fe),3L2) L3, 2L4), L3, 2L4)

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk14 Motivation Geometry representation in CAD and G4/ROOT The difference is twofold: in the description of solid bodies and in the hierarchy of assemblies. In the G4/ROOT hierarchy there are three conceptual layers: –G4VSolid: shape, size –G4LogicalVolume: material, MF, sensitivity, daughter volumes, etc. –G4VPhysicalVolume: position and rotation of an instance of the logical volume inside its mother - Any logical volume is made of a material - Unlike a part in CAD systems, any logical volume may be a mother for placing smaller volumes inside. - Any intersections of volumes’ boundaries are forbidden. - The World is the biggest logical volume, it can not be positioned. L1(Box1,Vacuum L3(Cyl1,Cu) L4(Box3,Fe),3L2) L2(Box2, Plastic L3, 2L4), L3, 2L4)

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk15 Motivation Preparing any geometry for MC simulations one has to keep in mind two issues: 1. Required Detalization For a detector with poor position resolution, description should be less accurate than for more precise device. Choosing appropriate level of detalization, one can reduce significantly required computational time and memory. Examples: a threaded hole in a flange with a screw inside is equivalent for MC to a bulk piece of metal; for peripheral equipment, sometimes, just a simple solid filled with a correct mixture of materials is sufficient.

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk16 Motivation Preparing any geometry for MC simulations one has to keep in mind two issues: 2. Optimization for simulations A couple of tricks. - Minimization of the number of volumes. E.g. a module of the sampling calorimeter: In CAD model – lead and scintillator plates. For G4 simulations scintillator plates are inserted into the bulk Pb mother volume.

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk17 Motivation Preparing any geometry for MC simulations one has to keep in mind two issues: 2. Optimization for simulations A couple of tricks. - Avoiding unions helps to accelerate simulations. E.g. CAD and G4/ROOT representations of a section of the beampipe for CBM experiment at FAIR (Cylinder, Sphere, Cone. No overlaps, no unions)

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk18 Motivation Thus, our tool allows to facilitate creation of G4/ROOT- compatible geometry from the CAD system CATIA v.5. It is targeted on scientists who understand what geometry representation and level of detalization are optimal for given simulation task. Sacrificing automation of the geometry transfer we gain optimization For usage of the tool one should get familiar with limited (but powerful) measurement, construction, and visualization functionality of CATIA and our plugins.

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk19 The method Implementation of primitives as parameterized User Defined Features (UDF) in CATIA. The UDFs are placed into G4Catalog. For realization of Boolean combinations CATIA operations Add, Remove and Intersect are used.

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk20 The method File structure for representation of a LogicalVolume. PartBody contains a parameterized solid and material. Unparameterized solid copy of the PartBody is published Solids, published in files corresponding to smaller LogicalVolumes can be inserted into the tree with positioning. They represent daughter volumes M d d d

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk21 The method Initially, files containing only PartBodies with material and publication should be prepared. Then specially designed VBA macro helps to insert with positioning a copy of a LogicalVolume as a daughter PhysicalVolume into a destination part.

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk22 The method 3 methods of multiple instantiation are implemented Replica - matches with G4ReplicaVol Array - copied objects can be inserted into an intermediate logical volume SimplePlacement Array - intermediate volume is only a convenient reference frame

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk23 The method At the end the tree is analyzed and GDML file is exported. Import of GDML files into CATIA is implemented as well

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk24 The method Illustration of the procedure. a)Three Part files are loaded. b)Slice is twice inserted and positioned inside the Cylinder c)Cylinder is positioned inside the World (Box) d)Geometry exported to GDML and read by ROOT

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk25 For transferring geometry, one has to load an existing CAD model first. Then, using powerful measurement, construction, and visualization functionality of CATIA and our tool, a G4/ROOT compatible geometry can be built. The method Examples of measurements in CATIA

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk26 Examples GLAD – Large Aperture SC Diplole Magnet for R3B experiment at FAIR. Consists of 4 SS and Cu layers of complicated shapes with ribs. All transferred to G4/ROOT. One of the shells is discussed here

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk27 Examples Cylinders, Tori, and Ellipsoids: General shape is reproduced, but the shell has slits – bad for simulations  Cylinders, Tori, and Spheres, but length and radii of cylinders are modified : General shape is violated, but no slits – good for simulations

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk28 Examples LHCb VELO read from GDML LHCb VELO CAD model

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk29 Crystal calorimeter for R3B. General and partial views Examples

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk30 Examples Crystal calorimeter for R3B. G4/ROOT-like representation of a slice of CFC boxes and entire crystal array

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk31 - Enhancement of the set of implemented primitives - Improvement of the G4Materials catalog in CATIA - Implementation of checkers for CSG tree structure and volume overlaps - Adaptation of the CATIA Digital Mockup (DMU) optimizer for automatic fit of parameterized CSG models to existing parts - Case study and best practice elaboration Plans for further development

S. Belogurov et al. FRRC session, Dec. 12-th, 2010, Obninsk32 - Enhancement of the set of implemented primitives - Improvement of the G4Materials catalog in CATIA - Implementation of checkers for CSG tree structure and volume overlaps - Adaptation of the CATIA Digital Mockup (DMU) optimizer for automatic fit of parameterized CSG models to existing parts - Case study and best practice elaboration Plans for further development Thank you for your attention !