Geant4 Version: 11.4.1
Operating System: Fedora Linux 43
Compiler/Version: GCC 15.2.1
CMake Version: 3.31.11
Hi everyone,
I am building a detector geometry in Geant4 using CADMesh to import complex shapes (G4TessellatedSolid). When I build and run the simulation normally (e.g., using /run/beamOn), the navigation seems to work perfectly, and I do not get any “stuck in geometry” track errors or overlapping warnings.
However, when I explicitly force an overlap test using the /geometry/test/run command, I get several GeomVol1002 warnings.
Most of the reported overlaps are in the range of 20 to 35 µm, and some even report “0 fm” of protrusion when checking daughter volumes against their mother volumes.
My core questions are:
- If a simulation involving optical physics has an overlap on the order of micrometers (or femtometers), can this cause significant problems in optical photon transport (e.g., reflection/refraction at the boundaries)?
- Is it normal to get these warnings exclusively when running
/geometry/test/run, but not during standard particle tracking? Should I be concerned about this behavior? - Is there a standard threshold for “acceptable” overlaps when working with CADMesh imports, or is it common practice to ignore these warnings if the geometry is visually and logically correct?
Technical context:
- Importing method: CADMesh (TessellatedMesh from OBJ files).
- The detector involves multiple nested layers (Tape → Teflon → Air → Scintillator/Fiber).
I have attached the overlap check output for reference:
Running geometry overlaps check...
Checking overlaps for volume CasePV:0 (G4Box) ... OK!
Checking overlaps for volume TapeWrapPV:0 (G4TessellatedSolid) ... OK!
Checking overlaps for volume TeflonWrapPV:0 (G4TessellatedSolid) ...
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomVol1002
issued by : G4PVPlacement::CheckOverlaps()
Overlap with mother volume !
Overlap is detected for volume TeflonWrapPV:0 (G4TessellatedSolid) with its mother volume TapeWrapLV (G4TessellatedSolid)
protrusion at mother local point (1.0537,101.504,4.03911) by 0 fm (max of 891 cases)
NOTE: Reached maximum fixed number -1- of overlaps reports for this volume !
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
Checking overlaps for volume AirWrapperPV:0 (G4TessellatedSolid) ...
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomVol1002
issued by : G4PVPlacement::CheckOverlaps()
Overlap with mother volume !
Overlap is detected for volume AirWrapperPV:0 (G4TessellatedSolid) with its mother volume TeflonWrapLV (G4TessellatedSolid)
protrusion at mother local point (1.032,100.805,3.23388) by 0 fm (max of 385 cases)
NOTE: Reached maximum fixed number -1- of overlaps reports for this volume !
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
Checking overlaps for volume ScintillatorPV:0 (G4TessellatedSolid) ...
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomVol1002
issued by : G4PVPlacement::CheckOverlaps()
Overlap with volume already placed !
Overlap is detected for volume ScintillatorPV:0 (G4TessellatedSolid) with FiberPV:0 (G4TessellatedSolid)
overlap at local point (-55.6536,-90.9666,0.650622) by 34.7174 um (max of 500 cases)
NOTE: Reached maximum fixed number -1- of overlaps reports for this volume !
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
Checking overlaps for volume FiberPV:0 (G4TessellatedSolid) ...
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomVol1002
issued by : G4PVPlacement::CheckOverlaps()
Overlap with mother volume !
Overlap is detected for volume FiberPV:0 (G4TessellatedSolid) with its mother volume AirWrapperLV (G4TessellatedSolid)
protrusion at mother local point (-7.51138,101.023,0.783116) by 0 fm (max of 23 cases)
NOTE: Reached maximum fixed number -1- of overlaps reports for this volume !
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
Checking overlaps for volume TeflonAnillosPV:0 (G4TessellatedSolid) ...
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomVol1002
issued by : G4PVPlacement::CheckOverlaps()
Overlap with volume already placed !
Overlap is detected for volume TeflonAnillosPV:0 (G4TessellatedSolid) with ScintillatorPV:0 (G4TessellatedSolid)
overlap at local point (21.2729,69.0388,0.876371) by 27.9235 um (max of 573 cases)
NOTE: Reached maximum fixed number -1- of overlaps reports for this volume !
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
Checking overlaps for volume SiliconSensorPV:0 (G4TessellatedSolid) ... OK!
Geometry overlaps check completed !
Any guidance on whether to treat these as “noise” or if I should adjust the geometry further would be greatly appreciated.
Thank you,
Jesús Ángel