From b93f214d1a8b39baafc7bd3d80333fc18f9034ec Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 18 Nov 2008 11:52:40 +0000 Subject: [PATCH] adding relax() to UEqns --- applications/solvers/multiphase/interFoam/UEqn.H | 2 ++ applications/solvers/multiphase/rasInterFoam/UEqn.H | 2 ++ 2 files changed, 4 insertions(+) diff --git a/applications/solvers/multiphase/interFoam/UEqn.H b/applications/solvers/multiphase/interFoam/UEqn.H index e585f3c..7e4a294 100644 --- a/applications/solvers/multiphase/interFoam/UEqn.H +++ b/applications/solvers/multiphase/interFoam/UEqn.H @@ -9,6 +9,8 @@ //- fvc::div(muf*(fvc::interpolate(dev(fvc::grad(U))) & mesh.Sf())) ); + UEqn.relax(); + if (momentumPredictor) { solve diff --git a/applications/solvers/multiphase/rasInterFoam/UEqn.H b/applications/solvers/multiphase/rasInterFoam/UEqn.H index c627f04..e5b553b 100644 --- a/applications/solvers/multiphase/rasInterFoam/UEqn.H +++ b/applications/solvers/multiphase/rasInterFoam/UEqn.H @@ -14,6 +14,8 @@ //- fvc::div(muEff*(fvc::interpolate(dev(fvc::grad(U))) & mesh.Sf())) ); + UEqn.relax(); + if (momentumPredictor) { solve -- 2.11.4.GIT