[Gmsh] Holes in mesh

Cormac Flynn Cormac.Flynn at wintec.ac.nz
Thu Mar 9 21:40:23 CET 2017

Hi  Xinyu,

The attached is a script that creates elliptical holes in a square sheet. Not sure if this something like what you are after.



From: gmsh <gmsh-bounces at ace20.montefiore.ulg.ac.be> on behalf of Xinyu Zhao <xz323 at cam.ac.uk>
Sent: 10 March 2017 01:12
To: gmsh at onelab.info
Subject: [Gmsh] Holes in mesh

Dear Gmsh team

I'm trying to plot an area with many holes in it.

I'm aware of test example 5. But in that example the cheeseholes' area is also meshed, instead of the mesh shown in the following picture. [???? 1]

I know a simple hole as the one is the picture could be plotted by a special line loop. However, what if the there are so many holes that they have to be generated by code and therefore line numbers of the generated line loops could not be find?

Please find the attached file for the mesh I'm trying to plot. I'm trying to generate the mesh so that each hole in the Graphit physical volume looks exactly like the hole shown in the picture (no mesh in the hole.)

Thanks and wishes

This electronic mail transmission is intended for the named recipients only. It may contain private and confidential information. If this has come to you in error you must take no action based upon it, nor must you copy it or show it to anyone; please telephone or email the sender at Wintec immediately and return the original email. We cannot accept any liability for any loss or damage sustained as a result of software viruses. It is your responsibility to carry out such virus checking as is necessary before opening any attachment which may be included with this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170309/e28085ef/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HoleyScreenUnitCell_1228.png
Type: image/png
Size: 89183 bytes
Desc: HoleyScreenUnitCell_1228.png
URL: <http://onelab.info/pipermail/gmsh/attachments/20170309/e28085ef/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elliptical_holes.geo
Type: application/octet-stream
Size: 3485 bytes
Desc: elliptical_holes.geo
URL: <http://onelab.info/pipermail/gmsh/attachments/20170309/e28085ef/attachment-0001.geo>

More information about the gmsh mailing list