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

[Gmsh] Cgns support for gmsh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2012, 09:21
Default Cgns support for gmsh
  #1
Member
 
Roberto Pieri
Join Date: Feb 2012
Location: Milan
Posts: 57
Rep Power: 14
robyTKD is on a distinguished road
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!
robyTKD is offline   Reply With Quote

Old   July 13, 2016, 11:27
Default
  #2
Member
 
Bruno Blais
Join Date: Sep 2013
Location: Canada
Posts: 64
Rep Power: 13
blais.bruno is on a distinguished road
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 View Post
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 is offline   Reply With Quote

Reply

Tags
cgns, gmsh, su2

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
SU2 not built with CGNS support. maximus23 SU2 Installation 5 May 11, 2016 12:05
Building from Source on Windows using Cygwin64 ericthefatguy SU2 2 May 12, 2015 18:23
Compile EnGrid with CGNS support PierluigiRossi enGrid 1 February 4, 2015 10:30
Compiling with CGNS Support granbycools SU2 Installation 6 March 31, 2014 06:52
parallel support with CGNS format not yet implemented kirkrich SU2 3 January 18, 2013 15:39


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