|
[Sponsors] |
February 8, 2016, 17:52 |
Multi-grid for Initialisation of Flowfield
|
#1 |
New Member
Mike
Join Date: Oct 2015
Posts: 11
Rep Power: 10 |
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 |
|
February 11, 2016, 11:07 |
|
#2 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
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 |
|
February 11, 2016, 17:37 |
|
#3 |
New Member
Mike
Join Date: Oct 2015
Posts: 11
Rep Power: 10 |
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 |
|
February 12, 2016, 20:49 |
|
#4 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
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 |
|
Tags |
fullmg, multi-grid, su2 |
|
|
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 |