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.
25 lines
968 B
C++
25 lines
968 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 patch.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
patch <patch>;
|
|
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/streamlinesPatch.cfg"
|
|
|
|
// ************************************************************************* //
|