patchAverage: pre-packaged function object

calculates average value on a patch
This commit is contained in:
Chris Greenshields 2015-07-17 14:19:58 +01:00
parent 94401af010
commit f548abaa38

View File

@ -0,0 +1,27 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object patchAverage;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
patchAverage
{
patch <patchName>;
fields ( p );
operation average;
#includeEtc "caseDicts/postProcessing/faceSource/patchSource.cfg";
}
// ************************************************************************* //