sunfluidh:numerical_methods_examples
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
sunfluidh:numerical_methods_examples [2017/09/25 16:15] – yann | sunfluidh:numerical_methods_examples [2018/12/01 16:43] (Version actuelle) – [Example 2 : An iterative method coupled with a multigrid procedure using a in-house development] yann | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
===== Some examples illustrating how to use the relevant namelists to set the numerical methods for solving the equations ===== | ===== Some examples illustrating how to use the relevant namelists to set the numerical methods for solving the equations ===== | ||
+ | |||
+ | [[new_numerical_methods_setup_namelist |Click here to come back to the previous page]] | ||
==== Context : Heat driven incompressible flow ==== | ==== Context : Heat driven incompressible flow ==== | ||
Ligne 29: | Ligne 31: | ||
| | ||
- | ==== Example 2 : An iterative method coupled with a multigrid procedure | + | ==== Example 2 : An iterative method coupled with a multigrid procedure |
<WRAP info> | <WRAP info> | ||
Ligne 71: | Ligne 73: | ||
MomentumConvection_Scheme=" | MomentumConvection_Scheme=" | ||
TemperatureAdvection_Scheme=" | TemperatureAdvection_Scheme=" | ||
- | Poisson_NumericalMethod=" | + | Poisson_NumericalMethod=" |
| | ||
+ | & | ||
+ | Number_max_Grid = 5 , | ||
+ | Number_max_Cycle= 10 , | ||
+ | Number_Iteration= 15, | ||
+ | Number_Iteration_FineToCoarseGrid= 5, | ||
+ | Number_Iteration_CoarsestGrid | ||
+ | Number_Iteration_CoarseToFineGrid= 10, | ||
+ | Relaxation_Coefficient | ||
+ | Convergence_Criterion | ||
+ | |||
+ | ==== Example 3 : An iterative method coupled with a multigrid procedure using the HYPRE library ==== | ||
+ | |||
+ | <WRAP info> | ||
+ | |||
+ | Suitable setting : | ||
+ | |||
+ | * Selection of the PFMG method using a SOR relaxation method for non symmetrical matrix (even though the Poisson' | ||
+ | * The number of iterations is : | ||
+ | * The maximum iteration number is 20 | ||
+ | * 5 relaxation sweeps before coarse-grid correction | ||
+ | * 10 relaxation sweeps after coarse-grid correction | ||
+ | * The tolerance convergence is 1E-08 | ||
+ | </ | ||
+ | |||
+ | === Using the namelists " | ||
+ | |||
+ | |||
+ | & | ||
+ | MomentumConvection_Scheme=" | ||
+ | TemperatureAdvection_Scheme=" | ||
+ | Poisson_NumericalMethod=" | ||
| | ||
- | | + | |
- | Number_max_Grid | + | |
- | Number_max_Cycle= 10, | + | Number_Iteration_FineToCoarseGrid= 5, |
- | Number_Iteration_FineToCoarseGrid= 5, | + | Number_Iteration_CoarseToFineGrid= 10, |
- | Number_Iteration_CoarsestGrid | + | Convergence_Criterion |
- | Number_Iteration_CoarseToFineGrid= 10, | + | |
- | Relaxation_Coefficient | + | |
- | Convergence_Criterion | + | |
| | ||
- | + | |
sunfluidh/numerical_methods_examples.1506348947.txt.gz · Dernière modification : 2017/09/25 16:15 de yann