[Gmsh] Problems meshing this geo file

Christophe Geuzaine cgeuzaine at ulg.ac.be
Mon Jan 26 18:57:56 CET 2009


Moritz Nadler wrote:
> Hallo,
> 
> I am using Gmsh 2.3.0
> when I mesh the attached .geo file with gmsh expCi.geo -2 -rand 1E-8
> 
> I get this information on the std output:
> 
> Info    : Running 'gmsh expCi.geo -2 -rand 1E-8'
> Info    : Started on Mon Jan 26 17:46:07 2009
> Info    : Reading 'expCi.geo'
> Info    : Read 'expCi.geo'
> Info    : Meshing 1D...
> Info    : Meshing curve 1 (Line)
> Info    : Meshing curve 2 (Line)
> Info    : Meshing curve 3 (Line)
> Info    : Meshing curve 4 (Nurb)
> Info    : Meshing curve 5 (Line)
> Info    : Meshing curve 6 (Line)
> Info    : Meshing curve 7 (Line)
> Info    : Meshing curve 8 (Nurb)
> Info    : Meshing curve 11 (Line)
> Info    : Meshing curve 12 (Line)
> Info    : Meshing curve 13 (Line)
> Info    : Meshing curve 14 (Nurb)
> Info    : Meshing curve 15 (Line)
> Info    : Meshing curve 16 (Line)
> Info    : Meshing curve 17 (Line)
> Info    : Meshing curve 18 (Nurb)
> Info    : Meshing curve 21 (Line)
> Info    : Meshing curve 22 (Line)
> Info    : Meshing curve 23 (Line)
> Info    : Meshing curve 24 (Nurb)
> Info    : Meshing curve 25 (Line)
> Info    : Meshing curve 26 (Line)
> Info    : Meshing curve 27 (Line)
> Info    : Meshing curve 28 (Nurb)
> Info    : Meshing curve 31 (Line)
> Info    : Meshing curve 32 (Line)
> Info    : Meshing curve 33 (Line)
> Info    : Meshing curve 34 (Nurb)
> Info    : Meshing curve 35 (Line)
> Info    : Meshing curve 36 (Line)
> Info    : Meshing curve 37 (Line)
> Info    : Meshing curve 38 (Nurb)
> Info    : Meshing curve 101 (Circle)
> Info    : Meshing curve 102 (Circle)
> Info    : Meshing curve 103 (Circle)
> Info    : Meshing curve 104 (Circle)
> Info    : Mesh 1D complete (1.00006 s)
> Info    : Meshing 2D...
> Info    : Meshing surface 1 (Plane, MeshAdapt+Delaunay)
> Info    : Mesh 2D complete (694.979 s)
> Info    : 970660 vertices 1941315 elements
> Info    : Writing 'expCi.msh'
> Info    : Wrote 'expCi.msh'
> Info    : Stopped on Mon Jan 26 17:57:51 2009
> 
> 
> So no errors. But I when I open the .msh file with gmsh I cannot see 
> anything.
> 
> When I open the .msh file with an text editor it says:
> $MeshFormat
> 2 0 8
> $EndMeshFormat
> $Nodes
> 3460
> 
> in the first few lines, which seems to be a contradiction to the info 
> from std output. Also the msh files's size is less then 1 MB which seems 
> to be to small for the large number of elements
> 
> What to do to geht this .geo file meshed?

It is meshed, but you only defined Physical Lines... so Gmsh only saves 
those line elements.

Either use "-saveall" to discard the physical definitions and save 
everything, or define a Physical Surface.

> 
> 
> kind regrads and thanks in advance
> 
> 
> Moritz
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine