diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/postChannel.C b/applications/utilities/postProcessing/miscellaneous/postChannel/postChannel.C index cf7bbd7e34..25965647d1 100644 --- a/applications/utilities/postProcessing/miscellaneous/postChannel/postChannel.C +++ b/applications/utilities/postProcessing/miscellaneous/postChannel/postChannel.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -34,12 +34,13 @@ Description \*---------------------------------------------------------------------------*/ -#include "fvCFD.H" +#include "argList.H" +#include "timeSelector.H" +#include "volFields.H" #include "channelIndex.H" #include "makeGraph.H" -#include "OSspecific.H" - +using namespace Foam; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -66,7 +67,7 @@ int main(int argc, char *argv[]) IOobject ( "postChannelDict", - mesh.time().constant(), + mesh.time().system(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE diff --git a/tutorials/incompressible/pimpleFoam/LES/channel395/constant/postChannelDict b/tutorials/incompressible/pimpleFoam/LES/channel395/system/postChannelDict similarity index 100% rename from tutorials/incompressible/pimpleFoam/LES/channel395/constant/postChannelDict rename to tutorials/incompressible/pimpleFoam/LES/channel395/system/postChannelDict