Files
OpenFOAM-12/etc/caseDicts/postProcessing/streamlines/streamlinesSphere

26 lines
994 B
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Writes out files of stream lines with interpolated field data in VTK
format, with initial points randomly selected within a sphere.
\*---------------------------------------------------------------------------*/
centre <centre>;
radius <radius>;
nPoints <nPoints>;
fields (<fieldNames>);
direction both; // Direction in which to track from the starting points. Can be
// "both", "forward" or "backward"
#includeEtc "caseDicts/postProcessing/streamlines/streamlinesSphere.cfg"
// ************************************************************************* //