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.
28 lines
1.1 KiB
C++
28 lines
1.1 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 graph data for specified fields along a line, specified by start and
|
|
end points. A specified number of graph points are used, distributed
|
|
uniformly along the line.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
start <point>;
|
|
end <point>;
|
|
nPoints <number>;
|
|
|
|
fields (<fieldNames>);
|
|
|
|
axis distance; // The independent variable of the graph. Can be "x",
|
|
// "y", "z", "xyz" (all coordinates written out), or
|
|
// "distance" (from the start point).
|
|
|
|
#includeEtc "caseDicts/functions/graphs/graphUniform.cfg"
|
|
|
|
// ************************************************************************* //
|