Skip to content
Snippets Groups Projects
Commit a166d234 authored by Chris Greenshields's avatar Chris Greenshields
Browse files

patchAverage: pre-packaged function object

calculates average value on a patch
parent 77bf182e
Branches
Tags
No related merge requests found
/*--------------------------------*- 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";
}
// ************************************************************************* //
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment