Message: Re: Should I worry about this warning? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Should I worry about this warning? 

Forum: Geometry
Re: Question Should I worry about this warning? (Svetlana Shasharina)
Re: None Re: Should I worry about this warning? (John Apostolakis)
Re: None Re: Should I worry about this warning? (Svetlana Shasharina)
Date: 11 Apr, 2016
From: John Apostolakis <John Apostolakis>

It sounds as though your application could benefit from a direct interface between STEP and Geant4 that exists in an early stage.

The toolkit “DAGMC” from the University of Wisconsin provides geometry capabilities for complex CAD shapes.  A student created a first interface “G4DagMCSolid” which allows a volume described known to DAGMC to be seen as a Geant4 GVSolid.

Having few such solids, each of them rather complex, sounds like a good use/test case of this early integration between DAGMC and Geant4.  

A description of the underlying work can be found at:

M. C. Han, C. H. Kim, J. H. Jeong, Y. S. Yeom, S. Kim, P. P. H. Wilson, and J. Apostolakis, “DagSolid: a new Geant4 solid class for fast simulation in polygon-mesh geometry,” Phys. Med. Biol., vol. 58, no. 13, p. 4595, 2013.

Of course using this would require getting DAGMC to understand your geometry, and obtaining the “DagSolid” source code from its author(s).

Best regards,
John
===================================================
John Apostolakis,  EP Department, CERN
SFT (SoFTware for Experiments) Group
Office: Building 32/ room R-003 (ground floor),  Mail: J27210
Email:  john.apostolakis@cern.ch       Office Tel:  +41-22-767-7239
------------------------------------------------------------------------------------------

> On 11 Apr 2016, at 16:48, sveta <sveta@txcorp.com> wrote:
> 
> Hello John,
> Thank you for your prompt response.  The geometry that I use consists of 4 solids, each with approximately 3000 facets.    I suspect that we have errors in translating STEP into STL...
> Best regards,
> Sveta
> 
> On 4/11/16 8:43 AM, John Apostolakis wrote:
>> Dear Svetlana,
>> 
>> It is difficult to give a general recommendation about the warning you saw.
>> 
>> Sometimes it means the geometry is poorly defined - it includes non-trivial overlaps or possibly many small overlaps.  If this happens, typically you will see the warning relatively frequently.
>> 
>> If so, it is better to check your geometry description for overlaps - please see the Geant4 User Guide for Application developers for recommendations how to do this.
>> 
>> If you see this rather infrequently, it is possible that it is due to a difficulty of the Navigator in Geant4 to understand whether a point is in one volume or a neighbour.  Likely this occurs because
>>    - there are several solids along a line, or
>>    - potentially due to inaccuracies in creating a volume - on one side of an interface the surface is described to a certain approximation and on the other side it is described with a different approximation or at least with a different set of points.
>> 
>> This all depends on the complexity of the geometry which you have described, and the manner in which it was translated from STEP to STL.  If you can determine the number of triangles used to describe the solid “-Detector_two_stack_v203Geom_vol-” it could help inform.
>> 
>> One thing that you can try, to help identify whether the Navigator is confused, and whether the solid(s)/volume(s) provide conflicting answers is to run with the Navigator in ‘check’ mode.  Please see the User Guide to find how to turn this on.
>> 
>> Best regards,
>> John
>> ===================================================
>> John Apostolakis,  EP Department, CERN
>> SFT (SoFTware for Experiments) Group
>> Office: Building 32/ room R-003 (ground floor),  Mail: J27210
>> Email:  john.apostolakis@cern.ch       Office Tel:  +41-22-767-7239
>> ------------------------------------------------------------------------------------------
>> 
>>> On 09 Apr 2016, at 15:03, Svetlana Shasharina <sveta@txcorp.com> wrote:
>>> 
>>> 
>>> *** Discussion title: Geometry
>>> 
>>> I am using geant4-10 patch 3.  Getting:
>>> ------- WWWW ------- G4Exception-START -------- WWWW -------
>>> *** G4Exception : GeomNav1002
>>>      issued by : G4Navigator::ComputeStep()
>>> Track stuck or not moving.
>>>          Track stuck, not moving for 10 steps
>>>          in volume -Detector_two_stack_v203Geom_vol- at point (-2.94654,0.122429,-8.43648)
>>>          direction: (-0.0160609,0.671728,-0.740624).
>>>          Potential geometry or navigation problem !
>>>          Trying pushing it of 1e-07 mm ...Potential overlap in geometry!
>>> 
>>> Geometry comes from STEP, translated to STL and then to GDML.
>>> 
>>> Should I worry? If not, is there a way to turn this off in the .mac
>>> file? Thanks, Sveta
>>> 
>>> -------------------------------------------------------------
>>> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at:
>>> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1461.html
>> 
>> 

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Should I worry about this warning?   (sveta - 11 Apr, 2016)
2 None: Re: Should I worry about this warning?   (sveta - 11 Apr, 2016)
 Add Message Add Message
to: "Re: Should I worry about this warning?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]