From d7b941dcc4afc89848d021c68679043708ba4d72 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 1 Aug 2018 18:28:14 +0100 Subject: [PATCH] Fixed tutorial errors --- tutorials/incompressible/pimpleFoam/t-junction/0/epsilon | 3 ++- tutorials/incompressible/pimpleFoam/t-junction/0/k | 3 ++- tutorials/incompressible/pimpleFoam/t-junction/0/nut | 3 ++- .../pimpleFoam/t-junction/constant/polyMesh/blockMeshDict | 7 +++++-- .../pimpleFoam/t-junction/constant/polyMesh/boundary | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/tutorials/incompressible/pimpleFoam/t-junction/0/epsilon b/tutorials/incompressible/pimpleFoam/t-junction/0/epsilon index 41d40744f..05f0e87e8 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/0/epsilon +++ b/tutorials/incompressible/pimpleFoam/t-junction/0/epsilon @@ -42,7 +42,8 @@ boundaryField defaultFaces { - type empty; + type epsilonWallFunction; + value $internalField; } } diff --git a/tutorials/incompressible/pimpleFoam/t-junction/0/k b/tutorials/incompressible/pimpleFoam/t-junction/0/k index dae6c0334..a2c7d4cbf 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/0/k +++ b/tutorials/incompressible/pimpleFoam/t-junction/0/k @@ -42,7 +42,8 @@ boundaryField defaultFaces { - type empty; + type kqRWallFunction; + value uniform 0; } } diff --git a/tutorials/incompressible/pimpleFoam/t-junction/0/nut b/tutorials/incompressible/pimpleFoam/t-junction/0/nut index 3091704c9..6aa0b7852 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/0/nut +++ b/tutorials/incompressible/pimpleFoam/t-junction/0/nut @@ -41,7 +41,8 @@ boundaryField defaultFaces { - type empty; + type nutkWallFunction; + value uniform 0; } } diff --git a/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/blockMeshDict b/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/blockMeshDict index 002d69897..f13bbb30c 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/blockMeshDict +++ b/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/blockMeshDict @@ -94,7 +94,6 @@ boundary (0 10 13 3) ); } - outlet1 { type patch; @@ -103,7 +102,6 @@ boundary (6 7 17 16) ); } - outlet2 { type patch; @@ -112,6 +110,11 @@ boundary (8 18 19 9) ); } + defaultFaces + { + type wall; + faces (); + } ); mergePatchPairs diff --git a/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/boundary b/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/boundary index ab0378118..837657a69 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/boundary +++ b/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/boundary @@ -37,7 +37,7 @@ FoamFile } defaultFaces { - type empty; + type wall; nFaces 3075; startFace 10125; }