Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's OpenFOAM page.

 

 

 

 

 

(OpenFOAM) OpenFoamExample11

 

./ToolOpenFoamExample11/About.txt

 

Copied from C:\cfd\blueCFD-SingleCore-2.1\OpenFOAM-2.1\tutorials\compressible\rhoSimplecFoam\squareBend

 

 

 

 

 

./ToolOpenFoamExample11/case.foam

 

 

 

 

 

 

./ToolOpenFoamExample11/Clean.bat

 

del constant\polyMesh\boundary
del constant\polyMesh\cellZones
del constant\polyMesh\faces
del constant\polyMesh\neighbour
del constant\polyMesh\owner
del constant\polyMesh\points
del constant\polyMesh\sets\inlet
del constant\polyMesh\sets\outlet
rmdir constant\polyMesh\sets

 

 

 

 

 

./ToolOpenFoamExample11/ToolOpenFoamExample11.bat

 

blockMesh.exe
rhoSimplecFoam.exe
paraFoam

 

 

 

 

 

./ToolOpenFoamExample11/system/controlDict

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     rhoSimplecFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         1;

deltaT          0.01;

writeControl    timeStep;

writeInterval   1;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

graphFormat     raw;

runTimeModifiable true;


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/system/decomposeParDict

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 8;

method          hierarchical;

simpleCoeffs
{
    n               (8 1 1);
    delta           0.001;
}

hierarchicalCoeffs
{
    n               (4 2 1);
    delta           0.001;
    order           xyz;
}

manualCoeffs
{
    dataFile        "";
}

distributed     no;

roots           ( );


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/system/fvSchemes

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
    default             steadyState;
}

gradSchemes
{
    default             Gauss linear;
}

divSchemes
{
    default             none;

    div(phi,U)          Gauss upwind;
    div((muEff*dev2(T(grad(U)))))      Gauss linear;
    div(phi,h)          Gauss upwind;
    div(phi,epsilon)    Gauss upwind;
    div(phi,k)          Gauss upwind;

    div(phid,p)         Gauss upwind;
    div(phi,K)          Gauss upwind;

    //div((phi|interpolate(rho)),p)          Gauss upwind; //NEW
}

laplacianSchemes
{
    default         Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
    //UD              upwind phid;
}

snGradSchemes
{
    default         corrected;
}

fluxRequired
{
    default         no;
    p;
    pCorr;
}

// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/system/fvSolution

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    p
    {
        solver          GAMG;
        tolerance       1e-08;
        relTol          0.1;
        smoother        GaussSeidel;
        nPreSweeps      0;
        nPostSweeps     2;
        nFinestSweeps   2;
        cacheAgglomeration true;
        nCellsInCoarsestLevel 20;
        agglomerator    faceAreaPair;
        mergeLevels     1;
    }

    "(U|h|k|epsilon)"
    {
        solver          GAMG;
        tolerance       1e-08;
        relTol          0.1;
        smoother        GaussSeidel;
        nPreSweeps      0;
        nPostSweeps     2;
        nFinestSweeps   2;
        cacheAgglomeration true;
        nCellsInCoarsestLevel 20;
        agglomerator    faceAreaPair;
        mergeLevels     1;
    }
}

SIMPLE
{
    nNonOrthogonalCorrectors 0;
    rhoMin          rhoMin [1 -3 0 0 0] 0.1;
    rhoMax          rhoMax [1 -3 0 0 0] 1.0;
    transonic       yes;
}

relaxationFactors
{
    fields
    {
        p               1;
        rho             1;
    }
    equations
    {
        U               0.9;
        h               0.8;
        k               0.9;
        epsilon         0.9;
pEqn 0.3;
    }
}

// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/RASProperties

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

RASModel        kEpsilon;

turbulence      on;

printCoeffs     on;


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/thermophysicalProperties

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType      hPsiThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>>;

mixture
{
    specie
    {
        nMoles      1;
        molWeight   28.9;
    }
    thermodynamics
    {
        Cp          1007;
        Hf          0;
    }
    transport
    {
        As          1.4792e-06;
        Ts          116;
    }
}


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/turbulenceProperties

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

simulationType  RASModel;


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/blockMeshDict

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.001;

