77 lines
1.8 KiB
Text
77 lines
1.8 KiB
Text
|
/*--------------------------------*- 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 coodles;
|
||
|
|
||
|
startFrom startTime;
|
||
|
|
||
|
startTime 0;
|
||
|
|
||
|
stopAt endTime;
|
||
|
|
||
|
endTime 10;
|
||
|
|
||
|
deltaT 1e-05;
|
||
|
|
||
|
writeControl timeStep;
|
||
|
|
||
|
writeInterval 100;
|
||
|
|
||
|
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 ("libfieldAverage.so");
|
||
|
|
||
|
// Fields to be averaged - runTime modifiable
|
||
|
fields
|
||
|
(
|
||
|
U
|
||
|
{
|
||
|
mean on;
|
||
|
prime2Mean on;
|
||
|
base time;
|
||
|
}
|
||
|
p
|
||
|
{
|
||
|
mean on;
|
||
|
prime2Mean on;
|
||
|
base time;
|
||
|
}
|
||
|
);
|
||
|
}
|
||
|
);
|
||
|
|
||
|
// ************************************************************************* //
|