33 lines
1.4 KiB
C++
33 lines
1.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 12
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Generates plots of fields averaged over the layers in the mesh
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
patches (<patchNames>); // Patches from which layers extrude
|
|
|
|
zones (); // Zones from which layers extrude
|
|
|
|
axis distance; // The independent variable of the graph.
|
|
// Can be "x", "y", "z", "xyz" (all
|
|
// coordinates written out), or
|
|
// "distance" (from the start point).
|
|
|
|
symmetric false; // Are the layers symmetric about the
|
|
// centre?
|
|
|
|
fields (<fieldsNames>); // Fields to average
|
|
|
|
//weightField <weightFieldName>; // Field or fields with which to weight
|
|
//weightFields (<weightFieldNames>); // the average
|
|
|
|
#includeEtc "caseDicts/functions/graphs/graphLayerAverage.cfg"
|
|
|
|
// ************************************************************************* //
|