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

NASA's grid generation codes for HC and OM6 can generate .su2 grid files

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

Like Tree2Likes
  • 2 Post By km1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2018, 15:26
Default NASA's grid generation codes for HC and OM6 can generate .su2 grid files
  #1
km1
New Member
 
Anonymous38
Join Date: Mar 2018
Posts: 4
Rep Power: 8
km1 is on a distinguished road
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
AlbertoPi and ucmsuri like this.
km1 is offline   Reply With Quote

Old   April 2, 2018, 02:22
Default Issue in generating .SU2 file
  #2
New Member
 
surya
Join Date: Mar 2018
Posts: 4
Rep Power: 8
ucmsuri is on a distinguished road
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.
Attached Images
File Type: png error.PNG (32.5 KB, 9 views)
Attached Files
File Type: txt input.nml.txt (3.4 KB, 3 views)
ucmsuri is offline   Reply With Quote

Old   April 2, 2018, 06:10
Default
  #3
km1
New Member
 
Anonymous38
Join Date: Mar 2018
Posts: 4
Rep Power: 8
km1 is on a distinguished road
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.
km1 is offline   Reply With Quote

Old   April 2, 2018, 07:22
Default
  #4
New Member
 
surya
Join Date: Mar 2018
Posts: 4
Rep Power: 8
ucmsuri is on a distinguished road
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.
Attached Images
File Type: png error.PNG (26.6 KB, 10 views)
Attached Files
File Type: txt turb_ONERAM6.cfg.txt (14.2 KB, 8 views)
ucmsuri is offline   Reply With Quote

Old   April 2, 2018, 08:05
Default
  #5
km1
New Member
 
Anonymous38
Join Date: Mar 2018
Posts: 4
Rep Power: 8
km1 is on a distinguished road
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.
km1 is offline   Reply With Quote

Old   April 2, 2018, 21:26
Default
  #6
km1
New Member
 
Anonymous38
Join Date: Mar 2018
Posts: 4
Rep Power: 8
km1 is on a distinguished road
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 21:09.
km1 is offline   Reply With Quote

Reply

Tags
grid generation, onera m6, su2 format

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



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