From 5eaec31deb084fc441c2782f5934386b4c15b1fe Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Mon, 19 Feb 2024 14:57:18 +0000 Subject: [PATCH] multiValveEngineState: Do not execute at start as the clearance is not available Resolves bug-report https://bugs.openfoam.org/view.php?id=4054 --- .../multiValveEngineState/multiValveEngineState.H | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/fvMeshMovers/multiValveEngine/multiValveEngineState/multiValveEngineState.H b/src/fvMeshMovers/multiValveEngine/multiValveEngineState/multiValveEngineState.H index 22e26a3b67..b345c90110 100644 --- a/src/fvMeshMovers/multiValveEngine/multiValveEngineState/multiValveEngineState.H +++ b/src/fvMeshMovers/multiValveEngine/multiValveEngineState/multiValveEngineState.H @@ -125,6 +125,13 @@ public: return wordList::null(); } + //- Do not execute at the start of the run + // as the clearance is not available at that point + virtual bool executeAtStart() const + { + return false; + } + //- Execute, currently does nothing virtual bool execute();