mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
committed by
Andrew Heather
parent
5507d11bdd
commit
d2462d4d37
@ -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"
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user