[Gmsh] Error : Self intersecting surface mesh, computing intersections

Berta Beltran beltran at ualberta.ca
Thu Dec 7 20:00:14 CET 2017


Hi  all, 

I am trying to emulate this results (see attached figure)  from some previous simulations done with COSMOL Multiphysics for the electric potential of our device. I am creating the geometry and meshing it with Gmsh and then I will use Elmer to calculate the potential and electric fields. 






I have programed a file called small_cell.geo (attached) with a bounding box and 3 perpendicular wires inside. I want to have mirror conditions along the 4 long sides of the box as I will be periodically repeating this cell to make a bigger detector and therefore I need the wires to touch the walls. 

The geometry file seems to be ok if I look at it with Gmsh (see attached file) 













But when I try to mesh this geometry by doing in the command line 

#gmsh small_cell.geo -3 -order 2 

I get the following error 

Error   : Self intersecting surface mesh, computing intersections (this could take a while)



Error   : ------------------------------
Error   : Mesh generation error summary
Error   :     0 warnings
Error   :     1 error
Error   : Check the full log for details
Error   : ------------------------------




If I have a look at the  intersect.pos  file with Gmsh I see that the points where the wires touch the bounding box walls are the problems (see attached figure) 





But as I have mentioned I want the wires to touch the walls so that I can have mirror conditions when I calculate the electric field with Elmer. 

Any suggestion of how can I get right of this error ? 
All my geometry files are attached to this email. 

Thanks in advance 

Berta 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0009.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled.pdf
Type: application/pdf
Size: 292517 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0003.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0010.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: small_cell_geo.pdf
Type: application/pdf
Size: 52149 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0004.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0011.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intersect.pdf
Type: application/pdf
Size: 8315 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0005.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0012.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gf_cylinder.geo
Type: application/octet-stream
Size: 2698 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0004.geo>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0013.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gf_rectangle.geo
Type: application/octet-stream
Size: 2998 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0005.geo>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0014.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gf_x_cylinder.geo
Type: application/octet-stream
Size: 2720 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0006.geo>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0015.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intersect.pos
Type: application/octet-stream
Size: 15926 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0001.pos>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0016.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: small_cell.geo
Type: application/octet-stream
Size: 4275 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0007.geo>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171207/d9633a53/attachment-0017.html>


More information about the gmsh mailing list