diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/pressureGradient/pressureGradientFunctionObject.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/pressureGradient/pressureGradientFunctionObject.C index 5e9adca5a..018975650 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/pressureGradient/pressureGradientFunctionObject.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/pressureGradient/pressureGradientFunctionObject.C @@ -113,7 +113,7 @@ bool Foam::pressureGradientFunctionObject::start() } -bool Foam::pressureGradientFunctionObject::execute() +bool Foam::pressureGradientFunctionObject::execute(const bool forceWrite) { const fvMesh& mesh = time_.lookupObject(regionName_); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/pressureGradient/pressureGradientFunctionObject.H b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/pressureGradient/pressureGradientFunctionObject.H index cd10280e9..d9d971533 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/pressureGradient/pressureGradientFunctionObject.H +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/pressureGradient/pressureGradientFunctionObject.H @@ -112,7 +112,15 @@ public: virtual bool start(); //- execute is called at each ++ or += of the time-loop - virtual bool execute(); + virtual bool execute(const bool forceWrite); + + //- Update for changes of mesh + virtual void updateMesh(const mapPolyMesh&) + {} + + //- Update for changes of mesh + virtual void movePoints(const pointField&) + {} //- Read and set the function object if its data has changed virtual bool read(const dictionary& dict); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/velocityConvection/velocityConvectionFunctionObject.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/velocityConvection/velocityConvectionFunctionObject.C index 233e3755b..3a0407b97 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/velocityConvection/velocityConvectionFunctionObject.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/velocityConvection/velocityConvectionFunctionObject.C @@ -124,7 +124,7 @@ bool Foam::velocityConvectionFunctionObject::start() } -bool Foam::velocityConvectionFunctionObject::execute() +bool Foam::velocityConvectionFunctionObject::execute(const bool forceWrite) { const fvMesh& mesh = time_.lookupObject(regionName_); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/velocityConvection/velocityConvectionFunctionObject.H b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/velocityConvection/velocityConvectionFunctionObject.H index 8fa466c29..ef67b2c02 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/velocityConvection/velocityConvectionFunctionObject.H +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/functionObjects/velocityConvection/velocityConvectionFunctionObject.H @@ -116,7 +116,15 @@ public: virtual bool start(); //- execute is called at each ++ or += of the time-loop - virtual bool execute(); + virtual bool execute(const bool forceWrite); + + //- Update for changes of mesh + virtual void updateMesh(const mapPolyMesh&) + {} + + //- Update for changes of mesh + virtual void movePoints(const pointField&) + {} //- Read and set the function object if its data has changed virtual bool read(const dictionary& dict);