Skip to content
Snippets Groups Projects
Commit f6ba0363 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: use areaAverage instead of average for -func patchAverage (#1303)

- this corresponds more closely to the expected behaviour of a
  patch-average value being independent of the local face
  discretization
parent f85be0c4
No related merge requests found
......@@ -6,14 +6,14 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Calculates the average value of one or more fields on a patch.
Calculates the area averaged value of one or more fields on a patch.
\*---------------------------------------------------------------------------*/
name <patchName>;
fields (<field names>);
operation average;
operation areaAverage;
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/patch.cfg"
// ************************************************************************* //
......@@ -10,8 +10,8 @@ Description
\*---------------------------------------------------------------------------*/
name <patchName>;
fields (<field names>);
name <patchName>;
fields (<field names>);
operation areaIntegrate;
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/patch.cfg"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment