Files
OpenFOAM-12/etc/caseDicts/functions/graphs/graphPatchCutLayerAverage
Henry Weller de363dde05 functionObjectList: Moved the functions entry from controlDict into a functions file
for consistency with fvModels and fvConstraints, to simplify code and case
maintenance and to avoid the potentially complex functions entries being
unnecessarily parsed by utilities for which functionObject evaluation is
disabled.

The functions entry in controlDict is still read if the functions file is not
present for backward-compatibility, but it is advisable to migrate cases to use
the new functions file.
2024-01-20 14:46:28 +00:00

38 lines
1.7 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Writes graphs of patch face values, area-averaged in planes perpendicular
to a given direction. It adaptively grades the distribution of graph points
to match the resolution of the mesh.
\*---------------------------------------------------------------------------*/
patch <patchName>; // Patch on which to average values
direction <direction>; // Direction along which to graph
nPoints <nPoints>; // Number of points in the graph
interpolate no; // Whether or not to do linear interpolation
// between the plot points. Generates a smoother,
// higher order result. Loses the ability to
// visualise and reason about the layer
// thicknesses.
axis default; // The independent variable of the graph. Can be
// "x", "y", "z", "xyz" (all coordinates written
// out), "distance" (plane distance from the
// origin), or "default" (both coordinates and
// distance written out).
fields (<fieldNames>);
#includeEtc "caseDicts/functions/graphs/graphPatchCutLayerAverage.cfg"
// ************************************************************************* //