[Gmsh] coarsening existing mesh from other mesher,
Mikhail Artemiev
artemiev.mikhail at ngs.ru
Thu Mar 3 03:14:41 CET 2011
Hi!
You can work with your triangulation in gmsh, converting mesh file to one of
the appropriate gmsh file formats.
For instance, .msh file can be something like this
$MeshFormat
2 0 8
$EndMeshFormat
$Nodes
number of #pts
1 x1 y1 0
2 x2 y2 0
....
$EndNodes
$Elements
number of elements in your section #connectivity
1 2 3 1001 1 0 1 3 5
2 2 3 1001 1 0 3 8 9
...
$EndElements
You can find the description of the .msh file format in the manual.
Mikhail Artemiev
> Hi,
>
> I have 2D triangulated mesh which is created by some commercial software,
> which is not available to me. I have
> the mesh file, its format is as follows
>
> #pts
> x1 y1
> x2 y2
> ....
> #connectivity
> 1 3 5
> 3 8 9
> ......
>
> I want to be able to read this mesh to gmsh and further coarsen it,
>
> Could we do this in gmsh?
>
> Thanks,
>
>
> --
> B. Gazi YILDIRIM