[Gmsh] post-processing problem

Jose Paulo Moitinho de Almeida moitinho at civil.ist.utl.pt
Wed Sep 10 19:48:59 CEST 2014


On Wednesday 10 September 2014 14:55:07 Amine Benaddi wrote:
> Dear All,
> 
> I want to visualize the .geo file that it attached here with the command :
> gmsh SOL
> 
> In the recent gmsh software, I just see one triangle, but this mesh is
> formed with 145 nodes and 256 tiangles.
> 
> 
> Can any body please help me? I dn't really know why...
> 
> Thank you a lot for your help,
> 
> Kind regards,
> 
> Amine Benaddi

Your "elm-number"s are always 1.

Instead of 

$Elements
     256
  1  2  0        2       42       44
  1  2  0       22       43       42
  1  2  0        7       44       43
  1  2  0       42       43       44
....

You need to have a different number for each element 

> elm-number
> is the number (index) of the n-th element in the mesh; elm-number must be a
> postive (non-zero) integer. Note that the elm-numbers do not necessarily
> have to form a dense nor an ordered sequence.

The simplest case

$Elements
     256
  1  2  0        2       42       44
  2  2  0       22       43       42
  3  2  0        7       44       43
  4  2  0       42       43       44
....

Regards