36 lines
1 KiB
Text
36 lines
1 KiB
Text
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||
|
========= |
|
||
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||
|
\\ / O peration | Website: https://openfoam.org
|
||
|
\\ / A nd | Version: 9
|
||
|
\\/ 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.
|
||
|
|
||
|
\*---------------------------------------------------------------------------*/
|
||
|
|
||
|
fields (alpha.water p U mag(U));
|
||
|
|
||
|
surfaceFormat raw;
|
||
|
surfaces
|
||
|
{
|
||
|
plane
|
||
|
{
|
||
|
type cuttingPlane;
|
||
|
planeType pointAndNormal;
|
||
|
pointAndNormalDict
|
||
|
{
|
||
|
point (0 0.5 0);
|
||
|
normal (0 1 0);
|
||
|
}
|
||
|
interpolate true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#includeEtc "caseDicts/postProcessing/graphs/graph.cfg"
|
||
|
|
||
|
// ************************************************************************* //
|