db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
103 lines
2.4 KiB
C++
103 lines
2.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.5 |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application oodles;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 0.1;
|
|
|
|
deltaT 1e-05;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 100;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression uncompressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
functions
|
|
(
|
|
probes1
|
|
{
|
|
// Type of functionObject
|
|
type probes;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libsampling.so");
|
|
|
|
// Locations to be probed. runTime modifiable!
|
|
probeLocations
|
|
(
|
|
(0.0254 0.0253 0.0)
|
|
(0.0508 0.0253 0.0)
|
|
(0.0762 0.0253 0.0)
|
|
(0.1016 0.0253 0.0)
|
|
(0.1270 0.0253 0.0)
|
|
(0.1524 0.0253 0.0)
|
|
(0.1778 0.0253 0.0)
|
|
);
|
|
|
|
// Fields to be probed. runTime modifiable!
|
|
fields
|
|
(
|
|
p
|
|
);
|
|
}
|
|
|
|
fieldAverage1
|
|
{
|
|
// Type of functionObject
|
|
type fieldAverage;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libfieldAverage.so");
|
|
|
|
// Fields to be averaged - runTime modifiable
|
|
fields
|
|
(
|
|
U
|
|
{
|
|
mean on;
|
|
prime2Mean on;
|
|
base time;
|
|
}
|
|
p
|
|
{
|
|
mean on;
|
|
prime2Mean on;
|
|
base time;
|
|
}
|
|
);
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|