CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] Understanding output file of Gmsh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2016, 00:53
Default Understanding output file of Gmsh
  #1
ihu
New Member
 
ismail
Join Date: Sep 2016
Posts: 3
Rep Power: 9
ihu is on a distinguished road
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

Last edited by ihu; October 20, 2016 at 00:55. Reason: doesn't show image
ihu is offline   Reply With Quote

Old   October 24, 2016, 06:08
Default
  #2
Member
 
Martin Aunskjaer
Join Date: Mar 2009
Location: Denmark
Posts: 53
Rep Power: 17
aunola is on a distinguished road
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.
aunola is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 15:30
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 07:47
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 18:34
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 02:41


All times are GMT -4. The time now is 18:54.