access the information of the neighbour cell across a processor boundary?
Dear Bruno,
Is it possible to access the information of the neighbour cell across a processor boundary? I know how to do that if both owner and neighbour cell are on the same processor, however, I cannot do that if otherwise. I'm sure OpenFOAM swaps data on the processor boundary using syncTools and the like, but I don't know how to employ those functions in my own solver. What I want to realise is to know the value of alpha1 of the neighoubur cell across a processor boundary while I have the information of the face shared by its owner cell and neighbour cell, and I know the owner cell on the current processor. Therefore, I need to know the cell number of the neighbour cell on another processor. I am not sure if I can do that on the solver level of code. Could you share some hints on this please? Thanks for your time in advance. best Wishes, Sophie |
Greetings Sophie,
I've moved your post from the thread where you originally posted http://www.cfd-online.com/Forums/ope...-problems.html - since it was a bit out of context... i.e., this is a programming question. After a very brief Google search: Code:
site:www.cfd-online.com openfoam access neighbour across processor
Beyond this, I never needed this myself, so I have no idea how it can be implemented :( Best regards, Bruno |
Hello Bruno,
Thank you very much for your time indeed. That's very helpful to me. thanks, Sophie |
Hi Sophie
Have you found the solution yet? I am also interested. //Kai |
Hi, Sophie
I am also very interested in how the neighbor cell information is accessed during the parallel for cells with inter-processor interface. Have you found the solution? Colin |
All times are GMT -4. The time now is 15:42. |