Outils pour utilisateurs

Outils du site


sunfluidh:domain_features_examples

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:domain_features_examples [2016/11/18 18:34] yannsunfluidh:domain_features_examples [2017/09/26 17:15] (Version actuelle) yann
Ligne 1: Ligne 1:
 ===== Examples of data set  ===== ===== Examples of data set  =====
 +[[sunfluidh:domain_features_namelist|Click here to come back to the previous page]] \\
 The user finds here some examples illustrating different configurations related to the namelist [[sunfluidh:domain_features_namelist| "Domain_Features"]]. \\ The user finds here some examples illustrating different configurations related to the namelist [[sunfluidh:domain_features_namelist| "Domain_Features"]]. \\
 The data initialized by default, and not explicitly required, are generally not present for a sake of clarity.\\ The data initialized by default, and not explicitly required, are generally not present for a sake of clarity.\\
Ligne 23: Ligne 23:
                      End_Coordinate_K_Direction     = 0.00,                      End_Coordinate_K_Direction     = 0.00,
                      Cells_Number_I_Direction       = 80 ,                      Cells_Number_I_Direction       = 80 ,
-                     Cells_Number_J_Direction       80 ,+                     Cells_Number_J_Direction       60 ,
                      Cells_Number_K_Direction       = 1 /                      Cells_Number_K_Direction       = 1 /
                                            
Ligne 43: Ligne 43:
                      End_Coordinate_K_Direction     = 0.00,                      End_Coordinate_K_Direction     = 0.00,
                      Cells_Number_I_Direction       = 80 ,                      Cells_Number_I_Direction       = 80 ,
-                     Cells_Number_J_Direction       80 ,+                     Cells_Number_J_Direction       60 ,
                      Cells_Number_K_Direction       = 1,                      Cells_Number_K_Direction       = 1,
                      Number_OMP_Threads= 4 /                      Number_OMP_Threads= 4 /
Ligne 67: Ligne 67:
                      End_Coordinate_K_Direction     = 0.00,                      End_Coordinate_K_Direction     = 0.00,
                      Cells_Number_I_Direction       = 80 ,                      Cells_Number_I_Direction       = 80 ,
-                     Cells_Number_J_Direction       80 ,+                     Cells_Number_J_Direction       60 ,
                      Cells_Number_K_Direction       = 1,                      Cells_Number_K_Direction       = 1,
                      MPI_Cartesian_Topology         = .false. ,                      MPI_Cartesian_Topology         = .false. ,
Ligne 77: Ligne 77:
 <note important> The code must be compiled with the MPI options. </note> <note important> The code must be compiled with the MPI options. </note>
  
-=== Parallel setting : MPI Only (in MPI graphic topology) ===+=== Parallel setting : MPI Only (in MPI graph topology) ===
 <note> Domain in cartesian geometry.\\ <note> Domain in cartesian geometry.\\
 No OpenMP parallelization is considered .\\ No OpenMP parallelization is considered .\\
-Domain decomposition approach (MPI parallelization) in MPI graphic topology. The domain is divided on 4 subdomains :+Domain decomposition approach (MPI parallelization) in MPI graph topology. The domain is divided on 4 subdomains :
    * 4 along the I-direction (maximum value)    * 4 along the I-direction (maximum value)
    * 2 along the J-direction (maximum value)    * 2 along the J-direction (maximum value)
Ligne 95: Ligne 95:
                      End_Coordinate_K_Direction     = 0.00,                      End_Coordinate_K_Direction     = 0.00,
                      Cells_Number_I_Direction       = 80 ,                      Cells_Number_I_Direction       = 80 ,
-                     Cells_Number_J_Direction       80 ,+                     Cells_Number_J_Direction       60 ,
                      Cells_Number_K_Direction       = 1,                      Cells_Number_K_Direction       = 1,
-                     MPI_Graphic_Topology           = .false. , +                     MPI_Graphic_Topology           = .true. , 
-                     Total_Number_MPI_Processes     6+                     Total_Number_MPI_Processes      Value depending on the geometrical configuration of the domain
                      Max_Number_MPI_Proc_I_Direction= 4,                      Max_Number_MPI_Proc_I_Direction= 4,
                      Max_Number_MPI_Proc_J_Direction= 2,                       Max_Number_MPI_Proc_J_Direction= 2, 
                      Max_Number_MPI_Proc_K_Direction= 1 /                      Max_Number_MPI_Proc_K_Direction= 1 /
                                            
-<WRAP important> The code must be compiled with the MPI options. +<WRAP important> The code must be compiled with the MPI options.\\ 
-The MPI-graphic topology is used in cases where the domain configuration gets large immersed bodies. \\ The aim is to build a domain decomposition in a way that takes the solid parts out of the domain and ensure that the domain is mainly fluid.\\ +The MPI graph topology is used in cases where the domain configuration have got large immersed bodies. \\ The aim is to build a domain decomposition in a way that takes the solid parts out of the domain and ensure that the numerical domain is mainly fluid.\\ 
-In a first step, the domain decomposition is carried out as if the MPI cartesian decomposition was used. The number of processes will be equal to the multiplication of the Max_Number_MPI_Proc_I_Direction by Max_Number_MPI_Proc_J_Direction by Max_Number_MPI_Proc_K_Direction. \\ +In a first step, the domain decomposition is carried out as if the MPI cartesian decomposition was used. The number of processes "Total_Number_MPI_Processes" will be equal to the multiplication of the "Max_Number_MPI_Proc_I_Directionby "Max_Number_MPI_Proc_J_Directionby "Max_Number_MPI_Proc_K_Direction". \\ 
-When subdomain are totally occupied by solid parts, they are useless. They are therefore removed in order to reduce the MPI-process number. As the MPI topology is no longer cartesian due to the "holes" created, the subdomain decomposition is handled with the MPI graphic topology. \\ +When some subdomains are totally occupied by solid parts, they are useless. They must therefore be removed in order to reduce the MPI process number. As the MPI topology is no longer cartesian due to the "holes" arisen in the MPI topology, the subdomain decomposition is handled with the MPI graph topology. \\ 
-The software "mpi_subdomain_decomposition" has been developed for helping the user to build the subdomain decomposition.\\ + 
-The user+The software "mpi_subdomain_decomposition" has been developed for helping the user to build the subdomain decomposition in these cases :\\ 
 +   * The user sets the MPI data in the data file as for a cartesian subdomain splitting. 
 +   * The user then runs the software that : 
 +      reads the data file 
 +      analyses the geometrical layout of the domain with respect to the subdomain decomposition following a MPI cartesian topology proposed by the user 
 +     * reformulates the subdomain splitting by excluding the pointless subdomains (covering the solid parts of the domain). 
 +     * build the data file named "data_mpi_subdomain_layout.dat" that contains : 
 +       * a map of the enabled MPI processes related to the new subdomain layout 
 +       * the maximum MPI process number implied in the MPI graph topology 
 + 
 +The user must set the variable "Total_Number_MPI_Processes" to this new value and keep the other data in the same state. During the run, sunfluidh will read this own data file and the new data file "data_mpi_subdomain_layout.dat" in order to know the MPI process layout related to the MPI graph topology.
  </WRAP>  </WRAP>
 +
 +[[sunfluidh:domain_features_namelist|Click here to come back to the previous page]] \\
sunfluidh/domain_features_examples.1479490446.txt.gz · Dernière modification : 2016/11/18 18:34 de yann

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki