|
[Sponsors] |
September 24, 2016, 15:15 |
Issues with CGNS formatted mesh in SU2
|
#1 |
New Member
Logan Whelan
Join Date: Sep 2016
Posts: 2
Rep Power: 0 |
Hi folks,
Let me preface by saying I'm not sure whether this fits better in the SU2 or Pointwise sub forum. I'll start here. I'm having an issue with running SU2 with a CGNS formatted mesh I created in Pointwise (3D unstructured mesh for a simple blended wing body). The mesh was constructed and exported during an evaluation of the pointwise software, so I unfortunately do not currently have access to it. My config file (bwb.cfg) points to the input mesh bwb.cgns with MESH_FORMAT = CGNS. When I try to evaluate this config file with SU2_CFD I get the following terminal message: !!! Error !!! bwb.cgns is not a CGNS file. Now exiting... I am able to open the mesh file just fine in Paraview. I have SU2 compiled in the latest Ubuntu release, and was sure to use the configuration options: --with-CGNS-lib=/path/to/CGNS/lib --with-CGNS-include=/path/to/CGNS/header when compiling SU2. The cgns library itself is installed correctly to the best of my knowledge. When I run the program cgnscheck on my mesh (built into cgns library), this also throws an invalid file type error. I am very new to SU2 and the cgns format in general, so any help or suggestions are welcome as I'm at a bit of a loss here on how to progress. Thank you kindly, and I'm happy to provide more specific information if needed. |
|
September 27, 2016, 15:23 |
|
#2 | |
Senior Member
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14 |
Quote:
|
||
October 24, 2016, 16:24 |
|
#3 |
New Member
Logan Whelan
Join Date: Sep 2016
Posts: 2
Rep Power: 0 |
Turns out Pointwise creates cgns meshes with the HDF5 database. Using the cgns utility cgnsconvert, I was able to switch it to the ADF database, which SU2 was able to recognize.
|
|
January 10, 2017, 05:53 |
|
#4 |
New Member
C. Atkins
Join Date: Oct 2016
Posts: 6
Rep Power: 10 |
I am having the same problem, how were you able to switch from HDF5 to ADF?
Thanks, Chay |
|
February 13, 2017, 05:13 |
|
#5 |
New Member
Join Date: Dec 2013
Location: Italy
Posts: 29
Rep Power: 13 |
Just use the command
cgnsconvert -a original_grid converted_grid |
|
February 13, 2017, 12:48 |
|
#6 |
New Member
C. Atkins
Join Date: Oct 2016
Posts: 6
Rep Power: 10 |
Thanks for your help.
|
|
Tags |
cgns, pointwise cgns msh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tool to convert OpenFoam mesh to SU2 mesh (2D and 3D) | Combas | SU2 | 45 | October 16, 2024 18:26 |
CGNS to SU2 - Element Type Not Supported | skarthik | SU2 | 6 | October 27, 2020 04:24 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
How to use ICEM-CFD to generate CGNS mesh that could be recognized by SU2 | Tommy Chen | SU2 | 10 | June 11, 2016 12:49 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |