78 lines
1.8 KiB
C++
78 lines
1.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.1 |
|
|
| \\ / A nd | Web: http://www.extend-project.de |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application channelOodles;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 1000;
|
|
|
|
deltaT 0.2;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 200;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression uncompressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
functions
|
|
(
|
|
fieldAverage1
|
|
{
|
|
// Type of functionObject
|
|
type fieldAverage;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
|
|
outputControl outputTime;
|
|
|
|
// Fields to be averaged - runTime modifiable
|
|
fields
|
|
(
|
|
U
|
|
{
|
|
mean on;
|
|
prime2Mean on;
|
|
base time;
|
|
}
|
|
p
|
|
{
|
|
mean on;
|
|
prime2Mean on;
|
|
base time;
|
|
}
|
|
);
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|