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 <[email protected]>
To:     [email protected]



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
[email protected]

+-+-+- 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
[email protected]

+-+-+- Disclaimer +-+-+-
www.cenaero.be/disclaimer


_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to