|
[Sponsors] |
How to use ICEM-CFD to generate CGNS mesh that could be recognized by SU2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 18, 2014, 17:43 |
How to use ICEM-CFD to generate CGNS mesh that could be recognized by SU2
|
#1 |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
I wanna use icem-cfd to generate CGNS format mesh file for SU2
However there are two problems 1. How to name the markers using icem, it seems that the makers' names given by the icem-cfd could not be recognized by su2 2. Could SU2 Version 3.0 handle more than one zone with CGNS ? SU2 v2 could only handle one single zone when using CGNS fromat mesh file. Thank you guys |
|
January 19, 2014, 16:11 |
|
#2 |
Member
Eduardo Molina
Join Date: Sep 2010
Location: Brazil
Posts: 35
Rep Power: 16 |
Hi Tommy,
1. I use Icem to generate my grids for SU2. You have to export the CGNS using version 2.4 in ICEM14.0, this settings work for me including the markers names. 2. I am also interesting in that question, SU2 is not able to handle multiple zones using CGNS. I know that there is a Matlab code in folder meshtools that appears to concatenate grids. Unfortunately I do not have Matlab so I am not able to test it (Octave fails due to some different commands from Matlab). Any help is appreciated. Regards Eduardo. |
|
January 21, 2014, 13:05 |
CGNS mesh conversion problem with ICEM for SU2 simulations
|
#3 | |
New Member
vetriselvan
Join Date: Jan 2010
Posts: 14
Rep Power: 16 |
Hi EMolina,
As per your suggestion I am exporting my mesh from ICEM 14.5 to CGNS 2.4 version. But even then, I am unable to convert it into SU2 mesh using SU2_v3.0. I am having a hybrid mesh with prism, tetra, quad and tri elemets. When I convert prism elements into tetra I am able to convert it into SU2 format. Could you suggest any solutions without this conversion? Do you also have the same element types as I have for your grid? or am I missing some options while exporting it to CGNS 2.4 version? I am getting the following error in SU2 Reading grid coordinates... Number of coordinate dimensions is 3. Reading CoordinateX values from file. Reading CoordinateY values from file. Reading CoordinateZ values from file. Reading connectivity information... Number of connectivity sections is 4. !!! Error !!! Unrecognized element type. Now exiting... Thanks in advance. Vetri Quote:
|
||
January 25, 2014, 16:10 |
|
#4 |
Member
Eduardo Molina
Join Date: Sep 2010
Location: Brazil
Posts: 35
Rep Power: 16 |
Hi Vetri
Do you have any pyramids in your grid. Sometimes ICEM create pyramids to connect the prism that is growing with tetra specially in complex geometries. I don't know if SU2 can handle pyramids probably does. In my grids I prefer use HEXA and Quads for viscous meshes and TRI+TETRA for inviscid meshes in icem. Maybe the guys from Stanford can help. Another thing you can try export on ICEM using others CGNS versions. You compile SU2 with what CGNS version? Please see this topic: http://www.cfd-online.com/Forums/ans...t-problem.html They report the CGNS error on ICEM. Good luck Regards Eduardo. |
|
January 27, 2014, 11:41 |
|
#5 |
New Member
vetriselvan
Join Date: Jan 2010
Posts: 14
Rep Power: 16 |
Hi Emolina,
Thanks for your reply. As of now I do not have any pyramids in the grid as I am trying SU2 for a very simple problem just to check everything is fine. Yes, in future I will use SU2 for complex problems which will definitely have pyramids. Even without pyramids we seem to have problems. I am compiling with cgns 3.1.4 version. I will try to compile it with lower version of cgns 2.5 and will keep it posted. In ICEM, I have tried with all the cgns export versions, but not successful Hoping for the best. Thanks for the help again Regards, Vetri |
|
February 27, 2014, 10:29 |
A workaround for ICEM CGNS problem..
|
#6 |
New Member
vetriselvan
Join Date: Jan 2010
Posts: 14
Rep Power: 16 |
Hi all,
I am able to somehow find a work around for this problem. I initially compiled SU2 v2.0 in serial with CGNS support after replacing the geometry_structure.cpp in /Common/src folder with the file suggested from this thread |
|
March 1, 2014, 20:44 |
|
#7 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
Quote:
Have you tried multi-zone CGNS mesh ? Can SU2 successfully converted multi-zone CGNS mesh file ? |
||
March 2, 2014, 00:06 |
|
#8 |
New Member
vetriselvan
Join Date: Jan 2010
Posts: 14
Rep Power: 16 |
Hi Tommy Chen,
I have not tried any multi-zone mesh. I have only used simple unstructured meshes. Even for that I faced all these conversion problems. Regards, Vetri |
|
February 17, 2015, 16:58 |
|
#9 |
New Member
denzell
Join Date: Mar 2014
Posts: 12
Rep Power: 12 |
Tommy,
Do you intend to use multi-zone cgns in order to run use multiple processors for your simulation? I encountered the same issue and solved it like this. First compile SU2 from source, construct it with CGNS and MPI support. Create your mesh in CGNS format. Using a single zone CGNS mesh, call the SU2_CFD - space - testfile.cfg Within your testfile.cfg set the option Convert mesh to SU2 format to YES. This will translate your CGNS mesh to SU2 format. Modify your testfile.cfg such that it now reads meshfile = yourmesh.su2 and set the convert mesh to SU2 format to NO. Now you can run your simulation on as many nodes as you like! Good luck, denzell |
|
June 10, 2016, 22:15 |
|
#10 |
Member
Join Date: Apr 2012
Posts: 71
Rep Power: 14 |
Good Night.
In the newer SU2 versions, the option: % Convert a CGNS mesh to SU2 format (YES, NO) CGNS_TO_SU2= YES does not appear in the default *.cfg files. How can I convert meshes to SU2 format ? (The main goal is to perform parallel simulations in this new version of SU2 4.1.3) Thank you all. |
|
June 11, 2016, 12:49 |
|
#11 |
Member
Join Date: Apr 2012
Posts: 71
Rep Power: 14 |
Ok I managed to do that.
Just configure the *.cfg file with the input *.cgns file and the desired output (*.su2). Then call SU2_MSH <config_file>.cfg. It will do the conversion. Thank you guys ! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Generating Hexa-Core with ICEM CFD Interactive | dawdybishop | ANSYS Meshing & Geometry | 1 | October 31, 2017 21:50 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
[ICEM] Problem with volume mesh in ICEM CFD | kolapoasafa | ANSYS Meshing & Geometry | 2 | September 16, 2011 04:54 |
ICEM 12 CFD help creating volume mesh from stl | EmpError | ANSYS | 0 | November 13, 2010 07:38 |
How to extrude 2D Mesh in ICEM CFD? | VSB | CFX | 7 | December 27, 2006 12:58 |