From 87294064dac714ec1fe85b0bc0e5fefeb22df60a Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 12 Oct 2011 10:33:03 +0100 Subject: [PATCH] Formatting --- .../solvers/heatTransfer/buoyantBoussinesqPisoFoam/pEqn.H | 2 +- applications/solvers/heatTransfer/buoyantPisoFoam/pEqn.H | 2 +- .../solvers/heatTransfer/chtMultiRegionFoam/fluid/pEqn.H | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/pEqn.H b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/pEqn.H index 318ff6a80..02d86340c 100644 --- a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/pEqn.H +++ b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/pEqn.H @@ -19,7 +19,7 @@ fvm::laplacian(rUAf, p) == fvc::div(phi) ); - if (corr == nCorr-1 && nonOrth == nNonOrthCorr) + if (corr == nCorr - 1 && nonOrth == nNonOrthCorr) { pEqn.solve(mesh.solutionDict().solver(p.name() + "Final")); } diff --git a/applications/solvers/heatTransfer/buoyantPisoFoam/pEqn.H b/applications/solvers/heatTransfer/buoyantPisoFoam/pEqn.H index 24e707613..f78fb9483 100644 --- a/applications/solvers/heatTransfer/buoyantPisoFoam/pEqn.H +++ b/applications/solvers/heatTransfer/buoyantPisoFoam/pEqn.H @@ -32,7 +32,7 @@ - fvm::laplacian(rhorUAf, p) ); - if (corr == nCorr-1 && nonOrth == nNonOrthCorr) + if (corr == nCorr - 1 && nonOrth == nNonOrthCorr) { pEqn.solve(mesh.solutionDict().solver(p.name() + "Final")); } diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/pEqn.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/pEqn.H index 807d32151..389e155b6 100644 --- a/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/pEqn.H +++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/pEqn.H @@ -31,7 +31,7 @@ if ( oCorr == nOuterCorr-1 - && corr == nCorr-1 + && corr == nCorr - 1 && nonOrth == nNonOrthCorr ) {