Access mesh data/fluid properties in parallel computing
Hello,
I try run my case by parallel computing in OpenFOAM. Velocity of some cells will be specified in my case. For example: I have 10 mesh cells, 0 1 2 3 4 5 6 7 8 9 and I divide it into 2 region region 1 contains 0 1 2 3 4 and 5 6 7 8 9 belong to region 2 In each time step I have to read velocity of cell 1 and cell 7 and specify a new value for them. My question is, does "scatter/gather" achieve my purpose? And my second question is: Is mesh data also decomposed? Could I access mesh data like serial computing? Thank you and I will appreciate if you could provide me some useful information or literature. |
The mesh is decomposed. So each processor has local cell numbers starting at zero.
I think you will need more help than you can reasonably expect on via the forum, since there are many details. |
Hello,
Thank you for your reply. I have found some interesting example and I will try to figure out. |
All times are GMT -4. The time now is 23:23. |