CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

CGNS to SU2 - Element Type Not Supported

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

Like Tree1Likes
  • 1 Post By CSMDakota

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2015, 08:07
Default CGNS to SU2 - Element Type Not Supported
  #1
New Member
 
Karthik S
Join Date: Jul 2015
Posts: 18
Rep Power: 10
skarthik is on a distinguished road
Hi,

I am trying to run a 3D simulation in Ubuntu 14.04 of a simple geometry similar to a bullet.
The mesh was created using Salome 7.6.0 and exported to CGNS format.
When I try to convert to SU2 format using SU2_DEF, I get the following error message.

Code:
------------------- Config File Boundary Information --------------------
Far-field boundary marker(s): FlowBoundary.
Inlet boundary marker(s): Inlet.
Outlet boundary marker(s): Outlet.
Constant heat flux wall boundary marker(s): BulletWall.

---------------------- Read Grid File Information -----------------------
Reading the CGNS file: bullet2.cgns.
CGNS file contains 1 database(s).
Database 1, Mesh_1: 1 zone(s), cell dimension of 3, physical dimension of 3.
Zone 1, SMESH_Mesh: 143072 vertices, 810733 cells, 0 boundary vertices.
Reading grid coordinates.
Number of coordinate dimensions is 3.
Loading CoordinateX values into linear partitions.
Loading CoordinateY values into linear partitions.
Loading CoordinateZ values into linear partitions.
Number of connectivity sections is 5.
Loading section BAR_2 1 - 328 of element type Line.
Loading section TRI_3 329 - 8986 of element type Triangle.
Loading section BAR_2 8987 - 9066 of element type Line.
Loading section TRI_3 9067 - 17446 of element type Triangle.
Loading section TETRA_4 17447 - 828179 of element type Tetrahedron.
Successfully closed the CGNS file.

Loading CGNS data into SU2 data structures.
Three dimensional problem.
811141 interior elements.
Element type not suppported!
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
Initially, I had a few thousand elements of type 'Prism'. From this page, I saw that SU2 does not support Prism elements and so I modified my mesh to have only tetrahedron elements. But still the error persists.

Please let me know what is going wrong. Thanks in advance!
skarthik is offline   Reply With Quote

Old   July 20, 2016, 14:17
Default
  #2
New Member
 
Join Date: Jun 2016
Posts: 4
Rep Power: 10
jvbustelo is on a distinguished road
Hey Skarthik ,

I am having exactly the same issue as you were having. Created the mesh with Salome and inside it, in mesh info it says there are only Tetrahedrons. However when trying to run it in SU2 with the GMSH mesh type activated I obtain exactly the same error. Did you ever solve it? How?

Thanks in advance.
jvbustelo is offline   Reply With Quote

Old   October 1, 2018, 10:13
Default
  #3
New Member
 
Brandon Gleeson
Join Date: Apr 2018
Posts: 26
Rep Power: 8
CSMDakota is on a distinguished road
Realizing this thread is rather old, I'm having the same problem with v6.1.0; does anyone know of a solution? (Tets-only mesh created in SALOME and exported as CGNS)

Things I've tried from reading other threads:
* It seems the CGNS_TO_SU2 option is not available in this version of SU2.
* Trying to scale the mesh per this method:
DV_KIND = SCALE
DV_MARKER = ( put here all markers of the mesh separated by comma)
DV_PARAM= (1.0)
DV_VALUE=1.0

Then run SU2_DEF.
runs into the same error: Element type not supported!
CSMDakota is offline   Reply With Quote

Old   October 1, 2018, 11:18
Default
  #4
New Member
 
Brandon Gleeson
Join Date: Apr 2018
Posts: 26
Rep Power: 8
CSMDakota is on a distinguished road
This may be related to SALOME more than SU2. I exported a similar .cgns tet-only mesh from ANSYS and it converted OK in SU2.
atelcikti1 likes this.
CSMDakota is offline   Reply With Quote

Old   October 1, 2020, 16:50
Default
  #5
New Member
 
Adwait
Join Date: Sep 2020
Posts: 3
Rep Power: 5
adwaitkm is on a distinguished road
Any fixes to this issue? I'm using SU2 version 7 and I'm running into this error while trying to execute the SU2_CFD command.

Thanks!
adwaitkm is offline   Reply With Quote

Old   October 1, 2020, 18:51
Default
  #6
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
Do you have a small example we can test?
If in a 3D mesh you have line elements your mesh is wrong and there is nothing we can do.
pcg is offline   Reply With Quote

Old   October 12, 2020, 11:14
Default
  #7
Senior Member
 
Pay D.
Join Date: Aug 2011
Posts: 166
Blog Entries: 1
Rep Power: 14
pdp.aero is on a distinguished road
Quote:
Originally Posted by adwaitkm View Post
Any fixes to this issue? I'm using SU2 version 7 and I'm running into this error while trying to execute the SU2_CFD command.

Thanks!
I assume you're using cgns format with hdf5 format. Try to convert your cgns mesh to adf using cgnsconvert or if it is possible in your grid generator.
pdp.aero is offline   Reply With Quote

Old   October 12, 2020, 12:10
Default
  #8
New Member
 
Adwait
Join Date: Sep 2020
Posts: 3
Rep Power: 5
adwaitkm is on a distinguished road
Hey there,

Sorry for the late response. I don't know how this worked, but what I did was - While creating the mesh using ANSYS, I used the Linear Control option instead of Program Control and turned off inflation. Then I exported the mesh as CGNS and SU2 ran my case with the generated cgns mesh.
adwaitkm is offline   Reply With Quote

Old   October 27, 2020, 03:24
Default
  #9
Member
 
atelcikti1's Avatar
 
Join Date: Mar 2017
Posts: 61
Rep Power: 9
atelcikti1 is on a distinguished road
i used ansys mesher with cgns export with also inflation layers(prisms), i didnt have problem. there is no restriction as u said. problem about i guess with salome.
atelcikti1 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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[Other] simulation of closing the gate using moving mesh simin_ds OpenFOAM Meshing & Mesh Conversion 8 April 12, 2019 05:49
time step continuity problem in VAWT simulation lpz_michele OpenFOAM Running, Solving & CFD 5 February 22, 2018 19:50
Simulation of Radial Fan with simpleFoam MRF nash OpenFOAM Running, Solving & CFD 2 November 5, 2015 10:12
T Junction Stability ignacio OpenFOAM Running, Solving & CFD 5 May 2, 2013 10:44


All times are GMT -4. The time now is 02:13.