/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 12 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application foamRun; solver incompressibleFluid; startFrom latestTime; startTime 0; stopAt endTime; endTime 12; deltaT 0.005; writeControl timeStep; writeInterval 100; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; functions { fieldAverage1 { type fieldAverage; libs ("libfieldFunctionObjects.so"); log true; enabled true; writeControl writeTime; restartOnOutput false; restartOnRestart false; periodicRestart true; restartPeriod 1; fields ( p { mean on; prime2Mean off; base time; } ); } } // ************************************************************************* //