Files
OpenFOAM-12/etc/caseDicts/postProcessing/graphs/graphLayerAverage
Will Bainbridge eb8e221f15 functionObjects::layerAverage: Volume averaging, and weight fields
This function has been changed to volume average, making it appropriate
to use on layered meshes in which the cells have non-uniform geometry
within their layers. A 'weightFields' (or 'weightField') control has
also been added, so that mass or phase weighted averages can be
performed within the layers.
2023-12-15 14:51:28 +00:00

33 lines
1.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ 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/postProcessing/graphs/graphLayerAverage.cfg"
// ************************************************************************* //