for consistency with the time controls in controlDict and to avoid unnecessary confusion. All code and tutorials have been updated. The old names 'outputControl' and 'outputInterval' are but supported for backward compatibility but deprecated.
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object streamlines.cfg;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type streamLine;
|
|
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
|
|
|
writeControl outputTime;
|
|
|
|
setFormat vtk;
|
|
UName U;
|
|
trackForward true;
|
|
|
|
lifeTime 10000;
|
|
nSubCycle 5;
|
|
|
|
cloudName particleTracks;
|
|
seedSampleSet uniform;
|
|
uniformCoeffs
|
|
{
|
|
type uniform;
|
|
axis x;
|
|
start $start;
|
|
end $end;
|
|
nPoints $nLines;
|
|
}
|
|
|
|
// ************************************************************************* //
|