Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's OpenFOAM page.

 

 

 

 

 

(OpenFOAM) OpenFoamExample12

 

./ToolOpenFoamExample12/About.txt

 

Originally copied from from C:\cfd\blueCFD-SingleCore-2.1\OpenFOAM-2.1\tutorials\compressible\rhoSimplecFoam\squareBend
Changed shape and setup

 

 

 

 

 

./ToolOpenFoamExample12/case.foam

 

 

 

 

 

 

./ToolOpenFoamExample12/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

 

 

 

 

 

./ToolOpenFoamExample12/CreateMesh.gnumeric

 

' R\{o8B+I-^Hr㦻= Ebl^d'y짿!)ɲLۤm`Sw]!g~b:gFm:,\`6o_O>D-j8JA0ᐸ4{fBĩr*~}u9 A;+"w^Q׉l jF`\{q6T2k4'fg,eGqI#U}Io6ƝʗR8#I1'Պ?!#7bΑ'~;-*Iڶ.b4Ƭ;ѣ}gӾKGcd$Qnҝ])W>>".pp$ABj0hQ'" jnq- IffYoSRƓT[>f3D%
I*͋D)&bB4UJm28l +6rf myl-t`YճP 5[UǗR6B!q@h?`&-u̘1'N|>
`] Q0`Ǘ1k@ tYGQ> "OxmI H U wCeלd/ ./Ӯ¦]ZjfSZb)g\dom$$Еi)X)|3/aWL0fj(qJ=p捸9/f!hqY(IF$_ ImcHBn'y >כYywy|yuC<^ $b @3э7M12NUNZЯSeA験ϟDiO^+oC#pp]잝c.d4":GlYT9LVJH" ? D3s /GXNa ap 1Xٲa1߆[@`UF™fhӑ㌡nS0 +p<R8R'('
`yIЅ=F8}@|YR$"@X?O4Qh1PbVx6\:fαd
! ^L_a,`׏bȋ"a0a:$NofyDH7`MVeyBƟ;:i${Ns {lcM'pYHI<3z..R@e]/ru{e9̸8@$=#xkǻO=zNDK$S/h6@P@=>(l{aFg;.O+<a3{"`/]&`5
gE1Ŗ E-i7/dj'_ ɘ߹sfcWʐ+mljugl7*tt`혧ecUzz\v٭VY`̿tE(;1N3;'eUald,5nhӯ8^889f,uB'BR@)r3*39,^-jZ tJ8~6>vq2 #eꊖ͸r>d$YQh:e+ gnrK @rkn59?4 )qFttIgHKGhV`IJ7u^NU?+V?}<XȞd@'0Я{eateiWaOLgG*XV,u 瑬M0-r.eHjr+/jV5ZO%e=*5Xy rz.Zîai7J U=೚|&Ĭ&Gkƚ*5&՜UdN >1Fp߄7!c '(Cu=z. _vӾ! gBjoH )kHڜ²z(5:}9$UN}ho*O1tX`֒gɌݪ[xʲ`%Lpdz&BLuFfy%D-^%f#,t7تTLr-IkUW$뵔EJARZvBUA\VX'i2#~ WcDZWcMh,cT#ƃOݧk Or>b/>b߷HeeO^nZU [RG[rr[*s
1V<Ͳs-TѦ0bReQMAY%d%W6S * J `VfE`*9"PcP%0`.Q,WUrHƠ fmK`to
b 5e0[ FLirU%!j `6fC`6ul%0`iHvвLU$;HQbP3cLTsq5e 榵F
3*[-CH^-x
V@HBRt+ it+ [!
mBڴBҭnT!
-?O8)|2[]9ot=:0r?$ *?и<ev>x  v7x wJ"W;Ĕ_JΨ۞\fL:**⁵.b}ELXvwwwww5?iWwL;;Ә~^V}r*OSΗW^SlZd$hl&%dsl]K6w&5_Ț.O19:;,oU

 

 

 

 

 

./ToolOpenFoamExample12/ToolOpenFoamExample12.bat

 

blockMesh.exe
checkMesh.exe
rhoSimplecFoam.exe
//paraFoam

 

 

 

 

 

./ToolOpenFoamExample12/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         10.0;

deltaT          1.0;

writeControl    timeStep;

writeInterval   1;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

graphFormat     raw;

runTimeModifiable true;


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

 

 

 

 

 

./ToolOpenFoamExample12/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;
}

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

 

 

 

 

 

./ToolOpenFoamExample12/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;
    convergence     0.01;
}

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

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

 

 

 

 

 

./ToolOpenFoamExample12/constant/RASProperties

 

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      RASProperties;
}

RASModel        kEpsilon;

turbulence      on;

printCoeffs     on;

 

 

 

 

 

./ToolOpenFoamExample12/constant/thermophysicalProperties

 

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;
    }
}

 

 

 

 

 

./ToolOpenFoamExample12/constant/turbulenceProperties

 

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      turbulenceProperties;
}

simulationType  RASModel;

 

 

 

 

 

./ToolOpenFoamExample12/constant/polyMesh/blockMeshDict

 

// The object is a bit like a hovercraft:
// high pressure is supplied at the top inlet tube,
// which then flows below the object
//
//
//Isometric sketch:
//
//
//         +---+
//        /   /|----+
//       +---+ |   /|
//      /|   | +  / |
//     / |   |/  /  +
//    /  +---+  /  /
//   /         /  /
//  +---------+  /
//  |         | /
//  +---------+

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}

convertToMeters 1.0;

//Isometric sketch:
//
//
//         3---0
//        /   /|----12
//       2---1 |   /|
//      /|   | 4  / |
//     / |   |/  /  16
//    /  6---5  /  /
//   /         /  /
// 14---------13 /
//  |         | /
// 18---------17
//
//
//Side:
//
//    +--+     top layer
//    |  |
// +--+--+--+  middle layer
// |        |
// +--------+  bottom layer
//
//Layers:
//
//Top layer:
//
//  
//  
//    3--0  
//    |  |  
//    |  |  
//    2--1  
//  
//  
//
//
//Middle layer:
//
// 15------12
// |        |
// |  7--4  |
// |  |  |  |
// |  |  |  |
// |  6--5  |
// |        |
// 14------13
//
//Bottom layer:
//
// 19------16
// |        |
// | 11--8  |
// |  |  |  |
// |  |  |  |
// | 10--9  |
// |        |
// 18------17

vertices
(
  ( 1  1  2) // 0
  ( 1 -1  2) // 1
  (-1 -1  2) // 2
  (-1  1  2) // 3

  ( 1  1  0) // 4
  ( 1 -1  0) // 5
  (-1 -1  0) // 6
  (-1  1  0) // 7

[...]
(6 7 15 14)
            //bottom of outlet back
(8 11 19 16)
            //bottom of outlet right
(8 16 17 9)
            //bottom of outlet front
(9 17 18 10)
            //bottom of outlet left
(10 18 19 11)
            //bottom of below inlet
(8 9 10 11)
        );
    }
    inlet
    {
        type patch;
        faces
        (
//Top
            (0 3 2 1)
//Bottom
//(4 7 6 5)
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (12 13 17 16)
            (13 14 18 17)
        );
    }

    sides
    {
        type symmetryPlane;
//type wall;
        faces
        (
            (12 16 19 15)
            (14 15 19 18)
        );
    }
);

mergePatchPairs
(

);

 

 

 

 

 

./ToolOpenFoamExample12/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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

4
(
    Default_Boundary_Region
    {
        type            wall;
        nFaces          1300;
        startFace       17100;
    }
    inlet
    {
        type            patch;
        nFaces          100;
        startFace       18400;
    }
    outlet
    {
        type            patch;
        nFaces          200;
        startFace       18500;
    }
    sides
    {
        type            symmetryPlane;
        nFaces          200;
        startFace       18700;
    }
)

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

 

 

 

 

 

./ToolOpenFoamExample12/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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


18900
(
4(1 12 133 122)
4(11 132 133 12)
4(121 122 133 132)
4(0 11 12 1)
4(2 13 134 123)
4(12 133 134 13)
4(122 123 134 133)
4(1 12 13 2)
4(3 14 135 124)
4(13 134 135 14)
4(123 124 135 134)
4(2 13 14 3)
4(4 15 136 125)
4(14 135 136 15)
4(124 125 136 135)
4(3 14 15 4)
4(5 16 137 126)
4(15 136 137 16)
4(125 126 137 136)
4(4 15 16 5)
4(6 17 138 127)
4(16 137 138 17)
4(126 127 138 137)
4(5 16 17 6)
4(7 18 139 128)
4(17 138 139 18)
4(127 128 139 138)
4(6 17 18 7)
4(8 19 140 129)
4(18 139 140 19)
4(128 129 140 139)
4(7 18 19 8)
4(9 20 141 130)
4(19 140 141 20)
4(129 130 141 140)
4(8 19 20 9)
4(20 141 142 21)
4(130 131 142 141)
4(9 20 21 10)
4(12 23 144 133)
4(22 143 144 23)
4(132 133 144 143)
4(11 22 23 12)
4(13 24 145 134)
4(23 144 145 24)
4(133 134 145 144)
4(12 23 24 13)
4(14 25 146 135)
4(24 145 146 25)
4(134 135 146 145)
4(13 24 25 14)
4(15 26 147 136)
4(25 146 147 26)
4(135 136 147 146)
4(14 25 26 15)
4(16 27 148 137)
4(26 147 148 27)
4(136 137 148 147)
4(15 26 27 16)
4(17 28 149 138)
4(27 148 149 28)
4(137 138 149 148)
4(16 27 28 17)
4(18 29 150 139)
4(28 149 150 29)
4(138 139 150 149)
4(17 28 29 18)
4(19 30 151 140)
4(29 150 151 30)
4(139 140 151 150)
4(18 29 30 19)
4(20 31 152 141)
4(30 151 152 31)
4(140 141 152 151)
4(19 30 31 20)
4(31 152 153 32)
4(141 142 153 152)
[...]
4(6431 6521 6531 6441)
4(6441 6531 6541 6451)
4(6451 6541 6551 6461)
4(6461 6551 6561 6471)
4(6471 6561 6571 6481)
4(6481 6571 3300 3190)
4(5451 5551 6581 6491)
4(6491 6581 6591 6501)
4(6501 6591 6601 6511)
4(6511 6601 6611 6521)
4(6521 6611 6621 6531)
4(6531 6621 6631 6541)
4(6541 6631 6641 6551)
4(6551 6641 6651 6561)
4(6561 6651 6661 6571)
4(6571 6661 3410 3300)
4(5551 5651 6671 6581)
4(6581 6671 6681 6591)
4(6591 6681 6691 6601)
4(6601 6691 6701 6611)
4(6611 6701 6711 6621)
4(6621 6711 6721 6631)
4(6631 6721 6731 6641)
4(6641 6731 6741 6651)
4(6651 6741 6751 6661)
4(6661 6751 3520 3410)
4(5651 5751 6761 6671)
4(6671 6761 6771 6681)
4(6681 6771 6781 6691)
4(6691 6781 6791 6701)
4(6701 6791 6801 6711)
4(6711 6801 6811 6721)
4(6721 6811 6821 6731)
4(6731 6821 6831 6741)
4(6741 6831 6841 6751)
4(6751 6841 3630 3520)
4(5751 5851 6851 6761)
4(6761 6851 6861 6771)
4(6771 6861 6871 6781)
4(6781 6871 6881 6791)
4(6791 6881 6891 6801)
4(6801 6891 6901 6811)
4(6811 6901 6911 6821)
4(6821 6911 6921 6831)
4(6831 6921 6931 6841)
4(6841 6931 3740 3630)
)


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

 

 

 

 

 

./ToolOpenFoamExample12/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: 6941 nCells: 6000 nFaces: 18900 nInternalFaces: 17100";
    location    "constant/polyMesh";
    object      neighbour;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


17100
(
1
10
100
1900
2
11
101
1901
3
12
102
1902
4
13
103
1903
5
14
104
1904
6
15
105
1905
7
16
106
1906
8
17
107
1907
9
18
108
1908
19
109
1909
11
20
110
1910
12
21
111
1911
13
22
112
1912
14
23
113
1913
15
24
114
1914
16
25
115
1915
17
26
116
1916
18
27
117
1917
19
28
118
1918
29
[...]
5980
5972
5981
5973
5982
5974
5983
5975
5984
5976
5985
5977
5986
5978
5987
5979
5988
5989
5981
5990
5982
5991
5983
5992
5984
5993
5985
5994
5986
5995
5987
5996
5988
5997
5989
5998
5999
5991
5992
5993
5994
5995
5996
5997
5998
5999
)


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

 

 

 

 

 

./ToolOpenFoamExample12/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: 6941 nCells: 6000 nFaces: 18900 nInternalFaces: 17100";
    location    "constant/polyMesh";
    object      owner;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


18900
(
0
0
0
0
1
1
1
1
2
2
2
2
3
3
3
3
4
4
4
4
5
5
5
5
6
6
6
6
7
7
7
7
8
8
8
8
9
9
9
10
10
10
10
11
11
11
11
12
12
12
12
13
13
13
13
14
14
14
14
15
15
15
15
16
16
16
16
17
17
17
17
18
18
18
18
19
[...]
5540
5550
5560
5570
5580
5590
5600
5610
5620
5630
5640
5650
5660
5670
5680
5690
5700
5710
5720
5730
5740
5750
5760
5770
5780
5790
5800
5810
5820
5830
5840
5850
5860
5870
5880
5890
5900
5910
5920
5930
5940
5950
5960
5970
5980
5990
)


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

 

 

 

 

 

./ToolOpenFoamExample12/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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


6941
(
(-1 -1 0)
(-0.8 -1 0)
(-0.6 -1 0)
(-0.4 -1 0)
(-0.2 -1 0)
(0 -1 0)
(0.2 -1 0)
(0.4 -1 0)
(0.6 -1 0)
(0.8 -1 0)
(1 -1 0)
(-1 -0.8 0)
(-0.8 -0.8 0)
(-0.6 -0.8 0)
(-0.4 -0.8 0)
(-0.2 -0.8 0)
(4.630446778e-019 -0.8 0)
(0.2 -0.8 0)
(0.4 -0.8 0)
(0.6 -0.8 0)
(0.8 -0.8 0)
(1 -0.8 0)
(-1 -0.6 0)
(-0.8 -0.6 0)
(-0.6 -0.6 0)
(-0.4 -0.6 0)
(-0.2 -0.6 0)
(1.849919957e-018 -0.6 0)
(0.2 -0.6 0)
(0.4 -0.6 0)
(0.6 -0.6 0)
(0.8 -0.6 0)
(1 -0.6 0)
(-1 -0.4 0)
(-0.8 -0.4 0)
(-0.6 -0.4 0)
(-0.4 -0.4 0)
(-0.2 -0.4 0)
(-2.773750558e-018 -0.4 0)
(0.2 -0.4 0)
(0.4 -0.4 0)
(0.6 -0.4 0)
(0.8 -0.4 0)
(1 -0.4 0)
(-1 -0.2 0)
(-0.8 -0.2 0)
(-0.6 -0.2 0)
(-0.4 -0.2 0)
(-0.2 -0.2 0)
(0 -0.2 0)
(0.2 -0.2 0)
(0.4 -0.2 0)
(0.6 -0.2 0)
(0.8 -0.2 0)
(1 -0.2 0)
(-1 0 0)
(-0.8 4.607859233e-019 0)
(-0.6 1.852178711e-018 0)
(-0.4 -2.773750558e-018 0)
(-0.2 0 0)
(0 0 0)
(0.2 0 0)
(0.4 0 0)
(0.6 0 0)
(0.8 0 0)
(1 0 0)
(-1 0.2 0)
(-0.8 0.2 0)
(-0.6 0.2 0)
(-0.4 0.2 0)
(-0.2 0.2 0)
(0 0.2 0)
(0.2 0.2 0)
(0.4 0.2 0)
(0.6 0.2 0)
(0.8 0.2 0)
(1 0.2 0)
[...]
(-2.2 3.700743415e-017 0)
(-2 0 0)
(-1.8 -3.700743415e-017 0)
(-1.6 0 0)
(-1.4 0 0)
(-1.2 0 0)
(-3 0.6 0)
(-2.8 0.56 0)
(-2.6 0.52 0)
(-2.4 0.48 0)
(-2.2 0.44 0)
(-2 0.4 0)
(-1.8 0.36 0)
(-1.6 0.32 0)
(-1.4 0.28 0)
(-1.2 0.24 0)
(-3 1.2 0)
(-2.8 1.12 0)
(-2.6 1.04 0)
(-2.4 0.96 0)
(-2.2 0.88 0)
(-2 0.8 0)
(-1.8 0.72 0)
(-1.6 0.64 0)
(-1.4 0.56 0)
(-1.2 0.48 0)
(-3 1.8 0)
(-2.8 1.68 0)
(-2.6 1.56 0)
(-2.4 1.44 0)
(-2.2 1.32 0)
(-2 1.2 0)
(-1.8 1.08 0)
(-1.6 0.96 0)
(-1.4 0.84 0)
(-1.2 0.72 0)
(-3 2.4 0)
(-2.8 2.24 0)
(-2.6 2.08 0)
(-2.4 1.92 0)
(-2.2 1.76 0)
(-2 1.6 0)
(-1.8 1.44 0)
(-1.6 1.28 0)
(-1.4 1.12 0)
(-1.2 0.96 0)
)


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

 

 

 

 

 

./ToolOpenFoamExample12/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;
    }
    //Modified by Richel Bilderbeek
    sides
    {
        type            symmetryPlane;
    }
}


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

 

 

 

 

 

./ToolOpenFoamExample12/0/cellToRegion

 

/*--------------------------------*- 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;
    location    "0";
    object      cellToRegion;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


16000
(
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
[...]
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
)


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

 

 

 

 

 

./ToolOpenFoamExample12/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;
    }
    //Modified by Richel Bilderbeek
    sides
    {
        type            symmetryPlane;
    }
}


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

 

 

 

 

 

./ToolOpenFoamExample12/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;
    }
    //Modified by Richel Bilderbeek
    sides
    {
        type            symmetryPlane;
    }
}


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

 

 

 

 

 

./ToolOpenFoamExample12/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;
    }
    //Modified by Richel Bilderbeek
    sides
    {
        type            symmetryPlane;
    }
}


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

 

 

 

 

 

./ToolOpenFoamExample12/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 100000;

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

        //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;
    }
    //Modified by Richel Bilderbeek
    sides
    {
        type            symmetryPlane;
    }
}


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

 

 

 

 

 

./ToolOpenFoamExample12/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;
    }
    //Modified by Richel Bilderbeek
    sides
    {
        type            symmetryPlane;
    }
}

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

 

 

 

 

 

./ToolOpenFoamExample12/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);
    }
//Modified by Richel Bilderbeek
    sides
    {
        type            symmetryPlane;
    }
}


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

 

 

 

 

 

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