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

Multi-grid for Initialisation of Flowfield

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By gunnersnroses
  • 1 Post By fpalacios

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2016, 17:52
Default Multi-grid for Initialisation of Flowfield
  #1
New Member
 
Mike
Join Date: Oct 2015
Posts: 11
Rep Power: 10
gunnersnroses is on a distinguished road
Is it possible to use a multi-grid idea to initialise the flowfield in SU2? What I want to do is say 1000 iterations on a coarse mesh to quickly get the general flow field and then have this interpolated onto a finer mesh to resolve the details.

Would the FULLMG_CYCLE multi-grid option do something similar?

Thanks
mlooti likes this.
gunnersnroses is offline   Reply With Quote

Old   February 11, 2016, 11:07
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Hi Mike,

Exactly, that is more or less the idea of FULLMG. Starting from the coarse levels the solver adds more grid levels as it converges the solution.

Best,
Francisco
mlooti likes this.
fpalacios is offline   Reply With Quote

Old   February 11, 2016, 17:37
Default
  #3
New Member
 
Mike
Join Date: Oct 2015
Posts: 11
Rep Power: 10
gunnersnroses is on a distinguished road
Thanks for replying, I've been trying to use it but it repeatedly fails " !!! Error: SU2 has diverged. Now exiting... !!! " before even completing a single iteration. I'm using the below settings for a supersonic/hypersonic case, could you possibly advise on some settings? Below is what I've been using so far.

Also could you please provide some details as to how it determines when to interpolate onto a finer mesh?

Thanks

Code:
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
%
% Multi-grid levels (0 = no multi-grid)
MGLEVEL= 2
%
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
MGCYCLE= FULLMG_CYCLE
%
% Multi-grid pre-smoothing level
MG_PRE_SMOOTH= ( 2, 1, 1, 1 )
%
% Multi-grid post-smoothing level
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
%
% Jacobi implicit smoothing of the correction
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
%
% Damping factor for the residual restriction
MG_DAMP_RESTRICTION= 0.7
%
% Damping factor for the correction prolongation
MG_DAMP_PROLONGATION= 0.7
gunnersnroses is offline   Reply With Quote

Old   February 12, 2016, 20:49
Default
  #4
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
MG is the kind of algorithm that when works is great... but it is difficult to make it works (in general) and this is not a problem of SU2.

Unfortunately your application doesn´t fit very well to a MG algorithm with, as you can guess, because of the interpolation to coarse (or very coarse grids) are not able to capture very localized features (like in hypersonic of source term dominated problems).

The basic recommendation is to start with a typical setting (V cycle) reduce
MG_DAMP_RESTRICTION= 0.5
MG_DAMP_PROLONGATION= 0.5
and the CFL number.

Cheers,
Francisco
fpalacios is offline   Reply With Quote

Reply

Tags
fullmg, multi-grid, su2


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
Grid Check Script pdp.aero SU2 2 April 23, 2015 01:54
[Other] Some questions about unstructured grid. Yanci OpenFOAM Meshing & Mesh Conversion 1 November 28, 2014 10:47
multi grid cycle nabeel mohsin FLUENT 2 September 26, 2003 06:01
GRID TO GRID INTERPOLATION in FLUENT calogero FLUENT 3 June 4, 2003 08:32
Numerical methods for discontinuous grid interfaces? Hansong Hang Main CFD Forum 12 September 16, 1998 22:26


All times are GMT -4. The time now is 06:38.