CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Gmsh] Understanding output file of Gmsh (https://www.cfd-online.com/Forums/openfoam-meshing/178945-understanding-output-file-gmsh.html)

ihu October 19, 2016 23:53

Understanding output file of Gmsh
 
Hi, I designed a nasa almond and meshed in 2D in gmsh. And I have a question about my output file.

For example, in the first element, I have " 2 2 1 415 115 12 99" number series. I think 2 2 1 means triangular patch, 115 12 99 are nodes. So, what does 415 mean in here? Thank you for any help.

The picture is available in here:

https://postimg.org/image/7wiw12ir9/

Quote:

$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
418
1 0.1472184 0 0
2 0.13985748 0.0048471717758101 0
3 0.13985748 0.004682008402714421 0.0004181801234876866
4 0.13985748 0.003427468032251362 0.001142489344083787
5 0.13985748 2.968036700081615e-19 0.001615723925270033
|
|
|
415 -0.08567989213302528 0.01234830279063698 0.008440934067332331
416 -0.08567989213302526 -0.01234830279063695 -0.008440934067332337
417 -0.08567989213302526 0.01234830279063699 -0.008440934067332331
418 -0.08567989213302526 -0.01234830279063699 0.008440934067332331
$EndNodes
$Elements
832
1 2 2 1 415 115 12 99
2 2 2 1 415 312 99 13
3 2 2 1 415 112 312 13
4 2 2 1 415 311 112 111
5 2 2 1 415 311 113 114
|
|
|
830 2 2 1 632 218 34 301
831 2 2 1 632 218 90 58
832 2 2 1 632 301 90 218
$EndElements

aunola October 24, 2016 05:08

The MSH file format is described in the GMSH documentation. In your particular case the string ‘2 2 1 415’ implies a 3-node triangular element with two tags, the first being 1 (physical tag) and the second being 415 (elementary tag). Remaining numbers are, as you correctly state, node numbers.


All times are GMT -4. The time now is 08:55.