From 351fa4f979a52d2a5ae722f63acb92b881e3f154 Mon Sep 17 00:00:00 2001 From: Andrew Heather <a.heather@opencfd.co.uk> Date: Thu, 21 Dec 2017 11:16:28 +0000 Subject: [PATCH] TUT: updated sonicFoam case (see #677) --- tutorials/compressible/sonicFoam/RAS/nacaAirfoil/Allrun | 2 +- .../compressible/sonicFoam/RAS/nacaAirfoil/system/fvSchemes | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/Allrun b/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/Allrun index 8bd01b9e40f..8c157c9225e 100755 --- a/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/Allrun +++ b/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/Allrun @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication star4ToFoam -scale 1 \ $FOAM_TUTORIALS/resources/geometry/nacaAirfoil/nacaAirfoil -# Symmetry plane -> empy +# Symmetry plane -> empty sed -i -e 's/symmetry\([)]*;\)/empty\1/' constant/polyMesh/boundary # Don't need these extra files (from star4ToFoam conversion) diff --git a/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/fvSchemes b/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/fvSchemes index 2bc6208faeb..b8ec875991a 100644 --- a/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/fvSchemes +++ b/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/fvSchemes @@ -23,6 +23,7 @@ ddtSchemes gradSchemes { default Gauss linear; + grad(U) cellLimited Gauss linear 1; } divSchemes -- GitLab