Replaced the 'postProcess' argument to the 'write' and 'execute' functions with the single static member 'postProcess' in the functionObject base-class.
24 lines
780 B
C++
24 lines
780 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration |
|
|
\\ / A nd | Web: www.OpenFOAM.org
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Calculates the average value of one or more fields on a patch.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
patchAverage
|
|
{
|
|
name <patchName>;
|
|
fields (<field names>);
|
|
|
|
operation average;
|
|
#includeEtc "caseDicts/postProcessing/surfaceRegion/patch.cfg"
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|