26 lines
985 B
C++
26 lines
985 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 12
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Writes out files of stream lines with interpolated field data in VTK
|
|
format, with initial points uniformly distributed along a line.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
start <point>;
|
|
end <point>;
|
|
nPoints <nPoints>;
|
|
|
|
fields (<fieldNames>);
|
|
|
|
direction both; // Direction in which to track from the starting points. Can be
|
|
// "both", "forward" or "backward"
|
|
|
|
#includeEtc "caseDicts/functions/streamlines/streamlinesLine.cfg"
|
|
|
|
// ************************************************************************* //
|