|
[Sponsors] |
WeightedAverage for a specific cellZone region |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 20, 2007, 04:41 |
Hello,
I would like to calc
|
#1 |
Member
Guido Adriaensen
Join Date: Mar 2009
Posts: 56
Rep Power: 17 |
Hello,
I would like to calculate the average of a certain parameter in a specific cellZone/region of the mesh. Using parameter.weightedAverage(mesh.V()).value() returns the average for the entire mesh, I would like to calculate it for a specified region or cellZone. I think it should be quite easy, but I don't get it to work... thanks, Guido |
|
February 22, 2009, 05:04 |
Hi,everyone
I have a simila
|
#2 |
New Member
Jiang Lijun
Join Date: Mar 2009
Location: Beijing, China
Posts: 1
Rep Power: 0 |
Hi,everyone
I have a similar problem: How to create an average over some region of space(an CV and its neighborhood)e.g. for smoothing or for numerical stability? L.J. |
|
August 18, 2009, 09:59 |
|
#3 |
Member
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17 |
Hello,
I've got the same problem: How can I calculate weighted average of variables p & T in a given cellSet (with or without ParaView)??? Help really needed!! Thanks Marco |
|
August 19, 2009, 10:48 |
calcMassFlow
|
#4 |
Member
Michael Roth
Join Date: Mar 2009
Location: Guelph, Ontario, Canada
Posts: 50
Rep Power: 17 |
Bernhard Gschaider wrote a handy routine that calculates mass flows through a given faceSet:
http://openfoamwiki.net/index.php/Contrib_calcMassFlow Perhaps you could adapt the methodology to operate on cellSets? Mike |
|
August 19, 2009, 14:23 |
|
#5 |
Senior Member
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18 |
Dear all,
@sub-averages: Mike is right and there are also a few function objects in the vanilla 1.6 which do something similar. However, all of this needs coding. @smoothing by averaging: You can use the cellCells addressing, but this will not paralelise easily. Better solve a relaxation equation (laplacian). Henrik |
|
August 21, 2009, 05:05 |
|
#6 |
Member
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17 |
Hi,
thanks for your replys! But the mentioned things seem to write out during run. My run needs 2 weeks so I'd like to post process the already written results... Is that possible? Marco |
|
August 21, 2009, 10:19 |
|
#7 | |
Member
Michael Roth
Join Date: Mar 2009
Location: Guelph, Ontario, Canada
Posts: 50
Rep Power: 17 |
Quote:
Mike |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
specific heat and mean specific heat | Duan J Q | Siemens | 2 | November 20, 2007 07:59 |
VOF, specific zone | Le | FLUENT | 4 | February 14, 2007 15:09 |
Specific AV in Multiphase | Jeff | CFX | 1 | March 15, 2005 14:03 |
Refining Mesh at Specific Region | Harmeet | CFX | 1 | October 17, 2004 19:44 |
Specific heat | Andrea | CFX | 1 | May 30, 2004 02:55 |