Newer
Older
Andrew Heather
committed
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
Andrew Heather
committed
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application pimpleFoam;
startFrom latestTime;
startTime 0;
stopAt endTime;
Andrew Heather
committed
Andrew Heather
committed
writeControl timeStep;
writeInterval 100; // every 1s
Andrew Heather
committed
Andrew Heather
committed
writeFormat binary;
writePrecision 8;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
functions
{
turbulenceFields1
{
type turbulenceFields;
libs (fieldFunctionObjects);
writeControl writeTime;
fields (fd LESRegion);
}
Andrew Heather
committed
minMax1
{
Andrew Heather
committed
type fieldMinMax;
fields (U p);
}
Andrew Heather
committed
{
Andrew Heather
committed
type Curle;
libs (fieldFunctionObjects);
Andrew Heather
committed
patches (cylinder);
c0 343;
input surface;
surface surface.obj;
output surface;
surfaceType ensight;
formatOptions
{
ensight
{
format ascii; // needed for surfaceNoise ...
collateTimes true;
}
}
// Optional (inherited) entries
region region0;
enabled true;
log true;
timeStart 100;
timeEnd 1000;
executeControl runTime;
executeInterval 10;
curlePoint
{
// Mandatory entries
type Curle;
libs (fieldFunctionObjects);
patches (cylinder);
c0 343;
input point;
output point;
observerPositions
(
(0.20 0.17 -0.01) // N
(0.22 0.15 -0.01) // E
(0.20 0.13 -0.01) // S
(0.18 0.15 -0.01) // W
);
// Optional (inherited) entries
p p;
region region0;
enabled true;
log true;
timeStart 100;
executeControl runTime;
executeInterval 10;
Andrew Heather
committed
}
cuttingPlane
{
type surfaces;
writeControl writeTime;
timeStart 100;
Andrew Heather
committed
surfaceFormat ensight;
formatOptions
{
ensight
{
format binary;
collateTimes true;
Andrew Heather
committed
}
}
Andrew Heather
committed
interpolationScheme cellPoint;
surfaces
Andrew Heather
committed
zNormal
{
type cuttingPlane;
point (0 0 -0.01);
normal (0 0 1);
Andrew Heather
committed
}
Andrew Heather
committed
}
forces
{
type forces;
Andrew Heather
committed
writeControl writeTime;
timeStart 100;
Andrew Heather
committed
patches (cylinder);
CofR (0.20 0.15 -0.01);
writeFields yes;
rho rhoInf;
Andrew Heather
committed
}
}
// ************************************************************************* //