patchAverage: pre-packaged function object
calculates average value on a patch
This commit is contained in:
parent
77bf182edc
commit
a166d234cd
1 changed files with 27 additions and 0 deletions
27
etc/caseDicts/postProcessing/faceSource/patchAverage
Normal file
27
etc/caseDicts/postProcessing/faceSource/patchAverage
Normal 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";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
Loading…
Add table
Reference in a new issue