|
[Sponsors] |
February 7, 2019, 02:29 |
Grid Adaptation Options
|
#1 |
New Member
Anjay
Join Date: Feb 2019
Posts: 14
Rep Power: 7 |
Hi,
I'm new to SU2 and I'm trying to study shock reflections. I wanted to run grid adaptation on my mesh to improve my results. But I do not completely understand the options given in the template file. After initially running the solution for enough time, I used GRAD_FLOW but no changes were made in the adapted mesh and when I used SUPERSONIC_SHOCK, the adaptation was done at the inlet instead of near the shocks. Can someone please help me out here. |
|
February 8, 2019, 23:26 |
|
#2 |
New Member
Alex
Join Date: Jul 2018
Posts: 8
Rep Power: 8 |
Hi Anjay,
I had run into a similar problem not long ago. Referencing: Inviscid Supersonic Wedge Mesh Adaptation Issue To use the mesh adaptation codes, you must specify the following in the configuration file: % Write binary restart files (YES, NO) WRT_BINARY_RESTART= NO % % Read binary restart files (YES, NO) READ_BINARY_RESTART= NO This is because SU2’s mesh adaptation code is only compatible with ASCII files (at least when I was using it). If you are running “python mesh_adaptation.py -f file.cfg“, the adapted mesh will be output after the solution has converged; otherwise, you must run “SU2_MSH file.cfg” with the restart file output from SU2_CFD. Also note that you can see additional options for the python script by using the “python mesh_adaptation.py -h” command. I never used the SUPERSONIC_SHOCK option; however, the GRAD_FLOW option worked well for me. I am also fairly new to CFD so I cannot explain all of the options available, sorry. I think the GRAD_FLOW option adapts based on the density gradient, which was appropriate for my application. Hope this helps, Alex |
|
February 11, 2019, 01:12 |
|
#3 |
New Member
Anjay
Join Date: Feb 2019
Posts: 14
Rep Power: 7 |
Hey Alex,
Thanks for the information. The link did help. I'm still trying to set up mesh_adaptation.py. But SU2_MSH does the job for me now. Thanks a lot. Anjay |
|
Tags |
grid adaptation, mesh, su2_msh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interpolation on staggered grid | usirev | Main CFD Forum | 5 | November 5, 2016 07:02 |
Issues with grid adaptation | asonda | SU2 | 0 | August 8, 2016 13:48 |
Coarsening a mesh using grid adaptation | Shamoon Jamshed | FLUENT | 3 | May 2, 2012 01:26 |
grid adaptation | L. Hamid | FLUENT | 1 | November 14, 2011 12:33 |
grid partition AND dynamic mesh adaptation !!!!!!! | bohis | FLUENT | 0 | January 16, 2009 04:00 |