patchAverage uses the "average" operation (which computes an ensemble average) rather than the "areaAverage". Its results are therefore not equal to patchIntegrate/area. This seems to me an incorrect behavior
Steps to reproduce
postProcess -func 'patchAverage(name='anyPatch', anyField)'
Compare result from postProcess -func 'patchAverage(name='anyPatch', anyField)' with postProcess -func 'patchIntegrate(name='anyPatch', anyField)'
What is the current bug behaviour?
Integral and average are not exactly related by the area.
What is the expected correct behavior?
Integral and average should be related by the area.
Relevant logs and/or images
OpenFOAM version : v1712 Operating system : Ubuntu 18.04 Compiler : gcc 7.3
In /etc/caseDicts/postProcessing/surfaceFieldValue/patchAverage change: operation average; to operation areaAverage;