CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Parallel functions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2006, 03:51
Default Hi I want to write a solver wh
  #1
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
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?
chris1980 is offline   Reply With Quote

Old   July 27, 2006, 05:54
Default All the functions working on G
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
All the functions working on GeometricFields (volScalarField, surfaceVectorField etc.) tend to be parallel aware. See the (out of date) programmers guide chap. 1.
mattijs is offline   Reply With Quote

Old   August 1, 2006, 15:48
Default Mattijs, what do you mean "
  #3
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
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?
chris1980 is offline   Reply With Quote

Old   August 2, 2006, 02:52
Default global.
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
global.
mattijs is offline   Reply With Quote

Old   August 6, 2006, 18:15
Default Mattijs, you said all funct
  #5
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17
stefanke is on a distinguished road
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 ?
stefanke is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
functions in UDF Lucy FLUENT 4 April 14, 2011 17:41
Wall functions tutlhino OpenFOAM Pre-Processing 0 July 2, 2007 06:04
Functions evgenii OpenFOAM Pre-Processing 1 December 5, 2005 14:43
damping functions(wall functions) Pr Main CFD Forum 0 March 22, 2004 03:17
Wall functions. A. Gatherson. Main CFD Forum 2 August 30, 2001 12:49


All times are GMT -4. The time now is 21:07.