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

"A converter from CGNS to the native format is also built into SU2." But where?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 30, 2022, 05:37
Default "A converter from CGNS to the native format is also built into SU2." But where?
  #1
Member
 
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10
ashishmagar600 is on a distinguished road
Does anyone has any insights on how cgns mesh can be converted to native su2 format in SU2. It says in documentation that a converter is available but I couldn't find any code or cfg regarding it.




Thanks
ashishmagar600 is offline   Reply With Quote

Old   December 30, 2022, 08:11
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
You can use SU2_DEF for this, the tutorial is here:

https://su2code.github.io/tutorials/Inviscid_Wedge/
bigfootedrockmidget is offline   Reply With Quote

Old   December 30, 2022, 09:51
Default
  #3
Member
 
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10
ashishmagar600 is on a distinguished road
Thanks..!!


By the time I found a workaround. As I came across threads showing high memory usage with CGNS mesh files, it was discussed that using SU2 format mesh files had lower memory per procs.



I used utility SU2_MSH from v6.0.1 to convert my CGNS mesh to SU2 as all other trials with meshio failed. I dont know for some reason SU2_MSH was deprecated in newer versions. The SU2 formatted mesh files are compatible with current version of solver v7.5.0 .





Another question: Is SU2_CFD supposed to convert mesh file to mentioned formats in cfg file under keyword MESH_OUT_FILENAME? Because it doesnt even after the simulation is terminated smoothly.
ashishmagar600 is offline   Reply With Quote

Old   January 1, 2023, 16:17
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Quote:
Originally Posted by ashishmagar600 View Post
Thanks..!!
Is SU2_CFD supposed to convert mesh file to mentioned formats in cfg file under keyword MESH_OUT_FILENAME? Because it doesnt even after the simulation is terminated smoothly.
This keyword is used by SU2_DEF as explained in the tutorial. It is also possible to have SU2_CFD output an su2 file using
Code:
OUTPUT_FILES= MESH
bigfootedrockmidget is offline   Reply With Quote

Reply


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
Salome cgns format mesh to SU2 JPBLourenco SU2 19 November 18, 2019 03:11
Cannot convert CGNS to SU2 native mesh paulzhang SU2 0 August 31, 2016 00:22
SU2 not built with CGNS support. maximus23 SU2 Installation 5 May 11, 2016 13:05
CGNS mesh format B_Ouissem SU2 2 August 20, 2015 15:10
OpenFOAM native format data visualization and workflow zeliboba OpenFOAM Post-Processing 0 September 12, 2008 09:44


All times are GMT -4. The time now is 12:58.