/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: dev \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; location "system"; object functions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // setDeltaT { type coded; // Load the library containing the 'coded' functionObject libs ("libutilityFunctionObjects.so"); codeInclude #{ #include "volFields.H" #}; codeExecute #{ const Time& runTime = mesh().time(); if (runTime.userTimeValue() >= -15.0) { const_cast(runTime).setDeltaT ( runTime.userTimeToTime(0.025) ); } #}; } #includeFunc multiValveEngineState // ************************************************************************* //