Outils pour utilisateurs

Outils du site


sunfluidh:numerical_methods_setup_namelist

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
sunfluidh:numerical_methods_setup_namelist [2017/09/22 17:00] yannsunfluidh:numerical_methods_setup_namelist [2017/09/25 14:28] (Version actuelle) – [Number_Iteration_CoarseToFineFGrid (only if the SOR method is used)] yann
Ligne 1: Ligne 1:
-===== Namelist "Numerical_Methods" =====+===== Namelist "Numerical_Methods" (old version) =====
 <WRAP info> <WRAP info>
-This data setup is devoted to the selection of the numerical methods and schemes used in order to solve the conservation equations for velocity components, temperature, species mass fractions and density (in particuliar cases) and Poisson equation for the pressure. Some parameter setting could be also considered in respect with the numerical method selected.+This data setup is devoted to the selection of the numerical methods and schemes used in order to solve the conservation equations for velocity components, temperature, species mass fractions and density (in particuliar cases) and Poisson equation for the pressure. Some parameter setting could be also considered in respect with the numerical method selected. The data are divided in three groups in order to define : 
 +    * the numerical method applied for solving the conservation equations (for velocity, temperature, species, ...) 
 +    * the choice of advective or convective flux discretization (for 2nd order schemes). the viscous, conductive or diffusive fluxes are always discretized with a centered 2nd order or 4th order scheme according to the previous choice. 
 +    * the numerical method (and associated parameters) for solving the Poisson's equation according to the type of problem considered. several methods are presented based on direct or iterative approaches.
 </WRAP> </WRAP>
 <note important> <note important>
-Two versions of the data setup exits. This is related to an old release of the code that can always be used. +   Two versions of this data setup exists. This one is related to an old release of the code that can always be used. The second one is presented for in the namelist [[New_Numerical_Methods_Setup_Namelist |Numerical_Methods (new version)]]. 
-</note important>+   * The choice of numerical methods is here done by means of a set of option numbers 
 +   * The parameters related to iterative solvers can be directly included in this namelist 
 +</note> 
 + 
  
 ===== Full data set of the namelist ===== ===== Full data set of the namelist =====
Ligne 20: Ligne 27:
                        Number_max_Cycle= 10                      ,                        Number_max_Cycle= 10                      ,
                        Number_Iteration= 15,                        Number_Iteration= 15,
 +                       Number_Iteration_FineToCoarseGrid= 15,
 +                       Number_Iteration_CoarsestGrid= 15,
 +                       Number_Iteration_CoarseToFineGrid= 15,
                        Relaxation_Coefficient              = 1.80 ,                         Relaxation_Coefficient              = 1.80 , 
                        Convergence_Criterion = 1.D-08 /                        Convergence_Criterion = 1.D-08 /
Ligne 26: Ligne 36:
    * Following the problem treated, some numerical methods are better adapted than others, this point is precised for each available option.    * Following the problem treated, some numerical methods are better adapted than others, this point is precised for each available option.
    * The partial diagonalization method (Iterative_Method_Selection=3) used for solving the Poisson equation is only permitted for separable problem.    * The partial diagonalization method (Iterative_Method_Selection=3) used for solving the Poisson equation is only permitted for separable problem.
-   * When the partial diagonalization method is used, the data related to the SOR and multigrid method are useless.+   * When the partial diagonalization method is used, the data related to the SOR and multigrid method are useless and can be removed.
 </note> </note>
 ===== Definition of the data set ===== ===== Definition of the data set =====
Ligne 54: Ligne 64:
      * 2 : 2nd order centered scheme in the advective formulation.      * 2 : 2nd order centered scheme in the advective formulation.
      * 3 : 2nd order centered scheme in the skew-symemetric formulation (developer's test).      * 3 : 2nd order centered scheme in the skew-symemetric formulation (developer's test).
-     * 4 : not commented (develper's test)+     * 4 : not commented (developer's test)
      * 5 : QUICK scheme in the conservative formulation.\\ __** Not for the release SUNFLUIDH_EDU**__ .      * 5 : QUICK scheme in the conservative formulation.\\ __** Not for the release SUNFLUIDH_EDU**__ .
      * 6 : 2nd order Upwind scheme in the conservative formulation.\\ __** Not for the release SUNFLUIDH_EDU**__ .      * 6 : 2nd order Upwind scheme in the conservative formulation.\\ __** Not for the release SUNFLUIDH_EDU**__ .
Ligne 88: Ligne 98:
      * 3: Partial diagonalisation of the Laplacian operator. BEWARE : the problem must be separable.\\ __** Not for the release SUNFLUIDH_EDU**__      * 3: Partial diagonalisation of the Laplacian operator. BEWARE : the problem must be separable.\\ __** Not for the release SUNFLUIDH_EDU**__
      * 4 : SOR iterative method coupled with a multigrid method in order to accelerate the convergence. The matrix elements depend on the cell size and the density, the source term is defined from the divergence of the velocity.\\ __** Not for the release SUNFLUIDH_EDU**__      * 4 : SOR iterative method coupled with a multigrid method in order to accelerate the convergence. The matrix elements depend on the cell size and the density, the source term is defined from the divergence of the velocity.\\ __** Not for the release SUNFLUIDH_EDU**__
-     +     5 : Poisson's equation is solved by the HYPRE library tools. The matrix elements are constants. The parameters of the HYPRE library are set in the namelist [[ | ]]
 ==== Iterative_Method_Selection (only if the SOR method is used) ==== ==== Iterative_Method_Selection (only if the SOR method is used) ====
    * Type : Integer value    * Type : Integer value
Ligne 104: Ligne 114:
    * Type : integer value    * Type : integer value
    * Number of iterations performed by the SOR method in order to approach the solution on each grid level.    * Number of iterations performed by the SOR method in order to approach the solution on each grid level.
 +==== Number_Iteration_FineToCoarseGrid (only if the SOR method is used) ====
 +   * Type : integer value
 +   * Number of iterations performed by the SOR solver during the restriction step of each V-cycle of the multigrid procedure. For some problems, the minimization of iterations during the restriction step can improve the time-performance of the code.\\ __BEWARE__ : this data is enabled only if the variable Number_Iteration= 0 or is removed from the Namelist.
 +==== Number_Iteration_CoarsestGrid (only if the SOR method is used) ====
 +   * Type : integer value
 +   * Number of iterations performed by the SOR solver on the coarsest grid of each V-cycle of the multigrid procedure.\\ __BEWARE__ : this data is enabled only if the variable Number_Iteration= 0 or is removed from the Namelist.
 +==== Number_Iteration_CoarseToFineGrid (only if the SOR method is used) ====
 +   * Type : integer value
 +   * Number of iterations performed by the SOR solver during the prolongation step of each V-cycle of the multigrid procedure.\\ __BEWARE__ : this data is enabled only if the variable Number_Iteration= 0 or is removed from the Namelist.
 ==== Relaxation_Coefficient (only if the SOR method is used) ==== ==== Relaxation_Coefficient (only if the SOR method is used) ====
    * Type : real value between one and two    * Type : real value between one and two
sunfluidh/numerical_methods_setup_namelist.1506092411.txt.gz · Dernière modification : 2017/09/22 17:00 de yann

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki