[Gmsh] Some bug?
David Colignon
David.Colignon at ulg.ac.be
Thu May 10 08:52:00 CEST 2007
Hi,
it's not a bug, just a new feature in the 2.0 version : the extrusion syntax has changed (see http://www.geuz.org/gmsh/doc/texinfo/gmsh-full.html#SEC36 ) and explicit region number specification in extrusions has been removed.
Extrude Surface {18, {0,0,-T}} { Recombine; Layers { {nT}, {T} }; };
becomes
Extrude { 0, 0, -T } { Surface {18 } ; Layers { {nT}, {T} }; Recombine;} ;
Then you can use the Visibility window to check the numbers of the created volumes ( Physical Volume(101) = {1,2,3}; ), or use a variable to store them, as I did in the attached .geo file.
Cheers,
Dave
--
David Colignon, Ph.D.
ELAP - Service d'Electricité Appliquée
Institut Montefiore B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
http://elap.montefiore.ulg.ac.be
Seok Koo Kang wrote:
> Dear Dr. Christophe Geuzaine,
>
>
>
> I'm using Gmsh v2.0.7 now, and found a strange thing.
>
>
>
> When I make a mesh using the attached geo file by v2.0.7, the generated msh
> file only contains information about the surface mesh, not the volume mesh
> like prism, hexahedra... etc.
>
>
>
> However, when I used v1.65 to mesh the same geo file, it worked correctly.
>
>
>
> Is this a bug of the new version, or my mistake?
>
>
>
> Best wishes,
>
>
>
> Seok Koo Kang
>
> Graduate Student
>
> Dept. of Civil Engineering
>
> Univ. of Minnesota at Minneapolis
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TD_ok.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20070510/3a867d7f/attachment.geo>