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.


Regards,

Cormac

________________________________
From: gmsh <gmsh-boun...@ace20.montefiore.ulg.ac.be> on behalf of Xinyu Zhao 
<xz...@cam.ac.uk>
Sent: 10 March 2017 01:12
To: gmsh@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
xinyu
________________________________

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.

Attachment: elliptical_holes.geo
Description: elliptical_holes.geo

_______________________________________________
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh

Reply via email to