From 6ed5113869055871f1d9b33e0298fb46fa830072 Mon Sep 17 00:00:00 2001 From: Felix <feh7@hi.is> Date: Fri, 23 Apr 2021 22:45:58 +0000 Subject: [PATCH] try out other schemes doesn't make a big obvious difference --- openfoam2012/freeCylinderFlow/system/fvSchemes | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/openfoam2012/freeCylinderFlow/system/fvSchemes b/openfoam2012/freeCylinderFlow/system/fvSchemes index 888aa09..5a805ab 100644 --- a/openfoam2012/freeCylinderFlow/system/fvSchemes +++ b/openfoam2012/freeCylinderFlow/system/fvSchemes @@ -17,7 +17,8 @@ FoamFile ddtSchemes { - default Euler; + /* default Euler; */ + default backward; } gradSchemes @@ -29,7 +30,8 @@ divSchemes { default none; - div(phi,U) Gauss linearUpwind grad(U); + /* div(phi,U) Gauss linearUpwind grad(U); */ + div(phi,U) Gauss limitedLinearV 1; div(phi,T) Gauss limitedLinear 1; turbulence Gauss limitedLinear 1; @@ -37,7 +39,7 @@ divSchemes div(phi,epsilon) $turbulence; div(phi,omega) $turbulence; // error was that this was missing. Just do the same as with the other div(phi,...)... - div((nuEff*dev2(T(grad(U))))) Gauss linear; + div((nuEff*dev2(T(grad(U))))) $turbulence; // to have the same everywhere Gauss linear; } laplacianSchemes -- GitLab