|
[Sponsors] |
November 30, 2021, 06:02 |
TecioMPI IJK-partitioned
|
#1 |
New Member
Raj Kiran
Join Date: May 2018
Posts: 24
Rep Power: 8 |
I want to add data in an ordered zone with partitions using teciompi. In order to merge those partitions, we use the function TECIJKPTN142 which imposes a condition that ending and starting indices of the neighboring partitions should match each other. I’m not able to make equally divided partitions in the form of cubes for each processor to print the data into it, as the range of indices of neighboring partitions does not match.
Please help. |
|
November 30, 2021, 20:41 |
|
#2 |
New Member
Dave Taflin
Join Date: Nov 2017
Posts: 12
Rep Power: 9 |
Raj, the requirement is that neighboring partitions must have indices that match at their interface. So if one partition ends at I=23, there should be another partition (or more than one) that begins at I=23, except, of course, at the min and max boundaries of your domain. To take a simple case, an 8x9x10 node cube could be divided up into three partitions with (i, j, k) index ranges (1-4, 1-9, 1-10), (4-8, 1-9, 1-5) and (4-8, 1-9, 5-10). In this case, the second partition interfaces with the first at I=4, J=1-9, K=1-5; the third partition interfaces with the first at I=4, J=1-9, K=5-10; and the second partition interfaces with the third at I=4-8, J=1-9, K=5. TecIO-MPI will figure out how each partition interfaces with all of its neighbors. But you do need to divide up your domain using index ranges similar to how I've described such that each partition is logically rectangular (or cuboid, to be more precise).
If your partitioning is not done by index ranges, I'd be curious to know how it is done. Last edited by davetaflin; November 30, 2021 at 21:10. Reason: Follow-on question |
|
December 7, 2021, 06:26 |
|
#3 |
New Member
Raj Kiran
Join Date: May 2018
Posts: 24
Rep Power: 8 |
Dave, I want to divide the domain into equal partitions. Suppose I have a domain of 7x7x7 and we need to divide it into 4 partition then the first partition should be from I = 1-4, J=1-4 and K=1-7, similarly the second partition from I=4-7, J=1-4 & K=1-7, third partition from I=1-4, J=4-7 & K=1-7 and the last partition I=4-7, J=4-7 & K=1-7. I need a solution to this issue which TECIJKPTN142 is not permitting.
|
|
December 14, 2021, 02:24 |
|
#4 |
New Member
Dave Taflin
Join Date: Nov 2017
Posts: 12
Rep Power: 9 |
Raj, what do you mean when you say that TECIJKPTN142 does not permit you to partition your domain as you wish? As far as I can tell, it should permit the partitioning you describe.
|
|
Tags |
ijk-partitioned, tecio, tecio.lib, teciompi |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Errors at partitioned boundaries | Wang Changjun | Fluent UDF and Scheme Programming | 6 | February 26, 2023 06:56 |
Reg: Buoyant flow in partitioned Cavity | CFD Engineer | Main CFD Forum | 1 | February 1, 2017 04:49 |
How to rearrange the solution data along mesh IJK coordinate? | motorbean | FLUENT | 1 | February 22, 2014 19:13 |
partitioned cavity | Sambou | FLUENT | 0 | January 21, 2006 12:13 |
UDF Face Fluxes & Partitioned Grids | Greg Perkins | FLUENT | 0 | April 6, 2001 02:50 |