sunfluidh:new_numerical_methods_setup_namelist
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
sunfluidh:new_numerical_methods_setup_namelist [2017/09/22 17:44] – créée yann | sunfluidh:new_numerical_methods_setup_namelist [2017/09/25 16:39] – [Namelist Numerical_Methods (new version)] yann | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ===== Namelist " | + | ===== Namelist " |
<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, | + | This new data setup is also devoted to the selection of the numerical methods and schemes used in order to solve the conservation equations for velocity components, temperature, |
+ | The data are divided in three groups in order to define: | ||
+ | * the numerical method applied for solving the conservation equations (for velocity, temperature, | ||
+ | * the choice of advective or convective flux discretization (for 2nd order schemes only). 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 methods (and associated parameters) for solving the Poisson' | ||
</ | </ | ||
<note important> | <note important> | ||
- | Two versions | + | * This version allows the user to select the numerical methods by means of characters strings instead |
+ | * For the sake of clarity, the iterative method parameters used for solving the Poisson' | ||
+ | * [[HomeData_PoissonSolver_Namelist |HomeData_PoissonSolver]] for methods directly implemented in the code (" | ||
+ | * [[HypreData_PoissonSolver_Namelist |HypreData_PoissonSolver]] for methods provided by the HYPRE library | ||
+ | * [[Numerical_Methods_Examples |Click here]] to get some examples illustrating how to use the namelists " | ||
+ | * __** Not for the release SUNFLUIDH_EDU**__ | ||
</ | </ | ||
- | |||
- | |||
===== Full data set of the namelist ===== | ===== Full data set of the namelist ===== | ||
Ligne 19: | Ligne 26: | ||
<note important> | <note important> | ||
- | | + | |
- | * The partial diagonalization method (Poisson_NumericalMethod=" | + | * The partial diagonalization method (Poisson_NumericalMethod = " |
* The HYPRE library solvers for solving the Poisson' | * The HYPRE library solvers for solving the Poisson' | ||
+ | |||
</ | </ | ||
Ligne 30: | Ligne 38: | ||
===== Solving the conservation equations ===== | ===== Solving the conservation equations ===== | ||
----- | ----- | ||
- | ==== NS_NumericalMethod (strictly | + | ==== NS_NumericalMethod |
+ | (equivalent to " | ||
* Type: character string | * Type: character string | ||
* Selection of the numerical scheme for solving the conservation equations : | * Selection of the numerical scheme for solving the conservation equations : | ||
- | * " | + | |
- | * " | + | |
- | * " | + | |
- | * " | + | |
- | * " | + | |
- | * " | + | |
- | * " | + | |
- | * " | + | |
- | * " | + | |
- | * " | + | |
- | ==== Convective_Flux_Discretization_Type | + | ==== MomentumConvection_Scheme |
- | * Type : integer value | + | (equivalent to " |
+ | * Type : character string | ||
* Selection of the 2nd order spatial discretization for the convection flux in the momentum equations. The options are : | * Selection of the 2nd order spatial discretization for the convection flux in the momentum equations. The options are : | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | ==== Temperature_Advective_Flux_Discretization_Type | + | ==== TemperatureAdvection_Scheme |
- | * Type : integer value | + | (equivalent to " |
+ | * Type : character string | ||
* Selection of the 2nd order spatial discretization for the advection flux in the temperature/ | * Selection of the 2nd order spatial discretization for the advection flux in the temperature/ | ||
- | ==== species_Advective_Flux_Discretization_Type | + | ==== SpeciesAdvection_Scheme |
- | * Type : integer value. __** Not for the release SUNFLUIDH_EDU**__ . | + | (equivalent to " |
+ | * Type : character string. __** Not for the release SUNFLUIDH_EDU**__ . | ||
* Selection of the 2nd order spatial discretization for the advection flux in the species equations. The options are the same as previously. | * Selection of the 2nd order spatial discretization for the advection flux in the species equations. The options are the same as previously. | ||
==== Explicit_Solving_of_Density ==== | ==== Explicit_Solving_of_Density ==== | ||
Ligne 77: | Ligne 89: | ||
----- | ----- | ||
- | ==== Numerical_Method_Poisson_Equation | + | ==== |
- | * Type : Integer value | + | (equivalent to " |
+ | * Type : Character string | ||
* Selection of the numerical method for solving the Poisson equation in accordance to the projection method. The solution is the pressure time increment ($\Phi= P^{n+1}-P^{n}$, | * Selection of the numerical method for solving the Poisson equation in accordance to the projection method. The solution is the pressure time increment ($\Phi= P^{n+1}-P^{n}$, | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | ==== Iterative_Method_Selection (only if the SOR method is used) ==== | + | |
- | * Type : Integer value | + | |
- | * Select the algorithm used for solving the Poisson equation from an SOR method. These options are : | + | |
- | | + | |
- | * 2 : The SOR method | + | |
- | * 3 : The SOR method is based on the Gauss-Seidel algorithm with a two-color approach (Red-Black type). This method is used in the context of parallel simulations (MPI domain decomposition, | + | |
- | ==== Number_max_Grid (multigrid method only) ==== | + | |
- | * Type : Integer value | + | |
- | * Maximum number of grid levels used in the multigrid method. | + | |
- | ==== Number_max_Cycle (multigrid method only) ==== | + | |
- | * Type : Integer value | + | |
- | * Maximum number of V-cycles permitted in the multigrid method. | + | |
- | ==== Number_Iteration (only if the SOR method is used) ==== | + | |
- | * Type : integer value | + | |
- | * Number of iterations performed | + | |
- | ==== Relaxation_Coefficient (only if the SOR method is used) ==== | + | |
- | * Type : real value between one and two | + | |
- | * over-relaxation coefficient used in the SOR method. | + | |
- | ==== Convergence_Criterion (only if the SOR method is used) ==== | + | |
- | * Type : real value | + | |
- | | + | |
- | ==== Off_Set_Poisson_Source_term ==== | + | |
- | * Type : Boolean value. __** Not for the release SUNFLUIDH_EDU**__. | + | |
- | * The source term is shifted from its averaged value such as its integral value over the domain is zero. This could facilitate the convergence in some particuliar cases. this option must be used with caution. For expert users only. | + |
sunfluidh/new_numerical_methods_setup_namelist.txt · Dernière modification : 2018/05/29 15:06 de witko