/*--------------------------------*- 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; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // applicationClass twoPhaseEulerFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 10; deltaT 1e-3; writeControl adjustableRunTime; writeInterval 0.1; purgeWrite 0; writeFormat binary; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable on; adjustTimeStep yes; maxCo 0.5; maxDeltaT 1; 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 ( Ua { mean on; prime2Mean off; base time; } Ub { mean on; prime2Mean off; base time; } alpha { mean on; prime2Mean off; base time; } p { mean on; prime2Mean off; base time; } ); } ); // ************************************************************************* //