CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Parallel functions (

chris1980 July 27, 2006 02:51

Hi I want to write a solver wh
Hi I want to write a solver which is able to run in parallel.

I was wondering if weightedAverage() calculates the average of the hole domain?

I know there are some special function like gSum, gAverage. Is there a doc about the existing parallel functions?

mattijs July 27, 2006 04:54

All the functions working on G
All the functions working on GeometricFields (volScalarField, surfaceVectorField etc.) tend to be parallel aware. See the (out of date) programmers guide chap. 1.

chris1980 August 1, 2006 14:48

Mattijs, what do you mean "

what do you mean "tend to be parallel aware".

What does the function weightedAverage do a global domain average or a local domain average?

mattijs August 2, 2006 01:52


stefanke August 6, 2006 17:15

Mattijs, you said all funct

you said all functions working on GeometricFields are global.
I was wondering if there is an internalField() function which returns field defined on the local cells ? Or is there a workaround to do this ?

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