vertices
(
    // front-plane: z = +25mm
    // inlet region
    (   -50  25   25)           // pt 0
    (     0  25   25)           // pt 1
    (   -50  75   25)           // pt 2
    (     0  75   25)           // pt 3
    // outlet region
    (  -500 -75   25)           // pt 4
    (     0 -75   25)           // pt 5
    (  -500 -25   25)           // pt 6
    (     0 -25   25)           // pt 7
    // bend mid-points
    (    25   0   25)           // pt 8
    (    75   0   25)           // pt 9
    // back-plane: z = -25mm
    // inlet region
    (   -50  25   -25)          // pt 0 + 10
    (     0  25   -25)          // pt 1 + 10
    (   -50  75   -25)          // pt 2 + 10
    (     0  75   -25)          // pt 3 + 10
    // outlet region
    (  -500 -75   -25)          // pt 4 + 10
    (     0 -75   -25)          // pt 5 + 10
    (  -500 -25   -25)          // pt 7 + 10
    (     0 -25   -25)          // pt 8 + 10
    // bend mid-points
    (    25   0   -25)          // pt 8 + 10
    (    75   0   -25)          // pt 9 + 10
);

blocks
(
    hex (0 1 11 10  2 3 13 12) inlet  ( 20 20 20)  simpleGrading (1 1 1)
    hex (4 5 15 14  6 7 17 16) outlet (200 20 20)  simpleGrading (1 1 1)

    hex (1 8 18 11  3 9 19 13) bend1  ( 30 20 20)  simpleGrading (1 1 1)
    hex (5 9 19 15  7 8 18 17) bend2  ( 30 20 20)  simpleGrading (1 1 1)
);

edges
(
   // block 2
   arc  1  8  ( 17.678  17.678  25)
   arc 11 18  ( 17.678  17.678 -25)
   arc  3  9  ( 53.033  53.033  25)
   arc 13 19  ( 53.033  53.033 -25)
   // block 3
   arc  7  8  ( 17.678  -17.678  25)
   arc 17 18  ( 17.678  -17.678 -25)
   arc  5  9  ( 53.033  -53.033  25)
   arc 15 19  ( 53.033  -53.033 -25)
);

boundary
(
        // is there no way of defining all my 'defaultFaces' to be 'wall'?
    Default_Boundary_Region
    {
        type wall;
        faces
        (
            // block0
            ( 0 1 3 2 )
            ( 11 10 12 13 )
            ( 0 10 11 1 )
            ( 2 3 13 12 )
            // block1
            ( 4 5 7 6 )
            ( 15 14 16 17 )
            ( 4 14 15 5 )
            ( 6 7 17 16 )
            // block2
            ( 1 8 9 3 )
            ( 18 11 13 19 )
            ( 3 9 19 13 )
            ( 1 11 18 8 )
            // block3
            ( 5 9 8 7 )
            ( 19 15 17 18 )
            ( 5 15 19 9 )
            ( 7 8 18 17 )
        );
    }
    inlet
    {
        type patch;
        faces
        (
            (0 2 12 10)
        );
    }

    outlet
    {
        type patch;
        faces
        (
            (4 6 16 14)
        );
    }
);

mergePatchPairs
(
);

// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/boundary

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "constant/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

3
(
    Default_Boundary_Region
    {
        type            wall;
        nFaces          22400;
        startFace       324400;
    }
    inlet
    {
        type            patch;
        nFaces          400;
        startFace       346800;
    }
    outlet
    {
        type            patch;
        nFaces          400;
        startFace       347200;
    }
)

// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/cellZones

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       regIOobject;
    location    "constant/polyMesh";
    object      cellZones;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

4
(
inlet
{
    type cellZone;
cellLabels      List<label>
8000
(
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[...]
111956
111957
111958
111959
111960
111961
111962
111963
111964
111965
111966
111967
111968
111969
111970
111971
111972
111973
111974
111975
111976
111977
111978
111979
111980
111981
111982
111983
111984
111985
111986
111987
111988
111989
111990
111991
111992
111993
111994
111995
111996
111997
111998
111999
)
;
}
)

// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/faces

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       faceList;
    location    "constant/polyMesh";
    object      faces;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


