[Gmsh] Problem with element size application
Jean-Pierre Lefebvre
jean-pierre.lefebvre at cenaero.fr
Fri Sep 24 09:17:46 CEST 2010
Hello,
I am facing a problem when I try to mesh by using mesh element size. In
the attached script, I define a rectangle. I compute the element size,
and, based on that, I determine the number of elements to apply on the
edge (in this particular case, it is 6).
When I run the script like this, I just retrieve 5 elements instead of 6
(see attached picture). But if I define explicitly "nb_elem_x = 6;",
everything is working fine.
Could you please tell me what is wrong in my script ?
Thanks a lot in advance for your help,
Jean-Pierre.
--
Jean-Pierre LEFEBVRE
Cenaero France SASu
462 Rue Benjamin Delessert, BP 83
Z.I. de Moissy-Cramayel
F-77554 Moissy-Cramayel
France
Tél: + 33 (0)1 64 13 54 29
jean-pierre.lefebvre at cenaero.fr
+-+-+- Disclaimer +-+-+-
www.cenaero.be/disclaimer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: essai_raffinement.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100924/04c2de86/attachment.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mesh_generated_by_script.png
Type: image/png
Size: 33907 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100924/04c2de86/attachment.png>