CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Getting information across processor patches (https://www.cfd-online.com/Forums/openfoam-solving/58311-getting-information-across-processor-patches.html)

ntrask November 20, 2008 16:35

I've been writing a solver bas
 
I've been writing a solver based off interFoam that does something like

forAll(gamma,cellI){
-get neighbouring cell values
-do stuff with them
}

which works in serial and I am now trying to parallelize it. I'd like to let each processor access a buffer of cell values across the processor boundary. I know that what I need is buried somewhere in Pstream but I haven't been able to find it. Can anyone please help me out or point me toward example code?


All times are GMT -4. The time now is 06:22.