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
This commit is contained in:
Mark Olesen
2019-05-02 13:15:49 +02:00
committed by Andrew Heather
parent 5507d11bdd
commit d2462d4d37
2 changed files with 4 additions and 4 deletions

View File

@ -6,14 +6,14 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Description 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>; name <patchName>;
fields (<field names>); fields (<field names>);
operation average; operation areaAverage;
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/patch.cfg" #includeEtc "caseDicts/postProcessing/surfaceFieldValue/patch.cfg"
// ************************************************************************* // // ************************************************************************* //

View File

@ -10,8 +10,8 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
name <patchName>; name <patchName>;
fields (<field names>); fields (<field names>);
operation areaIntegrate; operation areaIntegrate;
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/patch.cfg" #includeEtc "caseDicts/postProcessing/surfaceFieldValue/patch.cfg"