Files
openfoam/tutorials/incompressible/pimpleFoam/LES/vortexShed/system/controlDict
Kutalmis Bercin a5c6516e23 DOC: elaborate the usage of function objects
ENH: update libs of etc/caseDicts/postProcess items
  ENH: ensure destructor=default
  ENH: ensure constness
  ENH: ensure no 'copy construct' and 'no copy assignment' exist
  TUT: add examples of function objects with full set
       of settings into a TUT if unavailable
  TUT: update pisoFoam/RAS/cavity tutorial in terms of usage
2020-06-08 15:43:47 +01:00

153 lines
3.5 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application pimpleFoam;
startFrom latestTime;
startTime 0;
stopAt endTime;
endTime 0.2;
deltaT 1e-5;
writeControl timeStep;
writeInterval 100; // every 0.001s
purgeWrite 200;
writeFormat binary;
writePrecision 8;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
functions
{
minMax1
{
libs (fieldFunctionObjects);
type fieldMinMax;
fields (U p);
}
curle
{
// Mandatory entries
type Curle;
libs (fieldFunctionObjects);
patches (cylinder);
c0 343;
// Optional (inherited) entries
field p;
result Curle;
region region0;
enabled true;
log true;
timeStart 0.1;
timeEnd 1000;
executeControl timeStep;
executeInterval 1;
writeControl writeTime;
writeInterval -1;
}
cuttingPlane
{
type surfaces;
libs (sampling);
writeControl timeStep;
writeInterval 2;
timeStart 0.1;
surfaceFormat ensight;
formatOptions
{
ensight
{
format binary;
collateTimes true;
}
}
fields (p Curle);
interpolationScheme cellPoint;
surfaces
(
zNormal
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
point (0 0 -0.01);
normal (0 0 1);
}
interpolate false;
}
);
}
forces
{
type forces;
libs (forces);
writeControl writeTime;
timeStart 0.1;
patches (cylinder);
CofR (0.20 0.15 -0.01);
writeFields yes;
rho rhoInf;
rhoInf 1.205;
}
probes
{
type patchProbes;
libs (sampling);
writeControl timeStep;
timeStart 0.1;
patch cylinder;
probeLocations
(
(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
);
fields (p forces:force Curle);
}
}
// ************************************************************************* //