From 2e1ab51dbef66837e543bddec189c791a79a80e0 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 1 Aug 2016 14:38:56 +0100 Subject: [PATCH] Bugfix: consistent notation of 1/aP --- applications/solvers/incompressible/simpleFoam/pEqn.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/solvers/incompressible/simpleFoam/pEqn.H b/applications/solvers/incompressible/simpleFoam/pEqn.H index 9a1c0a4ef..01afab709 100644 --- a/applications/solvers/incompressible/simpleFoam/pEqn.H +++ b/applications/solvers/incompressible/simpleFoam/pEqn.H @@ -2,7 +2,7 @@ // Prepare clean 1/Ap without contribution from under-relaxation // HJ, 26/Oct/2015 - volScalarField rUA + volScalarField rAU ( "(1|A(U))", 1/HUEqn().A() @@ -12,7 +12,7 @@ // the flux precursor U.storePrevIter(); - U = rUA*HUEqn().H(); + U = rAU*HUEqn().H(); HUEqn.clear(); phi = fvc::interpolate(U) & mesh.Sf(); adjustPhi(phi, U, p);