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/)
-   -   Parallel functions (http://www.cfd-online.com/Forums/openfoam-solving/60078-parallel-functions.html)

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 "
 
Mattijs,

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

global.
 
global.

stefanke August 6, 2006 17:15

Mattijs, you said all funct
 
Mattijs,

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 05:01.