From 13d6a66f3b1da4a702882b0f81d9cccd7cf4dc0e Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 1 Dec 2011 17:14:06 +0000 Subject: [PATCH] BUG: Re-instated BCs in TJunctionFace tutorial --- .../pimpleFoam/TJunctionFan/0/p | 42 ++++++++++++++----- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/tutorials/incompressible/pimpleFoam/TJunctionFan/0/p b/tutorials/incompressible/pimpleFoam/TJunctionFan/0/p index e1512cda4f..ab71f3490c 100644 --- a/tutorials/incompressible/pimpleFoam/TJunctionFan/0/p +++ b/tutorials/incompressible/pimpleFoam/TJunctionFan/0/p @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -23,36 +24,55 @@ boundaryField inlet { type uniformTotalPressure; - pressure table - ( - (0 10) - (1 40) - ); - p0 40; // only used for restarts - U U; - phi phi; rho none; psi none; gamma 1; + p0 40; + pressure table + +2 +( +(0 10) +(1 40) +) +; value uniform 40; } - outlet1 { type fixedValue; value uniform 10; } - outlet2 { type fixedValue; value uniform 0; } - + baffles + { + type zeroGradient; + } + fan_half0 + { + type fan; + patchType cyclic; + jump uniform 0; + f 2(100 -0.1); + value uniform 0; + } + fan_half1 + { + type fan; + patchType cyclic; + jump uniform 0; + f 2(100 -0.1); + value uniform 0; + } defaultFaces { type zeroGradient; } } + // ************************************************************************* //