347600
(
4(1 22 463 442)
4(21 462 463 22)
4(441 442 463 462)
4(2 23 464 443)
4(22 463 464 23)
4(442 443 464 463)
4(3 24 465 444)
4(23 464 465 24)
4(443 444 465 464)
4(4 25 466 445)
4(24 465 466 25)
4(444 445 466 465)
4(5 26 467 446)
4(25 466 467 26)
4(445 446 467 466)
4(6 27 468 447)
4(26 467 468 27)
4(446 447 468 467)
4(7 28 469 448)
4(27 468 469 28)
4(447 448 469 468)
4(8 29 470 449)
4(28 469 470 29)
4(448 449 470 469)
4(9 30 471 450)
4(29 470 471 30)
4(449 450 471 470)
4(10 31 472 451)
4(30 471 472 31)
4(450 451 472 471)
4(11 32 473 452)
4(31 472 473 32)
4(451 452 473 472)
4(12 33 474 453)
4(32 473 474 33)
4(452 453 474 473)
4(13 34 475 454)
4(33 474 475 34)
4(453 454 475 474)
4(14 35 476 455)
4(34 475 476 35)
4(454 455 476 475)
4(15 36 477 456)
4(35 476 477 36)
4(455 456 477 476)
4(16 37 478 457)
4(36 477 478 37)
4(456 457 478 477)
4(17 38 479 458)
4(37 478 479 38)
4(457 458 479 478)
4(18 39 480 459)
4(38 479 480 39)
4(458 459 480 479)
4(19 40 481 460)
4(39 480 481 40)
4(459 460 481 480)
4(40 481 482 41)
4(460 461 482 481)
4(20 41 482 461)
4(22 43 484 463)
4(42 483 484 43)
4(462 463 484 483)
4(23 44 485 464)
4(43 484 485 44)
4(463 464 485 484)
4(24 45 486 465)
4(44 485 486 45)
4(464 465 486 485)
4(25 46 487 466)
4(45 486 487 46)
4(465 466 487 486)
4(26 47 488 467)
4(46 487 488 47)
4(466 467 488 487)
4(27 48 489 468)
4(47 488 489 48)
[...]
4(83832 88053 88254 84033)
4(84033 88254 88455 84234)
4(84234 88455 88656 84435)
4(84435 88656 88857 84636)
4(84636 88857 89058 84837)
4(84837 89058 89259 85038)
4(85239 89460 89661 85440)
4(85440 89661 89862 85641)
4(85641 89862 90063 85842)
4(85842 90063 90264 86043)
4(86043 90264 90465 86244)
4(86244 90465 90666 86445)
4(86445 90666 90867 86646)
4(86646 90867 91068 86847)
4(86847 91068 91269 87048)
4(87048 91269 91470 87249)
4(87249 91470 91671 87450)
4(87450 91671 91872 87651)
4(87651 91872 92073 87852)
4(87852 92073 92274 88053)
4(88053 92274 92475 88254)
4(88254 92475 92676 88455)
4(88455 92676 92877 88656)
4(88656 92877 93078 88857)
4(88857 93078 93279 89058)
4(89058 93279 93480 89259)
4(89460 93681 93882 89661)
4(89661 93882 94083 89862)
4(89862 94083 94284 90063)
4(90063 94284 94485 90264)
4(90264 94485 94686 90465)
4(90465 94686 94887 90666)
4(90666 94887 95088 90867)
4(90867 95088 95289 91068)
4(91068 95289 95490 91269)
4(91269 95490 95691 91470)
4(91470 95691 95892 91671)
4(91671 95892 96093 91872)
4(91872 96093 96294 92073)
4(92073 96294 96495 92274)
4(92274 96495 96696 92475)
4(92475 96696 96897 92676)
4(92676 96897 97098 92877)
4(92877 97098 97299 93078)
4(93078 97299 97500 93279)
4(93279 97500 97701 93480)
)


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/neighbour

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       labelList;
    note        "nPoints: 123921 nCells: 112000 nFaces: 347600 nInternalFaces: 324400";
    location    "constant/polyMesh";
    object      neighbour;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


324400
(
1
20
400
2
21
401
3
22
402
4
23
403
5
24
404
6
25
405
7
26
406
8
27
407
9
28
408
10
29
409
11
30
410
12
31
411
13
32
412
14
33
413
15
34
414
16
35
415
17
36
416
18
37
417
19
38
418
39
419
88000
21
40
420
22
41
421
23
42
422
24
43
423
25
44
424
26
[...]
111962
111991
111963
111992
111964
111993
111965
111994
111966
111995
111967
111996
111968
111997
111969
111998
111999
111971
111972
111973
111974
111975
111976
111977
111978
111979
111980
111981
111982
111983
111984
111985
111986
111987
111988
111989
111990
111991
111992
111993
111994
111995
111996
111997
111998
111999
)


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/owner

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       labelList;
    note        "nPoints: 123921 nCells: 112000 nFaces: 347600 nInternalFaces: 324400";
    location    "constant/polyMesh";
    object      owner;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


