|
[Sponsors] |
July 27, 2006, 02:51 |
Hi I want to write a solver wh
|
#1 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
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? |
|
July 27, 2006, 04:54 |
All the functions working on G
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
All the functions working on GeometricFields (volScalarField, surfaceVectorField etc.) tend to be parallel aware. See the (out of date) programmers guide chap. 1.
|
|
August 1, 2006, 14:48 |
Mattijs,
what do you mean "
|
#3 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
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? |
|
August 2, 2006, 01:52 |
global.
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
global.
|
|
August 6, 2006, 17:15 |
Mattijs,
you said all funct
|
#5 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
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 ? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
functions in UDF | Lucy | FLUENT | 4 | April 14, 2011 16:41 |
Wall functions | tutlhino | OpenFOAM Pre-Processing | 0 | July 2, 2007 05:04 |
Functions | evgenii | OpenFOAM Pre-Processing | 1 | December 5, 2005 13:43 |
damping functions(wall functions) | Pr | Main CFD Forum | 0 | March 22, 2004 02:17 |
Wall functions. | A. Gatherson. | Main CFD Forum | 2 | August 30, 2001 11:49 |