From 9fae7f30f171369af7f434a0c5a49e912ac2ecfa Mon Sep 17 00:00:00 2001 From: Andrew Heather <> Date: Wed, 26 Jun 2019 11:53:41 +0100 Subject: [PATCH] BUG: Removed Debug statements --- src/functionObjects/field/pressure/pressure.C | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/functionObjects/field/pressure/pressure.C b/src/functionObjects/field/pressure/pressure.C index e923c83975f..df050772ae7 100644 --- a/src/functionObjects/field/pressure/pressure.C +++ b/src/functionObjects/field/pressure/pressure.C @@ -157,10 +157,8 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::pressure::calcPressure } case ISENTROPIC: { -DebugVar("getting thermo"); const basicThermo* thermoPtr = p.mesh().lookupObjectPtr<basicThermo>(basicThermo::dictName); -DebugVar("got thermo"); if (!thermoPtr) { @@ -169,16 +167,13 @@ DebugVar("got thermo"); << "thermodynamics package" << exit(FatalError); } -DebugVar("calc gamma"); const volScalarField gamma(thermoPtr->gamma()); -DebugVar(gamma); const volScalarField Mb ( mag(lookupObject<volVectorField>(UName_)) /sqrt(gamma*tp.ref()/thermoPtr->rho()) ); -DebugVar(Mb); return tp()*(pow(1 + (gamma - 1)/2*sqr(Mb), gamma/(gamma - 1))); } -- GitLab