347600
(
0
0
0
1
1
1
2
2
2
3
3
3
4
4
4
5
5
5
6
6
6
7
7
7
8
8
8
9
9
9
10
10
10
11
11
11
12
12
12
13
13
13
14
14
14
15
15
15
16
16
16
17
17
17
18
18
18
19
19
19
20
20
20
21
21
21
22
22
22
23
23
23
24
24
24
25
[...]
78800
79000
79200
79400
79600
79800
80000
80200
80400
80600
80800
81000
81200
81400
81600
81800
82000
82200
82400
82600
82800
83000
83200
83400
83600
83800
84000
84200
84400
84600
84800
85000
85200
85400
85600
85800
86000
86200
86400
86600
86800
87000
87200
87400
87600
87800
)


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/points

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       vectorField;
    location    "constant/polyMesh";
    object      points;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


123921
(
(-0.05 0.025 0.025)
(-0.0475 0.025 0.025)
(-0.045 0.025 0.025)
(-0.0425 0.025 0.025)
(-0.04 0.025 0.025)
(-0.0375 0.025 0.025)
(-0.035 0.025 0.025)
(-0.0325 0.025 0.025)
(-0.03 0.025 0.025)
(-0.0275 0.025 0.025)
(-0.025 0.025 0.025)
(-0.0225 0.025 0.025)
(-0.02 0.025 0.025)
(-0.0175 0.025 0.025)
(-0.015 0.025 0.025)
(-0.0125 0.025 0.025)
(-0.01 0.025 0.025)
(-0.0075 0.025 0.025)
(-0.005 0.025 0.025)
(-0.0025 0.025 0.025)
(0 0.025 0.025)
(-0.05 0.025 0.0225)
(-0.0475 0.025 0.0225)
(-0.045 0.025 0.0225)
(-0.0425 0.025 0.0225)
(-0.04 0.025 0.0225)
(-0.0375 0.025 0.0225)
(-0.035 0.025 0.0225)
(-0.0325 0.025 0.0225)
(-0.03 0.025 0.0225)
(-0.0275 0.025 0.0225)
(-0.025 0.025 0.0225)
(-0.0225 0.025 0.0225)
(-0.02 0.025 0.0225)
(-0.0175 0.025 0.0225)
(-0.015 0.025 0.0225)
(-0.0125 0.025 0.0225)
(-0.01 0.025 0.0225)
(-0.0075 0.025 0.0225)
(-0.005 0.025 0.0225)
(-0.0025 0.025 0.0225)
(0 0.025 0.0225)
(-0.05 0.025 0.02)
(-0.0475 0.025 0.02)
(-0.045 0.025 0.02)
(-0.0425 0.025 0.02)
(-0.04 0.025 0.02)
(-0.0375 0.025 0.02)
(-0.035 0.025 0.02)
(-0.0325 0.025 0.02)
(-0.03 0.025 0.02)
(-0.0275 0.025 0.02)
(-0.025 0.025 0.02)
(-0.0225 0.025 0.02)
(-0.02 0.025 0.02)
(-0.0175 0.025 0.02)
(-0.015 0.025 0.02)
(-0.0125 0.025 0.02)
(-0.01 0.025 0.02)
(-0.0075 0.025 0.02)
(-0.005 0.025 0.02)
(-0.0025 0.025 0.02)
(0 0.025 0.02)
(-0.05 0.025 0.0175)
(-0.0475 0.025 0.0175)
(-0.045 0.025 0.0175)
(-0.0425 0.025 0.0175)
(-0.04 0.025 0.0175)
(-0.0375 0.025 0.0175)
(-0.035 0.025 0.0175)
(-0.0325 0.025 0.0175)
(-0.03 0.025 0.0175)
(-0.0275 0.025 0.0175)
(-0.025 0.025 0.0175)
(-0.0225 0.025 0.0175)
(-0.02 0.025 0.0175)
(-0.0175 0.025 0.0175)
[...]
(0.0157333111 -0.01942899516 -0.0225)
(0.01672858258 -0.01857896078 -0.0225)
(0.017678 -0.017678 -0.0225)
(0.01857896078 -0.01672858258 -0.0225)
(0.01942899516 -0.0157333111 -0.0225)
(0.02022577298 -0.01469491384 -0.0225)
(0.0209671101 -0.01361623732 -0.0225)
(0.02165097431 -0.01250023844 -0.0225)
(0.02227549098 -0.01134997642 -0.0225)
(0.02283894815 -0.01016860443 -0.0225)
(0.02333980126 -0.008959360898 -0.0225)
(0.02377667733 -0.007725560646 -0.0225)
(0.02414837879 -0.00647058583 -0.0225)
(0.0244538867 -0.005197876642 -0.0225)
(0.02469236361 -0.003910921892 -0.0225)
(0.02486315578 -0.002613249438 -0.0225)
(0.02496579503 -0.001308416518 -0.0225)
(0.001308416518 -0.02496579503 -0.025)
(0.002613249438 -0.02486315578 -0.025)
(0.003910921892 -0.02469236361 -0.025)
(0.005197876642 -0.0244538867 -0.025)
(0.00647058583 -0.02414837879 -0.025)
(0.007725560646 -0.02377667733 -0.025)
(0.008959360898 -0.02333980126 -0.025)
(0.01016860443 -0.02283894815 -0.025)
(0.01134997642 -0.02227549098 -0.025)
(0.01250023844 -0.02165097431 -0.025)
(0.01361623732 -0.0209671101 -0.025)
(0.01469491384 -0.02022577298 -0.025)
(0.0157333111 -0.01942899516 -0.025)
(0.01672858258 -0.01857896078 -0.025)
(0.017678 -0.017678 -0.025)
(0.01857896078 -0.01672858258 -0.025)
(0.01942899516 -0.0157333111 -0.025)
(0.02022577298 -0.01469491384 -0.025)
(0.0209671101 -0.01361623732 -0.025)
(0.02165097431 -0.01250023844 -0.025)
(0.02227549098 -0.01134997642 -0.025)
(0.02283894815 -0.01016860443 -0.025)
(0.02333980126 -0.008959360898 -0.025)
(0.02377667733 -0.007725560646 -0.025)
(0.02414837879 -0.00647058583 -0.025)
(0.0244538867 -0.005197876642 -0.025)
(0.02469236361 -0.003910921892 -0.025)
(0.02486315578 -0.002613249438 -0.025)
(0.02496579503 -0.001308416518 -0.025)
)


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/sets/bend1

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       cellSet;
    location    "constant/polyMesh/sets";
    object      bend1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


