diff --git a/tutorials/incompressible/simpleFoam/motorBike/0.org/k b/tutorials/incompressible/simpleFoam/motorBike/0.org/k index e4f69db0d1..19af4ae07c 100644 --- a/tutorials/incompressible/simpleFoam/motorBike/0.org/k +++ b/tutorials/incompressible/simpleFoam/motorBike/0.org/k @@ -34,11 +34,13 @@ boundaryField lowerWall { type kqRWallFunction; + value $internalField; } "motorBike_.*" { type kqRWallFunction; + value $internalField; } #include "include/frontBackUpperPatches" diff --git a/tutorials/incompressible/simpleFoam/motorBike/0.org/omega b/tutorials/incompressible/simpleFoam/motorBike/0.org/omega index 55c76a488e..1d0b5ae195 100644 --- a/tutorials/incompressible/simpleFoam/motorBike/0.org/omega +++ b/tutorials/incompressible/simpleFoam/motorBike/0.org/omega @@ -34,11 +34,13 @@ boundaryField lowerWall { type omegaWallFunction; + value $internalField; } "motorBike_.*" { type omegaWallFunction; + value $internalField; } #include "include/frontBackUpperPatches" diff --git a/tutorials/incompressible/simpleFoam/motorBike/system/controlDict b/tutorials/incompressible/simpleFoam/motorBike/system/controlDict index fc5893222c..f32b280ac9 100644 --- a/tutorials/incompressible/simpleFoam/motorBike/system/controlDict +++ b/tutorials/incompressible/simpleFoam/motorBike/system/controlDict @@ -16,19 +16,19 @@ FoamFile application simpleFoam; -startFrom latestTime; +startFrom latestTime; startTime 0; -stopAt nextWrite; +stopAt endTime; endTime 500; deltaT 1; -writeControl timeStep; +writeControl timeStep; -writeInterval 1; +writeInterval 100; purgeWrite 0; @@ -44,13 +44,6 @@ timePrecision 6; runTimeModifiable true; -libs -( - "libOpenFOAM.so" - "libcompressibleTurbulenceModels.so" - "libcompressibleRASModels.so" -); - functions { #include "readFields" diff --git a/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes b/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes index d0475c2bdd..6ab2d2a107 100644 --- a/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes +++ b/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes @@ -27,7 +27,7 @@ gradSchemes divSchemes { default none; - div(phi,U) Gauss linearUpwind grad(U); + div(phi,U) Gauss linearUpwindV grad(U); div(phi,k) Gauss upwind; div(phi,omega) Gauss upwind; div((nuEff*dev(T(grad(U))))) Gauss linear;