sunfluidh:domain_features_examples
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
sunfluidh:domain_features_examples [2016/11/18 17:33] – créée yann | sunfluidh:domain_features_examples [2017/09/26 17:15] (Version actuelle) – yann | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ===== Examples of data set ===== | ||
+ | [[sunfluidh: | ||
+ | The user finds here some examples illustrating different configurations related to the namelist [[sunfluidh: | ||
+ | The data initialized by default, and not explicitly required, are generally not present for a sake of clarity.\\ | ||
+ | Data values are showed for equations used in a dimensional form.\\ | ||
+ | ----- | ||
+ | ==== 2D domain configuration ==== | ||
+ | ----- | ||
+ | === No parallel setting === | ||
+ | < | ||
+ | No OpenMP parallelization is considered.\\ | ||
+ | No domain decomposition approach (MPI parallelization).\\ | ||
+ | The grid is regular. The number of cells in each direction is 80. | ||
+ | </ | ||
- | & | + | |
- | Start_Coordinate_I_Direction | + | |
- | End_Coordinate_I_Direction | + | |
- | Start_Coordinate_J_Direction | + | |
- | End_Coordinate_J_Direction | + | |
- | Start_Coordinate_K_Direction | + | |
- | End_Coordinate_K_Direction | + | |
- | Cells_Number_I_Direction | + | |
- | Cells_Number_J_Direction | + | |
- | Cells_Number_K_Direction | + | |
- | Number_OMP_Threads | + | |
- | MPI_Cartesian_Topology | + | <note important> |
- | MPI_Graphic_Topology | + | |
- | Total_Number_MPI_Processes | + | === Parallel setting : OpenMP Only === |
- | Max_Number_MPI_Proc_I_Direction= | + | < |
- | Max_Number_MPI_Proc_J_Direction= | + | OpenMP parallelization is considered with 4 threads.\\ |
- | Max_Number_MPI_Proc_K_Direction= 1, | + | No domain decomposition approach (MPI parallelization).\\ |
- | | + | The grid is regular. The number of cells in each direction is 80. |
+ | </ | ||
+ | |||
+ | & | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | === Parallel setting : MPI Only (in MPI cartesian topology) === | ||
+ | < | ||
+ | No OpenMP parallelization is considered .\\ | ||
+ | Domain decomposition approach (MPI parallelization) in MPI cartesian topology. The domain is divided on 8 subdomains : | ||
+ | * 4 along the I-direction | ||
+ | * 2 along the J-direction | ||
+ | | ||
+ | The grid is regular. The number of cells in each direction is 80 __**for each subdomain**__. | ||
+ | </ | ||
+ | |||
+ | & | ||
+ | Start_Coordinate_I_Direction | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | MPI_Cartesian_Topology | ||
+ | Total_Number_MPI_Processes | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | === Parallel setting : MPI Only (in MPI graph topology) === | ||
+ | < | ||
+ | No OpenMP parallelization is considered .\\ | ||
+ | Domain decomposition approach (MPI parallelization) in MPI graph topology. The domain is divided on 4 subdomains : | ||
+ | * 4 along the I-direction (maximum value) | ||
+ | * 2 along the J-direction (maximum value) | ||
+ | * 1 along the K-direction (default) | ||
+ | The grid is regular. The number of cells in each direction is 80 __**for each subdomain**__. | ||
+ | </ | ||
+ | |||
+ | & | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | MPI_Graphic_Topology | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | <WRAP important> | ||
+ | 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 " | ||
+ | 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 " | ||
+ | |||
+ | The software " | ||
+ | * The user sets the MPI data in the data file as for a cartesian subdomain splitting. | ||
+ | * The user then runs the software that : | ||
+ | | ||
+ | | ||
+ | * reformulates the subdomain splitting by excluding the pointless subdomains (covering the solid parts of the domain). | ||
+ | * build the data file named " | ||
+ | * 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 " | ||
+ | </WRAP> | ||
+ | |||
+ | [[sunfluidh: |
sunfluidh/domain_features_examples.1479486800.txt.gz · Dernière modification : 2016/11/18 17:33 de yann