[Gmsh] Mesh with a background mesh
Marc Duflot
marc.duflot at cenaero.be
Tue Aug 30 13:06:12 CEST 2005
Hello,
I have some problems when I try to mesh a geometry with a hole, with a
background mesh for the elements size.
I attach some files that show the problems. cylpart.geo is the geometry
I use to make a first mesh cylpart.msh. OptimalSize.pos defines the
wished element sizes on this first mesh. Then, I try to mesh the
geometry with
gmsh -2 -bgm OptimalSize.pos -o cylpart2.msh cylpart.geo
(only surface mesh for now). It fails with a lot a warnings:
Warning : Characteristic length <= 0: setting to 1.0
It seems that some points fall outside the first mesh.
If I add a big tet at the end of OptimalSize.pos that covers the whole
geometry
SS (-100,-100,-100,500,-100,-100,-100,500,-100,-100,-100,500)
{1.0,1.0,1.0,1.0};
then it succeeds but the resulting mesh is ugly because for sometimes
the small size of OptimalSize is used and sometimes the default value
1.0 is used.
Any hints?
Marc
--
Dr Marc Duflot
CENAERO
Avenue Jean Mermoz, 30
B-6041 Gosselies
Tel. : + 32 (0)71 91.93.64
Fax. : + 32 (0)71 91.93.31
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cylpart.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050830/3b6c2796/attachment.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cylpart.msh
Type: model/mesh
Size: 15057 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050830/3b6c2796/attachment.msh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OptimalSize.pos
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050830/3b6c2796/attachment.pos>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ugly.jpeg
Type: image/jpeg
Size: 258633 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050830/3b6c2796/attachment.jpeg>