12000
(
98304
98305
98306
98307
98308
98309
98310
98311
98312
98313
98314
98315
98316
98317
98318
98319
98320
98321
98322
98323
98324
98325
98326
98327
98328
98329
98330
98331
98332
98333
98334
98335
98336
98337
98338
98339
98340
98341
98342
98343
98344
98345
98346
98347
98348
98349
98350
98351
98352
98353
98354
98355
98356
98357
98358
98359
98360
98361
98362
98363
98364
98365
98366
98367
98368
98369
98370
98371
98372
98373
98374
98375
98376
98377
98378
98379
98380
[...]
98257
98258
98259
98260
98261
98262
98263
98264
98265
98266
98267
98268
98269
98270
98271
98272
98273
98274
98275
98276
98277
98278
98279
98280
98281
98282
98283
98284
98285
98286
98287
98288
98289
98290
98291
98292
98293
98294
98295
98296
98297
98298
98299
98300
98301
98302
98303
)

// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/sets/bend2

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       cellSet;
    location    "constant/polyMesh/sets";
    object      bend2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


12000
(
100000
100001
100002
100003
100004
100005
100006
100007
100008
100009
100010
100011
100012
100013
100014
100015
100016
100017
100018
100019
100020
100021
100022
100023
100024
100025
100026
100027
100028
100029
100030
100031
100032
100033
100034
100035
100036
100037
100038
100039
100040
100041
100042
100043
100044
100045
100046
100047
100048
100049
100050
100051
100052
100053
100054
100055
100056
100057
100058
100059
100060
100061
100062
100063
100064
100065
100066
100067
100068
100069
100070
100071
100072
100073
100074
100075
100076
[...]
111953
111954
111955
111956
111957
111958
111959
111960
111961
111962
111963
111964
111965
111966
111967
111968
111969
111970
111971
111972
111973
111974
111975
111976
111977
111978
111979
111980
111981
111982
111983
111984
111985
111986
111987
111988
111989
111990
111991
111992
111993
111994
111995
111996
111997
111998
111999
)

// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/sets/inlet

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       cellSet;
    location    "constant/polyMesh/sets";
    object      inlet;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


8000
(
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[...]
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
)

// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/constant/polyMesh/sets/outlet

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       cellSet;
    location    "constant/polyMesh/sets";
    object      outlet;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


80000
(
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
[...]
87953
87954
87955
87956
87957
87958
87959
87960
87961
87962
87963
87964
87965
87966
87967
87968
87969
87970
87971
87972
87973
87974
87975
87976
87977
87978
87979
87980
87981
87982
87983
87984
87985
87986
87987
87988
87989
87990
87991
87992
87993
87994
87995
87996
87997
87998
87999
)

// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/0/alphat

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      alphat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [1 -1 -1 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    Default_Boundary_Region
    {
        type            alphatWallFunction;
        Prt             0.85;
        value           uniform 0;
    }
    inlet
    {
        type            calculated;
        value           uniform 0;
    }
    outlet
    {
        type            calculated;
        value           uniform 0;
    }
}


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/0/epsilon

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 2 -3 0 0 0 0];

internalField   uniform 200;

boundaryField
{
    Default_Boundary_Region
    {
        type            compressible::epsilonWallFunction;
        Cmu             0.09;
        kappa           0.41;
        E               9.8;
        value           uniform 200;
    }
    inlet
    {
        type            compressible::turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.005;
        value           uniform 200;
    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform 200;
        value           uniform 200;
    }
}


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/0/k

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 2 -2 0 0 0 0];

internalField   uniform 1;

boundaryField
{
    Default_Boundary_Region
    {
        type            compressible::kqRWallFunction;
        value           uniform 1;
    }
    inlet
    {
        type            turbulentIntensityKineticEnergyInlet;
        intensity       0.05;
        value           uniform 1;
    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform 1;
        value           uniform 1;
    }
}


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/0/mut

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      mut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [1 -1 -1 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    Default_Boundary_Region
    {
        type            mutkWallFunction;
        Cmu             0.09;
        kappa           0.41;
        E               9.8;
        value           uniform 0;
    }
    inlet
    {
        type            calculated;
        value           uniform 0;
    }
    outlet
    {
        type            calculated;
        value           uniform 0;
    }
}


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/0/p

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [1 -1 -2 0 0 0 0];

internalField   uniform 110000;

boundaryField
{
    Default_Boundary_Region
    {
        type            zeroGradient;
    }
    inlet
    {
        //type            zeroGradient;
        type            mixed;
        refValue        uniform 110000;
        refGradient     uniform 0;
        valueFraction   uniform 0.3;
    }
    outlet
    {
        type            fixedValue;
        value           uniform 110000;

        //type            mixed;
        //refValue        uniform 110000;
        //refGradient     uniform 0;
        //valueFraction   uniform 1;
        //type            transonicOutletPressure;
        //U               U;
        //phi             phi;
        //gamma           1.4;
        //psi             psi;
        //pInf            uniform 110000;
    }
}


// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/0/T

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 1 0 0 0];

internalField   uniform 1000;

boundaryField
{
    Default_Boundary_Region
    {
        type            zeroGradient;
    }

    inlet
    {
        type            fixedValue;
        value           uniform 1000;
    }

    outlet
    {
        type            inletOutlet;
        //type            zeroGradient;
        value           uniform 1000;
        inletValue      uniform 1000;
    }
}

// ************************************************************************* //

 

 

 

 

 

./ToolOpenFoamExample11/0/U

 

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    Default_Boundary_Region
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    inlet
    {
        type            flowRateInletVelocity;
        flowRate        constant 0.5; //0.75;
        value           uniform (0 0 0);
    }
    outlet
    {
        type            inletOutlet;
        value           uniform (0 0 0);
        inletValue      uniform (0 0 0);
    }
}


// ************************************************************************* //

 

 

 

 

 

Go back to Richel Bilderbeek's OpenFOAM page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict

This page has been created by the tool CodeToHtml