[Gmsh] Mesh Doubt

Christophe Geuzaine christophe.geuzaine at case.edu
Wed Feb 1 21:40:02 CET 2006


Guilherme Lopes wrote:
> I was trying to get a 3D mesh in a unitary cube. The .msh file have 63 
> nodes, but not with sequencial numbering(1-71). Is it correct?
>  
> 45 0.7500061488467478 0.749998858800092 1
> 46 0 0.5000744959229848 0.5000799298380016
> 47 0 0.708413867170244 0.7083880078692522
> 48 0 0.2916984781694587 0.2917382737911651
> 49 0 0.7083770219477818 0.2917101420431915
> 50 0 0.2917465033899427 0.7084081786011007
> 59 0.4999998026240617 0.4967945478176899 0.4967995504972619
> 60 0.5031930403002127 0.746878167433352 0.7467845498414163
> 61 0.7467267200744886 0.746917195366705 0.4935306423405119
> 62 0.7467569717318854 0.4936562793735744 0.7468910845437376
> 63 0.2690699551536948 0.4982388587011482 0.7484085362081387
> 64 0.2690887836554745 0.7484004456828909 0.4981480187802685
> 65 0.7515032505522441 0.4925291230434889 0.271248065829421
>  
> Thanks in advance.   Guilherme Lopes

It is correct: Gmsh does not number the nodes (or the elements) 
sequentially (think of the numbers as just tags).

If you want to reorder and renumber the nodes/elements you can use e.g. 
the little utility provided in gmsh/utils/misc/mshsort.cpp

> 
> __________________________________________________
> Faça ligações para outros computadores com o novo Yahoo! Messenger
> http://br.beta.messenger.yahoo.com/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine