|
[Sponsors] |
NASA's grid generation codes for HC and OM6 can generate .su2 grid files |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 30, 2018, 16:26 |
NASA's grid generation codes for HC and OM6 can generate .su2 grid files
|
#1 |
New Member
Anonymous38
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
NASA's Turbulence Model Resource website provides grid generation codes and reference solutions for two configurations: hemisphere cylinder and ONERA M6 wing. These codes have recently been updated and now generate .su2 file.
Hemisphere cylinder: https://turbmodels.larc.nasa.gov/hc3...rt2_grids.html ONERA M6 wing: https://turbmodels.larc.nasa.gov/one...ics_grids.html For details (e.g., grid size control, spacing control, regular coarsening, inter-grid operatrors, etc.), see Presentation file: http://www.hiroakinishikawa.com/My_p...ntation_v3.pdf and/or the paper http://hiroakinishikawa.com/My_paper...a2018-1101.pdf |
|
April 2, 2018, 03:22 |
Issue in generating .SU2 file
|
#2 |
New Member
surya
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
Hello, Inorder to get finer and denser mesh for Onera M6 wing, I am trying the following procedure and am stuck in my last step when converting CGNS to SU2 with mis-match in the markers.
Procedure I followed: 1. Downoaded the grid generator from NASA's TRM website (https://turbmodels.larc.nasa.gov/one...ics_grids.html) 2. Generated a wing prism model in *.ugird format by using the grid generator using the attached input.nml file(https://turbmodels.larc.nasa.gov/One...release.tar.gz). 3. Used the aflr3_to_cgns using the cgnstools (https://gitlabext.iag.uni-stuttgart....ools/utilities) 4. Changed the input mesh format to CGNS in turb_ONERAM6.cfg and tried generating *.SU2 output file but this is failing due to mis-match in markers. Error in "short unsigned int CConfig::GetMarker_CfgFile_TagBound(std::string)": ------------------------------------------------------------------------- The configuration file doesn't have any definition for marker TriElements1 ------------------------------ Error Exit ------------------------------- Please find the error in the attached pic. |
|
April 2, 2018, 07:10 |
|
#3 |
New Member
Anonymous38
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
Such conversion is no longer necessary.
These codes now generate .su2 file directly. Just add the following to the input file: generate_su2grid_file = T Then, .su2 file will be written out. |
|
April 2, 2018, 08:22 |
|
#4 |
New Member
surya
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
Thank you, I downloaded the recent wing_v4p5 folder, changed the marker in "hcf_wing_v4p2.f90" tfrom WING3D -> WING as the *.cfg file in the SU2 looks for WING. Now, the data is read but fails in the surface grid deformation step looking for FFD boxes in the mesh.
I am attaching the SU2 turb_ONERAM6.cfg file and the error message i am getting. Again, thank you for the quick development and helping me advance. |
|
April 2, 2018, 09:05 |
|
#5 |
New Member
Anonymous38
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
That's OK, but it is recommended to change WING -> WING3D in .cfg file, instead, since
you don't want to go in and modify every grid generation code that way. If you wish to deform the mesh, I don't know how it works in SU2. Maybe, some additional files that define the deformation are needed. Please consult the SU2 manual. |
|
April 2, 2018, 22:26 |
|
#6 |
New Member
Anonymous38
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
Or if you don't intend to deform the grid, you can perhaps remove the "GRID DEFORMATION PARAMETERS" part from the input file.
BTW: Conversion of .ugrid to CGNS by aflr3_to_cgns does not transfer the boundary group names in .mapbc file to a CGNS file. It only transfers the boundary conditions based on the numbers given in the second column of the .mapbc file. The conversion code labels the boundary groups by "TriElements1", "QuadElements2", etc., in the CGNS file; it is very hard to tell what kind of boundaries they are (You have to go into the grid generation code that created the .ugrid file to find them). Moreover, SU2 only uses these boundary group names, and does not read the boundary condition information from a CGNS file. This also makes it hard to set up boundary conditions. For these reasons, we have decided to directly generate a .su2 grid. Updated: 04-30-2018 Dramatically reduced memory requirement for the coarsening code. Options for not writing prolongation information. 3D Hemisphere Cylinder grid generation: hc_release_043018.tar.gz https://turbmodels.larc.nasa.gov/hc3...rt2_grids.html 3D ONERA M6 Wing grid generation: wing_release_043018.tar.gz https://turbmodels.larc.nasa.gov/one...ics_grids.html Last edited by km1; May 2, 2018 at 22:09. |
|
Tags |
grid generation, onera m6, su2 format |
|
|