diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict index 52ff388f45fcdf3c42a68563f4a987a662b017cb..3fbcdd8d4746e95506194706e6480405abdd022e 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict @@ -45,5 +45,67 @@ timePrecision 6; runTimeModifiable true; +functions +{ + convergenceChecks + { + type residualControl; + functionObjectLibs ("libjobControl.so"); + outputControl timeStep; + outputInterval 1; + + maxResiduals + { + p 1e-2; + U 1e-3; + "(k|epsilon|omega)" 1e-3; + } + } + + streamLines + { + type streamLine; + + // Where to load it from (if not already in solver) + functionObjectLibs ("libfieldFunctionObjects.so"); + + // Output every + outputControl outputTime; + // outputInterval 10; + + setFormat vtk; //gnuplot; //xmgr; //raw; //jplot; + + // Velocity field to use for tracking. + U U; + + // 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. See the sampleSets in sampleDict. + 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; + } + } +} // ************************************************************************* //