openfoam/tutorials/incompressible/pimpleFoam/laminar/planarContraction/system/graphs
Mark Olesen 8a7221cf50 TUT: update tutorials to use dictionary-style sets
- can now specify sampled sets as dictionary entries instead of a list
  entry.
    can now use:  sets { ... }
    instead of:   sets ( ... );

  This is similar to sampled surfaces and makes it easier to
  manage with dictionary manipulation tools.

TUT: update to use writeTime instead of outputTime
2022-03-10 19:45:20 +01:00

52 lines
825 B
C++

// -*- C++ -*-
// Sampling and I/O settings
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
// Override settings here, e.g.
// setConfig { type midPoint; }
type sets;
libs (sampling);
writeControl writeTime;
interpolationScheme cellPoint;
setFormat raw;
fields (U);
setConfig
{
type midPoint; // midPoint
axis distance; // x, y, z, xyz
}
sets
{
lineA
{
$setConfig;
start (-0.0016 0 0);
end (-0.0016 0.0128 0);
}
lineB
{
$setConfig;
start (-0.0048 0 0);
end (-0.0048 0.0128 0);
}
lineC
{
$setConfig;
start (-0.032 0 0);
end (-0.032 0.0128 0);
}
}
// ************************************************************************* //