From fb951b572650bba2c2fccc7223bdb87b9fdb587b Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 1 Aug 2016 14:37:52 +0100 Subject: [PATCH] Tutorial settings update: immersed boundary --- .../cylBumpInterIbFoam/system/fvSchemes | 5 ++--- .../cylBumpInterIbFoam/system/fvSolution | 14 ++++++++++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/tutorials/immersedBoundary/cylBumpInterIbFoam/system/fvSchemes b/tutorials/immersedBoundary/cylBumpInterIbFoam/system/fvSchemes index 70cf12a44..9247655dc 100644 --- a/tutorials/immersedBoundary/cylBumpInterIbFoam/system/fvSchemes +++ b/tutorials/immersedBoundary/cylBumpInterIbFoam/system/fvSchemes @@ -21,14 +21,13 @@ ddtSchemes gradSchemes { - default Gauss linear; - grad(p) Gauss linear; + default cellLimited Gauss linear 1; } divSchemes { default none; - div(rho*phi,U) Gauss vanLeer; + div(rho*phi,U) Gauss linearUpwind grad(U); div(phi,alpha) Gauss vanLeer01; div(phirb,alpha) Gauss interfaceCompression; diff --git a/tutorials/immersedBoundary/cylBumpInterIbFoam/system/fvSolution b/tutorials/immersedBoundary/cylBumpInterIbFoam/system/fvSolution index 91dc58990..be1f7f5fd 100644 --- a/tutorials/immersedBoundary/cylBumpInterIbFoam/system/fvSolution +++ b/tutorials/immersedBoundary/cylBumpInterIbFoam/system/fvSolution @@ -80,7 +80,7 @@ PISO PIMPLE { nOuterCorrectors 2; - nCorrectors 6; + nCorrectors 4; nNonOrthogonalCorrectors 0; pdRefPoint (-0.9 1.4 0.05); @@ -89,13 +89,19 @@ PIMPLE pRefPoint (-0.9 1.4 0.05); pRefValue 0; - limitMagU 35; + limitMagU 20; } relaxationFactors { - U 0.9; - pd 0.8; + equations + { + U 0.9; + } + fields + { + pd 0.8; + } }