CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   access the information of the neighbour cell across a processor boundary? (https://www.cfd-online.com/Forums/openfoam-programming-development/154387-access-information-neighbour-cell-across-processor-boundary.html)

sophie_l June 1, 2015 07:18

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

wyldckat June 12, 2015 18:57

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
I got these:


Beyond this, I never needed this myself, so I have no idea how it can be implemented :(


Best regards,
Bruno

sophie_l June 15, 2015 16:53

Hello Bruno,

Thank you very much for your time indeed. That's very helpful to me.

thanks,
Sophie

kaifu April 5, 2016 03:20

Hi Sophie

Have you found the solution yet? I am also interested.

//Kai

IColin August 9, 2016 14:05

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.