[Gmsh] Help/advice with definition of mesh size

Christophe Geuzaine cgeuzaine at uliege.be
Sat Apr 4 14:04:21 CEST 2020



> On 4 Apr 2020, at 12:32, Octavio Castillo Reyes <ocastilloreyes at gmail.com> wrote:
> 
> Dear gmsh team and users, 
> 
> I would greatly appreciate your help in understanding / solving the construction of a mesh with gmsh. In the attached file you will find the definition of the geometry, which is made up of 8 volumes. What I want is to build a mesh with the following characteristics (if possible):
> 
> For each volume get the element size:
> Mat1, Mat2, Mat3 = 50
> Mat5, Mat6 = 500
> Mat7, Mat8 = 2500
> 
> Note that Mat1, Mat2 and Mat3 are contained in Mat5 and Mat6., And these, in turn, are contained in Mat7. I have tried different configurations but have not been able to obtain an adequate morning size, which in some cases is over-refined or under-refined.
> 
> Could someone from the community give me a tip or help? I would very much appreciate your comments
> 

I've played a bit with the constraints (see comments in the file) and the results seem OK:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh.geo
Type: application/octet-stream
Size: 22450 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20200404/1cc5516d/attachment-0001.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ok.png
Type: image/png
Size: 335244 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20200404/1cc5516d/attachment-0001.png>
-------------- next part --------------


Christophe


> Thanks in advance
> 
> Best regards
> <mesh.geo>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

? 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine





More information about the gmsh mailing list