|
[Sponsors] |
January 24, 2019, 10:42 |
Problem with patchAverage
|
#1 |
New Member
Join Date: Mar 2018
Posts: 10
Rep Power: 8 |
Hello everyone. I'm having some troubles with the patchAverage postProcess utility (postProcess -func 'patchAverage(name= patch,field)' -latestTime). I post process the same case in two different computers with different versions of OpenFOAM (v6 and v5.0) and get different results. Does anybody know if they change something? I attach the picture with the values.
Thanks all |
|
January 24, 2019, 13:43 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
You are using two different functions - left is area weighted average, right is regular average.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
January 24, 2019, 14:18 |
|
#3 | |
New Member
Join Date: Mar 2018
Posts: 10
Rep Power: 8 |
Quote:
Hello Anton, thank you for your reply. Even i using the same function in both situations? I used the same code line (postProcess -func 'patchAverage(name=placa,grad(T))' -latestTime) . OpenFOAM does not have a function for each kind of average ? Thank you ! |
||
January 24, 2019, 18:01 |
|
#4 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
You are not using the same function in both situations. The default behavior was deliberately changed in OF6. See https://bugs.openfoam.org/view.php?id=2936
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
January 24, 2019, 22:23 |
|
#5 | |
New Member
Join Date: Mar 2018
Posts: 10
Rep Power: 8 |
Quote:
Thank you again ! |
||
January 25, 2019, 07:39 |
|
#6 | |
New Member
Join Date: Mar 2018
Posts: 10
Rep Power: 8 |
Quote:
I figured out! Just change the operation in the patchAverage file in ../caseDict/postProcessing/surfaceFieldValue/. This was in the bug report that you send me! Thank you again Anton! |
||
Tags |
opeanfoam, patchaverage, postprocess, problem |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |