[Gmsh] SOLVED : [Fwd: Problem with element size application]

Jean-Pierre Lefebvre jean-pierre.lefebvre at cenaero.fr
Fri Sep 24 10:06:22 CEST 2010


Hello,

This problem has been solved by using the function "Ceil()".

Thanks,

Jean-Pierre.

-------- Original Message --------
Subject: 	Problem with element size application
Date: 	Fri, 24 Sep 2010 09:17:46 +0200
From: 	Jean-Pierre Lefebvre <jean-pierre.lefebvre at cenaero.fr>
To: 	gmsh at geuz.org



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





-- 
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 HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100924/a982f14a/attachment.html>