diff --git a/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleFoam.C b/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleFoam.C index d6b0163349f8d364ea2679a719f04057e8343731..69eb579d70578be5f2d6a4e13f8329186d0a2bd2 100644 --- a/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleFoam.C +++ b/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleFoam.C @@ -6,6 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2017 OpenFOAM Foundation + Copyright (C) 2019 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -36,6 +37,10 @@ Description Uses the flexible PIMPLE (PISO-SIMPLE) solution for time-resolved and pseudo-transient simulations. +Note + The motion frequency of this solver can be influenced by the presence + of "updateControl" and "updateInterval" in the dynamicMeshDict. + \*---------------------------------------------------------------------------*/ #include "fvCFD.H" @@ -131,7 +136,7 @@ int main(int argc, char *argv[]) } // Do any mesh changes - mesh.update(); + mesh.controlledUpdate(); if (mesh.changing()) { diff --git a/applications/solvers/incompressible/pimpleFoam/pimpleFoam.C b/applications/solvers/incompressible/pimpleFoam/pimpleFoam.C index 9c9fb3bb2bdd8558275cff38f59becae15e1f1ac..282c75e9544bb8a214873b381b01fb74dd1fae7a 100644 --- a/applications/solvers/incompressible/pimpleFoam/pimpleFoam.C +++ b/applications/solvers/incompressible/pimpleFoam/pimpleFoam.C @@ -6,6 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2017 OpenFOAM Foundation + Copyright (C) 2019 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -67,6 +68,10 @@ Description \<turbulence fields\> | As required by user selection \endplaintable +Note + The motion frequency of this solver can be influenced by the presence + of "updateControl" and "updateInterval" in the dynamicMeshDict. + \*---------------------------------------------------------------------------*/ #include "fvCFD.H" @@ -121,7 +126,8 @@ int main(int argc, char *argv[]) { if (pimple.firstIter() || moveMeshOuterCorrectors) { - mesh.update(); + // Do any mesh changes + mesh.controlledUpdate(); if (mesh.changing()) {