CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Pstream reduce sum volVectorField (http://www.cfd-online.com/Forums/openfoam-solving/110463-pstream-reduce-sum-volvectorfield.html)

ganeshv December 11, 2012 15:35

Pstream reduce sum volVectorField
 
hi!

I need to sum a volVectorField over all the processors. Different processors contain the data over certain sections of the this volVectorField. I intend to sum them all up to create the final field. Would Pstream::reduce(myVectorField, sumOp<volVectorField>) work? Or would you suggest anything else. I personally don't care so much about the boundary field and would be ok with just the internal field being summed up across different processors.

ganesh


All times are GMT -4. The time now is 19:32.