CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (http://www.cfd-online.com/Forums/openfoam-meshing-open/)
-   -   Cgns support for gmsh (http://www.cfd-online.com/Forums/openfoam-meshing-open/109346-cgns-support-gmsh.html)

robyTKD November 15, 2012 10:21

Cgns support for gmsh
 
Hello everyone, this is my first thread on the forum and I would like to greet you.

I'm working on my Master thesis with the new software SU2 and I need a mesh in .cgns format. I've just found that by compiling gmsh from source code it is possible to enable cans support. The building of gmsh has been successful, but unfortunately when I try to write the mesh in cgns format some errors occur.
I know that cgns support is an experimental tool, nevertheless I would like to ask if someone of you has ever experienced and solved this issue.

To be more precise, I post the commands and the errors:

roberto@roberto-VirtualBox:/media/sf_Condivisione$ gmsh naca.geo -1 -format cgns -o naca.cgns
Info : Running 'gmsh naca.geo -1 -format cgns -o naca.cgns' [1 node(s), max. 1 thread(s)]
Info : Started on Thu Nov 15 15:06:43 2012
Info : Reading 'naca.geo'...
Info : Done reading 'naca.geo'
Info : Meshing 1D...
Info : Meshing curve 1 (Line)

Info : Done meshing 1D (0.032002 s)
Info : 523 vertices 927 elements
Info : Writing 'naca.cgns'...
Warning : CGNS I/O is at an "alpha" software stage
Error : No mesh elements were found
Info : Done writing 'naca.cgns'
Info : Stopped on Thu Nov 15 15:06:43 2012
roberto@roberto-VirtualBox:/media/sf_Condivisione$ gmsh naca.geo -2 -format cgns -o naca.cgns
Info : Running 'gmsh naca.geo -2 -format cgns -o naca.cgns' [1 node(s), max. 1 thread(s)]
Info : Started on Thu Nov 15 15:08:14 2012
Info : Reading 'naca.geo'...
Info : Done reading 'naca.geo'
Info : Meshing 1D...
Info : Meshing curve 1 (Line)

Info : Done meshing 1D (0.032002 s)
Info : Meshing 2D...
Info : Meshing surface 1 (Plane, Delaunay)
Info : Done meshing 2D (0.228014 s)
Info : 14015 vertices 28434 elements
Info : Writing 'naca.cgns'...
Warning : CGNS I/O is at an "alpha" software stage
Info : writing BoVerts...
Error : Error detected by CGNS library

Error : Duplicate child name found: Patch_0003
Info : Done writing 'naca.cgns'
Info : Stopped on Thu Nov 15 15:08:15 2012

Thank you in advance!

blais.bruno July 13, 2016 11:27

I know this is from four years ago, but have you found the solution to this error ?? I get the same error using the current version of gmsh

Thanks!

Quote:

Originally Posted by robyTKD (Post 392278)
Hello everyone, this is my first thread on the forum and I would like to greet you.

I'm working on my Master thesis with the new software SU2 and I need a mesh in .cgns format. I've just found that by compiling gmsh from source code it is possible to enable cans support. The building of gmsh has been successful, but unfortunately when I try to write the mesh in cgns format some errors occur.
I know that cgns support is an experimental tool, nevertheless I would like to ask if someone of you has ever experienced and solved this issue.

To be more precise, I post the commands and the errors:

roberto@roberto-VirtualBox:/media/sf_Condivisione$ gmsh naca.geo -1 -format cgns -o naca.cgns
Info : Running 'gmsh naca.geo -1 -format cgns -o naca.cgns' [1 node(s), max. 1 thread(s)]
Info : Started on Thu Nov 15 15:06:43 2012
Info : Reading 'naca.geo'...
Info : Done reading 'naca.geo'
Info : Meshing 1D...
Info : Meshing curve 1 (Line)

Info : Done meshing 1D (0.032002 s)
Info : 523 vertices 927 elements
Info : Writing 'naca.cgns'...
Warning : CGNS I/O is at an "alpha" software stage
Error : No mesh elements were found
Info : Done writing 'naca.cgns'
Info : Stopped on Thu Nov 15 15:06:43 2012
roberto@roberto-VirtualBox:/media/sf_Condivisione$ gmsh naca.geo -2 -format cgns -o naca.cgns
Info : Running 'gmsh naca.geo -2 -format cgns -o naca.cgns' [1 node(s), max. 1 thread(s)]
Info : Started on Thu Nov 15 15:08:14 2012
Info : Reading 'naca.geo'...
Info : Done reading 'naca.geo'
Info : Meshing 1D...
Info : Meshing curve 1 (Line)

Info : Done meshing 1D (0.032002 s)
Info : Meshing 2D...
Info : Meshing surface 1 (Plane, Delaunay)
Info : Done meshing 2D (0.228014 s)
Info : 14015 vertices 28434 elements
Info : Writing 'naca.cgns'...
Warning : CGNS I/O is at an "alpha" software stage
Info : writing BoVerts...
Error : Error detected by CGNS library

Error : Duplicate child name found: Patch_0003
Info : Done writing 'naca.cgns'
Info : Stopped on Thu Nov 15 15:08:15 2012

Thank you in advance!



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