From d020df456c6265c8759f8dfae5807fa43a9198e2 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Mon, 12 Dec 2022 18:52:05 +0000 Subject: [PATCH] engineCompRatio: Corrected typo Resolves bug-report https://bugs.openfoam.org/view.php?id=3942 --- .../miscellaneous/engineCompRatio/engineCompRatio.C | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/applications/utilities/postProcessing/miscellaneous/engineCompRatio/engineCompRatio.C b/applications/utilities/postProcessing/miscellaneous/engineCompRatio/engineCompRatio.C index 7bec497736..75ea728656 100644 --- a/applications/utilities/postProcessing/miscellaneous/engineCompRatio/engineCompRatio.C +++ b/applications/utilities/postProcessing/miscellaneous/engineCompRatio/engineCompRatio.C @@ -26,12 +26,16 @@ Application Description Calculate the geometric compression ratio. + Note that if you have valves and/or extra volumes it will not work, - since it calculates the volume at BDC and TCD. + since it calculates the volume at BDC and TDC. \*---------------------------------------------------------------------------*/ -#include "fvCFD.H" +#include "argList.H" +#include "volMesh.H" + +using namespace Foam; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //