From d31aa1c1e7c4e4753984f8031889ca0a9b04b850 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Fri, 16 Jun 2017 12:39:53 +0100 Subject: [PATCH] Clean-up --- applications/solvers/coupled/MRFPorousFoam/UEqn.H | 6 ------ .../solvers/coupled/MRFPorousFoam/readBlockSolverControls.H | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/applications/solvers/coupled/MRFPorousFoam/UEqn.H b/applications/solvers/coupled/MRFPorousFoam/UEqn.H index 189324c0b..197560075 100644 --- a/applications/solvers/coupled/MRFPorousFoam/UEqn.H +++ b/applications/solvers/coupled/MRFPorousFoam/UEqn.H @@ -1,10 +1,4 @@ { - volScalarField divPhi - ( - "divPhi", - fvc::div(phi) - ); - // Update boundary velocity for consistency with the flux mrfZones.correctBoundaryVelocity(U); diff --git a/applications/solvers/coupled/MRFPorousFoam/readBlockSolverControls.H b/applications/solvers/coupled/MRFPorousFoam/readBlockSolverControls.H index 93c2bda47..1f917aa99 100644 --- a/applications/solvers/coupled/MRFPorousFoam/readBlockSolverControls.H +++ b/applications/solvers/coupled/MRFPorousFoam/readBlockSolverControls.H @@ -1,5 +1,6 @@ label pRefCell = 0; scalar pRefValue = 0; + setRefCell ( p,