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

Grid Adaptation Options

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2019, 01:29
Post Grid Adaptation Options
  #1
New Member
 
Anjay
Join Date: Feb 2019
Posts: 14
Rep Power: 7
AlphaSierra is on a distinguished road
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.
AlphaSierra is offline   Reply With Quote

Old   February 8, 2019, 22:26
Default
  #2
New Member
 
Alex
Join Date: Jul 2018
Posts: 8
Rep Power: 7
AlexF is on a distinguished road
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
AlexF is offline   Reply With Quote

Old   February 11, 2019, 00:12
Default
  #3
New Member
 
Anjay
Join Date: Feb 2019
Posts: 14
Rep Power: 7
AlphaSierra is on a distinguished road
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
AlphaSierra is offline   Reply With Quote

Reply

Tags
grid adaptation, mesh, su2_msh


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
Interpolation on staggered grid usirev Main CFD Forum 5 November 5, 2016 06:02
Issues with grid adaptation asonda SU2 0 August 8, 2016 12:48
Coarsening a mesh using grid adaptation Shamoon Jamshed FLUENT 3 May 2, 2012 00:26
grid adaptation L. Hamid FLUENT 1 November 14, 2011 11:33
grid partition AND dynamic mesh adaptation !!!!!!! bohis FLUENT 0 January 16, 2009 03:00


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