[Gmsh] Question about Gmsh

youngjun at mail.ustc.edu.cn youngjun at mail.ustc.edu.cn
Thu Nov 8 05:56:07 CET 2012


Dear Professor Christophe Geuzaine and Professor Jean-François Remacle,

I'm a graduate student from University of Science and Technology of China. My major is geophysics and I am now using Gmsh to build models for modeling geoeletric field. 

These models are quite simple. The structure of the model is a cuboid space with some simple bodies whose properties differ from the cuboid space(We call them anomalies) inside it. Then when I try to specify large amount of points that regularly spread on the surface of the model for measuring the eletric potential, it seems that it's not going to be an easy task. I have to define all these points, then create line segments between every two adjacent points, followed by forming line loops to define plane surfaces, and finally put them into a part of the volume in order to execute the 3D mesh. If I don't do it in this way, the produced grid will have nothing to do with these deteting points. However, I need to make sure that these points on the surface are nodes of the elements. 

So is there an easy technique to accomplish this operation? More generally, is there an elementary classification for stand-alone control points which is going to be the nodes of the elements when execute the mesh operation, like the ones I described above? I'm not sure if I miss some important information in the Gmsh Reference Manual, but till now I can't find a simple way. 

The attachment is the .geo file that describes the model I want to build. Only the points, and lines are defined in the file. If these elementaries have to be defined manually, thousands of operations are needed.

The Gmsh with GUI is quite easy to operate. Thanks for offering us this excellent software!

Best Regards,
Jun Yang
University of Scinece and Technology of China
Heifei,China
Email: youngjun at mail.ustc.edu.cn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geoeletric.geo
Type: application/octet-stream
Size: 189926 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20121108/9f345aad/attachment.geo>