From 9b21cf69937ac91c881a44f9ff82b9885e735e80 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 18 Oct 2019 16:25:12 +0100 Subject: [PATCH] tutorials/heatTransfer/buoyantSimpleFoam/iglooWithFridges: Improved convergence --- .../hotRoomBoussinesq/system/fvSchemes | 1 + .../iglooWithFridges/system/controlDict | 2 +- .../iglooWithFridges/system/fvSolution | 13 +++++++------ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoomBoussinesq/system/fvSchemes b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoomBoussinesq/system/fvSchemes index 3d522d23e3..fcdca5a27b 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoomBoussinesq/system/fvSchemes +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoomBoussinesq/system/fvSchemes @@ -36,6 +36,7 @@ divSchemes div(phi,epsilon) bounded Gauss upwind; div(phi,Ekp) bounded Gauss linear; + div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; } diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/iglooWithFridges/system/controlDict b/tutorials/heatTransfer/buoyantSimpleFoam/iglooWithFridges/system/controlDict index 6da5156000..24627654e6 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/iglooWithFridges/system/controlDict +++ b/tutorials/heatTransfer/buoyantSimpleFoam/iglooWithFridges/system/controlDict @@ -23,7 +23,7 @@ startTime 0; stopAt endTime; -endTime 2000; +endTime 4000; deltaT 1; diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/iglooWithFridges/system/fvSolution b/tutorials/heatTransfer/buoyantSimpleFoam/iglooWithFridges/system/fvSolution index 5da8d8d4be..9b275192ea 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/iglooWithFridges/system/fvSolution +++ b/tutorials/heatTransfer/buoyantSimpleFoam/iglooWithFridges/system/fvSolution @@ -21,7 +21,7 @@ solvers { solver PCG; preconditioner DIC; - tolerance 1e-08; + tolerance 1e-8; relTol 0.01; } @@ -29,14 +29,15 @@ solvers { solver PBiCGStab; preconditioner DILU; - tolerance 1e-07; + tolerance 1e-7; relTol 0.1; } } SIMPLE { - nNonOrthogonalCorrectors 2; + nNonOrthogonalCorrectors 1; + pRefCell 0; pRefValue 0; @@ -46,8 +47,7 @@ SIMPLE U 1e-4; e 1e-3; - // possibly check turbulence fields - "(k|epsilon|omega)" 1e-3; + "(k|epsilon)" 1e-3; } } @@ -57,10 +57,11 @@ relaxationFactors { p_rgh 0.7; } + equations { U 0.2; - e 0.5; + e 0.2; "(k|epsilon)" 0.7; } }