diff --git a/tutorials/incompressible/simpleFoam/motorBike/0.org/k b/tutorials/incompressible/simpleFoam/motorBike/0.org/k index e4f69db0d101c6697043bbb958b00e0d2b119e4f..19af4ae07c24d1690c1485e1bdd9061a23d415a3 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 55c76a488ecb4e472765270ba1666a53855fef37..1d0b5ae1957da0f4d3df93896fb5c894738e0540 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 fc5893222c0cf8b92d59e6c9142eab31d516b3ff..f32b280ac976e951e3f5e90846e00ad38e609144 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 d0475c2bdde9e065ca019835f836d5848f22ad09..6ab2d2a107d855865a79e912d80d4c72d2829f90 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;