diff --git a/tutorials/incompressible/pimpleFoam/TJunction/0/p b/tutorials/incompressible/pimpleFoam/TJunction/0/p index ec66f8b49a..21888bffb2 100644 --- a/tutorials/incompressible/pimpleFoam/TJunction/0/p +++ b/tutorials/incompressible/pimpleFoam/TJunction/0/p @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -22,14 +22,13 @@ boundaryField { inlet { - //type totalPressure; - //p0 uniform 40; - - type timeVaryingTotalPressure; + type uniformTotalPressure; + pressure table + ( + (0 10) + (1 40) + ); p0 40; // only used for restarts - outOfBounds clamp; - fileName "$FOAM_CASE/constant/p0vsTime"; - U U; phi phi; rho none; diff --git a/tutorials/incompressible/pimpleFoam/TJunction/constant/p0vsTime b/tutorials/incompressible/pimpleFoam/TJunction/constant/p0vsTime deleted file mode 100644 index 94a6a7d8c4..0000000000 --- a/tutorials/incompressible/pimpleFoam/TJunction/constant/p0vsTime +++ /dev/null @@ -1,4 +0,0 @@ -( - (0 10) - (1 40) -) diff --git a/tutorials/incompressible/pimpleFoam/TJunctionFan/0/p b/tutorials/incompressible/pimpleFoam/TJunctionFan/0/p index ec39ac330a..21888bffb2 100644 --- a/tutorials/incompressible/pimpleFoam/TJunctionFan/0/p +++ b/tutorials/incompressible/pimpleFoam/TJunctionFan/0/p @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class volScalarField; - location "0"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -23,50 +22,37 @@ boundaryField { inlet { - type timeVaryingTotalPressure; + 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; - fileName "$FOAM_CASE/constant/p0vsTime"; - outOfBounds clamp; 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; } } - // ************************************************************************* // diff --git a/tutorials/incompressible/pimpleFoam/TJunctionFan/constant/p0vsTime b/tutorials/incompressible/pimpleFoam/TJunctionFan/constant/p0vsTime deleted file mode 100644 index 94a6a7d8c4..0000000000 --- a/tutorials/incompressible/pimpleFoam/TJunctionFan/constant/p0vsTime +++ /dev/null @@ -1,4 +0,0 @@ -( - (0 10) - (1 40) -)