/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 11 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application foamMultiRun; regionSolvers { fluid fluid; heatsink solid; heater solid; } startFrom startTime; startTime 0; stopAt endTime; endTime 50; deltaT 1; writeControl adjustableRunTime; writeInterval 50; purgeWrite 0; writeFormat binary; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; //maxCo 1.0; //maxDi 10.0; //adjustTimeStep yes; function { #includeFunc cellMaxHeaterTemp #includeFunc cellMaxHeatsinkTemp #includeFunc volAvgHeatsinkTemp #includeFunc volAvgHeaterTemp averageTempHeaterHeatsinkInterface { type surfaceFieldValue; surfaceFormat off; libs ("libfieldFunctionObjects.so"); enabled true; writeControl timeStep; writeInterval 1; log true; writeFields false; region heater; regionType patch; name heater_to_heatsink; operation areaAverage; mode magnitude; fields ( T ); } } // ************************************************************************* //