openfoam/etc/caseDicts/postProcessing/surfaceRegion/patchAverage
Henry Weller 18b632e71d Utilities patchAverage and patchIntegrate replaced by postProcess
e.g.
    postProcess -func 'patchAverage(name=inlet,p)'
    postProcess -func 'patchIntegrate(name=inlet,p)'
2016-06-12 22:32:15 +01:00

24 lines
778 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
{
patch <patchName>;
fields (<field names>);
operation average;
#includeEtc "caseDicts/postProcessing/surfaceRegion/patch.cfg"
}
// ************************************************************************* //