Skip to content
Snippets Groups Projects
Commit 0f13f839 authored by Henry Weller's avatar Henry Weller
Browse files

Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev

parents 1319df48 aa12a814
Branches
Tags
No related merge requests found
......@@ -47,47 +47,7 @@ runTimeModifiable true;
functions
{
streamLines
{
type streamLine;
// Where to load it from (if not already in solver)
libs ("libfieldFunctionObjects.so");
// Output every
writeControl writeTime;
// writeInterval 10;
setFormat vtk; //gnuplot;//xmgr;//raw;//jplot;//csv;//ensight;
// Tracked forwards (+U) or backwards (-U)
trackForward true;
// Names of fields to sample. Should contain above velocity field!
fields (p k U);
// Steps particles can travel before being removed
lifeTime 10000;
// Number of steps per cell (estimate). Set to 1 to disable subcycling.
nSubCycle 5;
// Cloud name to use
cloudName particleTracks;
// Seeding method.
seedSampleSet uniform; //cloud; //triSurfaceMeshPointSet;
uniformCoeffs
{
type uniform;
axis x; //distance;
start (-0.0205 0.001 0.00001);
end (-0.0205 0.0251 0.00001);
nPoints 10;
}
}
#includeFunc streamlines
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Web: www.OpenFOAM.org
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Writes out files of streamlines with interpolated field data in VTK format.
\*---------------------------------------------------------------------------*/
nLines 10;
start (-0.0205 0.001 0.00001);
end (-0.0205 0.0251 0.00001);
fields (p k U);
// Must be last entry
#includeEtc "caseDicts/postProcessing/visualization/streamlines.cfg"
// ************************************************************************* //
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment