This changes simplifies the specification of functionObjects in controlDict and is consistent with the 'libs' option in controlDict to load special solver libraries. Support for the old 'functionObjectLibs' name is supported for backward compatibility.
41 lines
1.2 KiB
C++
41 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;
|
|
libs ( "libfieldFunctionObjects.so" );
|
|
|
|
writeControl writeTime;
|
|
|
|
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;
|
|
}
|
|
|
|
// ************************************************************************* //
|