Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's OpenFOAM page.

 

 

 

 

 

(OpenFOAM) OpenFoamExample4

 

./ToolOpenFoamExample4/About.txt

 

Could not get this to work

 

 

 

 

 

./ToolOpenFoamExample4/case.foam

 

 

 

 

 

 

./ToolOpenFoamExample4/ToolOpenFoamExample4.bat

 

blockMesh.exe
copy 0\p.org 0\p
setFields.exe
potentialFoam.exe
paraFoam

 

 

 

 

 

./ToolOpenFoamExample4/system/controlDict

 

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}

application     icoFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         1.0;

deltaT          0.1;

writeControl    timeStep;

//Write to file every timestep
writeInterval   1;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

runTimeModifiable yes;

adjustTimeStep  yes;

maxCo           0.5;
maxAlphaCo      0.5;

maxDeltaT       1;

 

 

 

 

 

./ToolOpenFoamExample4/system/fvSchemes

 

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSchemes;
}

ddtSchemes
{
    default         Euler;
}

gradSchemes
{
    default         Gauss linear;
}

divSchemes
{
    div(rho*phi,U)  Gauss limitedLinearV 1;
    div(phi,alpha)  Gauss vanLeer;
    div(phirb,alpha) Gauss interfaceCompression;
    div((muEff*dev(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
    default         Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         corrected;
}

fluxRequired
{
    default         no;
    p_rgh;
    pcorr;
    alpha1;
}

 

 

 

 

 

./ToolOpenFoamExample4/system/fvSolution

 

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSolution;
}

solvers
{
  p
  {
    solver          PCG;
    preconditioner  DIC;
    tolerance       1e-06;
    relTol          0.01;
    pRefValue  0.0;
    pRefPoint (0.01 0.01 0.01);
  }
}

potentialFlow
{
  nNonOrthogonalCorrectors 3;
}

//pRefValue  0;
//pRefCell   0;


//pRefValue  0;
//pRefPoint 0;

//PIMPLE
//{
//  pRefCell   100;
//  pRefValue  0;
//}

//PIMPLE
//{
//  pRefValue  0.0;
//  pRefPoint (0.01 0.01 0.01);
//}

//PIMPLE
//{
//  pRefCell  0;
//}

 

 

 

 

 

./ToolOpenFoamExample4/system/setFieldsDict

 

FoamFile
{
  version     2.0;
  format      ascii;
  class       dictionary;
  location    "system";
  object      setFieldsDict;
}

//The default kinematic pressure is zero
defaultFieldValues
(
  volScalarFieldValue p 0
);

//Create one special region  
regions
(
  //The region has the shape of a box, in this case a cube
  boxToCell
  {
    box (0.45 0.45 0.45) (0.55 0.55 0.55);

    //The kinematic pressure within the box is one
    fieldValues
    (
      volScalarFieldValue p 1
    );
  }
);
  

 

 

 

 

 

./ToolOpenFoamExample4/constant/g

 

FoamFile
{
    version     2.0;
    format      ascii;
    class       uniformDimensionedVectorField;
    location    "constant";
    object      g;
}

dimensions      [0 1 -2 0 0 0 0];
value           ( 0 0.0981 0 );

 

 

 

 

 

./ToolOpenFoamExample4/constant/transportProperties

 

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

phase1
{
    transportModel  Newtonian;
    nu              nu [ 0 2 -1 0 0 0 0 ] 1e-06;
    rho             rho [ 1 -3 0 0 0 0 0 ] 1000;
    CrossPowerLawCoeffs
    {
        nu0             nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
        nuInf           nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
        m               m [ 0 0 1 0 0 0 0 ] 1;
        n               n [ 0 0 0 0 0 0 0 ] 0;
    }

    BirdCarreauCoeffs
    {
        nu0             nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515;
        nuInf           nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
        k               k [ 0 0 1 0 0 0 0 ] 99.6;
        n               n [ 0 0 0 0 0 0 0 ] 0.1003;
    }
}

phase2
{
    transportModel  Newtonian;
    nu              nu [ 0 2 -1 0 0 0 0 ] 1.48e-05;
    rho             rho [ 1 -3 0 0 0 0 0 ] 1;
    CrossPowerLawCoeffs
    {
        nu0             nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
        nuInf           nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
        m               m [ 0 0 1 0 0 0 0 ] 1;
        n               n [ 0 0 0 0 0 0 0 ] 0;
    }

    BirdCarreauCoeffs
    {
        nu0             nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515;
        nuInf           nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
        k               k [ 0 0 1 0 0 0 0 ] 99.6;
        n               n [ 0 0 0 0 0 0 0 ] 0.1003;
    }
}

sigma           sigma [ 1 0 -2 0 0 0 0 ] 0.07;

 

 

 

 

 

./ToolOpenFoamExample4/constant/turbulenceProperties

 

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

simulationType  laminar;

 

 

 

 

 

./ToolOpenFoamExample4/constant/polyMesh/blockMeshDict

 

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

//The unit of the vertices is 1.0 meter
convertToMeters 1.0;

//A cube with the following vertex indices:
//
//   7-----6
//  /|    /|
// 3-----2 |
// | |   | |
// | 4---|-5
// |/    |/
// 0-----1
//
//Each vertex is of the form (x y z)
//
//The local coordinate system is defined by the order in which the vertices are presented in the block definition according to:
//- the axis origin is the first entry in the block definition, vertex 0 in our example;
//- the x direction is described by moving from vertex 0 to vertex 1;
//- the y direction is described by moving from vertex 1 to vertex 2;
//- vertices 0, 1, 2, 3 define the plane z
//- vertex 4 is found by moving from vertex 0 in the z direction;
//- vertices 5,6 and 7 are similarly found by moving in the z direction from vertices 1,2 and 3
vertices
(
    (0 0 0)
    (1 0 0)
    (1 1 0)
    (0 1 0)
    (0 0 1)
    (1 0 1)
    (1 1 1)
    (0 1 1)
);

//Ordered list of vertex labels and mesh size
blocks
(
  hex                   //The shape is always hex, as blocks are always hexahedra
  (0 1 2 3 4 5 6 7)     // vertex numbers
  (10 10 10)            // numbers of cells in each direction
  simpleGrading (1 1 1) // cell expansion ratios
);

//Used to describe arc or spline edges
//Keyword selection | Description    | Additional entries
//- arc             | Circular arc   | Single interpolation point
//- simpleSpline    | Spline curve   | List of interpolation points
//- polyLine        | Set of lines   | List of interpolation points
//- polySpline      | Set of splines | List of interpolation points
//- line            | Straight line  |
edges
(
  //No need to add edge descriptions here, as 'line' is used by default
  //Example for using the arc type:
  // arc 1 5 (0.9 0.5 0.0)
);

//List of patches
patches
(

);

boundary
(
  //There are multiple boundary types:
  //- movingWall:
  //- fixedWalls:
  //- frontAndBack: for two dimensional meshes
  //- inlet
  //- outlet
  //- walls

  fixedWalls
  {
    //There are multiple types:
    //- wall:
    //- patch
    //- cyclic
    type wall;

    //The vertices that make up the six faces of the cube
    //
    //Each block face is defined by a list of 4 vertex numbers.
    //The order in which the vertices are given must be such that,
    //looking from inside the block and starting with any vertex,
    //the face must be traversed in a clockwise direction to define the other vertices.
    faces
    (
      (0 3 2 1)
      (0 4 7 3)
      (1 5 4 0)
      (2 6 5 1)
      (3 7 6 2)
      (4 5 6 7)
    );
  }
);

//List of patches to be merged
mergePatchPairs
(

);

 

 

 

 

 

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

1
(
    defaultFaces
    {
        type            empty;
        nFaces          600;
        startFace       2700;
    }
)

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

 

 

 

 

 

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


3300
(
4(1 12 133 122)
4(11 132 133 12)
4(121 122 133 132)
4(2 13 134 123)
4(12 133 134 13)
4(122 123 134 133)
4(3 14 135 124)
4(13 134 135 14)
4(123 124 135 134)
4(4 15 136 125)
4(14 135 136 15)
4(124 125 136 135)
4(5 16 137 126)
4(15 136 137 16)
4(125 126 137 136)
4(6 17 138 127)
4(16 137 138 17)
4(126 127 138 137)
4(7 18 139 128)
4(17 138 139 18)
4(127 128 139 138)
4(8 19 140 129)
4(18 139 140 19)
4(128 129 140 139)
4(9 20 141 130)
4(19 140 141 20)
4(129 130 141 140)
4(20 141 142 21)
4(130 131 142 141)
4(12 23 144 133)
4(22 143 144 23)
4(132 133 144 143)
4(13 24 145 134)
4(23 144 145 24)
4(133 134 145 144)
4(14 25 146 135)
4(24 145 146 25)
4(134 135 146 145)
4(15 26 147 136)
4(25 146 147 26)
4(135 136 147 146)
4(16 27 148 137)
4(26 147 148 27)
4(136 137 148 147)
4(17 28 149 138)
4(27 148 149 28)
4(137 138 149 148)
4(18 29 150 139)
4(28 149 150 29)
4(138 139 150 149)
4(19 30 151 140)
4(29 150 151 30)
4(139 140 151 150)
4(20 31 152 141)
4(30 151 152 31)
4(140 141 152 151)
4(31 152 153 32)
4(141 142 153 152)
4(23 34 155 144)
4(33 154 155 34)
4(143 144 155 154)
4(24 35 156 145)
4(34 155 156 35)
4(144 145 156 155)
4(25 36 157 146)
4(35 156 157 36)
4(145 146 157 156)
4(26 37 158 147)
4(36 157 158 37)
4(146 147 158 157)
4(27 38 159 148)
4(37 158 159 38)
4(147 148 159 158)
4(28 39 160 149)
4(38 159 160 39)
4(148 149 160 159)
4(29 40 161 150)
[...]
4(1259 1260 1271 1270)
4(1270 1271 1282 1281)
4(1281 1282 1293 1292)
4(1292 1293 1304 1303)
4(1303 1304 1315 1314)
4(1314 1315 1326 1325)
4(1216 1217 1228 1227)
4(1227 1228 1239 1238)
4(1238 1239 1250 1249)
4(1249 1250 1261 1260)
4(1260 1261 1272 1271)
4(1271 1272 1283 1282)
4(1282 1283 1294 1293)
4(1293 1294 1305 1304)
4(1304 1305 1316 1315)
4(1315 1316 1327 1326)
4(1217 1218 1229 1228)
4(1228 1229 1240 1239)
4(1239 1240 1251 1250)
4(1250 1251 1262 1261)
4(1261 1262 1273 1272)
4(1272 1273 1284 1283)
4(1283 1284 1295 1294)
4(1294 1295 1306 1305)
4(1305 1306 1317 1316)
4(1316 1317 1328 1327)
4(1218 1219 1230 1229)
4(1229 1230 1241 1240)
4(1240 1241 1252 1251)
4(1251 1252 1263 1262)
4(1262 1263 1274 1273)
4(1273 1274 1285 1284)
4(1284 1285 1296 1295)
4(1295 1296 1307 1306)
4(1306 1307 1318 1317)
4(1317 1318 1329 1328)
4(1219 1220 1231 1230)
4(1230 1231 1242 1241)
4(1241 1242 1253 1252)
4(1252 1253 1264 1263)
4(1263 1264 1275 1274)
4(1274 1275 1286 1285)
4(1285 1286 1297 1296)
4(1296 1297 1308 1307)
4(1307 1308 1319 1318)
4(1318 1319 1330 1329)
)


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

 

 

 

 

 

./ToolOpenFoamExample4/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: 1331 nCells: 1000 nFaces: 3300 nInternalFaces: 2700";
    location    "constant/polyMesh";
    object      neighbour;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


2700
(
1
10
100
2
11
101
3
12
102
4
13
103
5
14
104
6
15
105
7
16
106
8
17
107
9
18
108
19
109
11
20
110
12
21
111
13
22
112
14
23
113
15
24
114
16
25
115
17
26
116
18
27
117
19
28
118
29
119
21
30
120
22
31
121
23
32
122
24
33
123
25
34
124
26
35
125
[...]
980
972
981
973
982
974
983
975
984
976
985
977
986
978
987
979
988
989
981
990
982
991
983
992
984
993
985
994
986
995
987
996
988
997
989
998
999
991
992
993
994
995
996
997
998
999
)


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

 

 

 

 

 

./ToolOpenFoamExample4/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: 1331 nCells: 1000 nFaces: 3300 nInternalFaces: 2700";
    location    "constant/polyMesh";
    object      owner;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


3300
(
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
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
20
20
20
21
21
21
22
22
22
23
23
23
24
24
24
25
25
25
[...]
945
955
965
975
985
995
906
916
926
936
946
956
966
976
986
996
907
917
927
937
947
957
967
977
987
997
908
918
928
938
948
958
968
978
988
998
909
919
929
939
949
959
969
979
989
999
)


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

 

 

 

 

 

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


1331
(
(0 0 0)
(0.1 0 0)
(0.2 0 0)
(0.3 0 0)
(0.4 0 0)
(0.5 0 0)
(0.6 0 0)
(0.7 0 0)
(0.8 0 0)
(0.9 0 0)
(1 0 0)
(0 0.1 0)
(0.1 0.1 0)
(0.2 0.1 0)
(0.3 0.1 0)
(0.4 0.1 0)
(0.5 0.1 0)
(0.6 0.1 0)
(0.7 0.1 0)
(0.8 0.1 0)
(0.9 0.1 0)
(1 0.1 0)
(0 0.2 0)
(0.1 0.2 0)
(0.2 0.2 0)
(0.3 0.2 0)
(0.4 0.2 0)
(0.5 0.2 0)
(0.6 0.2 0)
(0.7 0.2 0)
(0.8 0.2 0)
(0.9 0.2 0)
(1 0.2 0)
(0 0.3 0)
(0.1 0.3 0)
(0.2 0.3 0)
(0.3 0.3 0)
(0.4 0.3 0)
(0.5 0.3 0)
(0.6 0.3 0)
(0.7 0.3 0)
(0.8 0.3 0)
(0.9 0.3 0)
(1 0.3 0)
(0 0.4 0)
(0.1 0.4 0)
(0.2 0.4 0)
(0.3 0.4 0)
(0.4 0.4 0)
(0.5 0.4 0)
(0.6 0.4 0)
(0.7 0.4 0)
(0.8 0.4 0)
(0.9 0.4 0)
(1 0.4 0)
(0 0.5 0)
(0.1 0.5 0)
(0.2 0.5 0)
(0.3 0.5 0)
(0.4 0.5 0)
(0.5 0.5 0)
(0.6 0.5 0)
(0.7 0.5 0)
(0.8 0.5 0)
(0.9 0.5 0)
(1 0.5 0)
(0 0.6 0)
(0.1 0.6 0)
(0.2 0.6 0)
(0.3 0.6 0)
(0.4 0.6 0)
(0.5 0.6 0)
(0.6 0.6 0)
(0.7 0.6 0)
(0.8 0.6 0)
(0.9 0.6 0)
(1 0.6 0)
[...]
(0.9 0.6 1)
(1 0.6 1)
(0 0.7 1)
(0.1 0.7 1)
(0.2 0.7 1)
(0.3 0.7 1)
(0.4 0.7 1)
(0.5 0.7 1)
(0.6 0.7 1)
(0.7 0.7 1)
(0.8 0.7 1)
(0.9 0.7 1)
(1 0.7 1)
(0 0.8 1)
(0.1 0.8 1)
(0.2 0.8 1)
(0.3 0.8 1)
(0.4 0.8 1)
(0.5 0.8 1)
(0.6 0.8 1)
(0.7 0.8 1)
(0.8 0.8 1)
(0.9 0.8 1)
(1 0.8 1)
(0 0.9 1)
(0.1 0.9 1)
(0.2 0.9 1)
(0.3 0.9 1)
(0.4 0.9 1)
(0.5 0.9 1)
(0.6 0.9 1)
(0.7 0.9 1)
(0.8 0.9 1)
(0.9 0.9 1)
(1 0.9 1)
(0 1 1)
(0.1 1 1)
(0.2 1 1)
(0.3 1 1)
(0.4 1 1)
(0.5 1 1)
(0.6 1 1)
(0.7 1 1)
(0.8 1 1)
(0.9 1 1)
(1 1 1)
)


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

 

 

 

 

 

./ToolOpenFoamExample4/0/p

 

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

dimensions      [1 2 0 0 0 0 0];

internalField   nonuniform List<scalar>
1000
(
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
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
)
;

boundaryField
{
    defaultFaces
    {
        type            empty;
    }
}


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

 

 

 

 

 

./ToolOpenFoamExample4/0/p.org

 

FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      alpha;
}

//kg per square meter
// # property           SI unit
// 0 mass               kg
// 1 length             m
// 2 time               s
// 3 temperature        K
// 4 quantity           kg.mole
// 5 current            A
// 6 luminous intensity cd
dimensions      [1 2 0 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    leftWall
    {
        type            zeroGradient;
    }

    rightWall
    {
        type            zeroGradient;
    }

    lowerWall
    {
        type            zeroGradient;
    }

    atmosphere
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }

    defaultFaces
    {
        type            empty;
    }
}

 

 

 

 

 

./ToolOpenFoamExample4/0/p_rgh

 

FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      p_rgh;
}

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

internalField   uniform 0;

boundaryField
{
    leftWall
    {
        type            fixedFluxPressure;
        value           uniform 0;
    }

    rightWall
    {
        type            fixedFluxPressure;
        value           uniform 0;
    }

    lowerWall
    {
        type            fixedFluxPressure;
        value           uniform 0;
    }

    atmosphere
    {
        type            totalPressure;
        p0              uniform 0;
        U               U;
        phi             phi;
        rho             rho;
        psi             none;
        gamma           1;
        value           uniform 0;
    }

    defaultFaces
    {
        type            empty;
    }
}

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

 

 

 

 

 

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

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

internalField   uniform (0 0 0);

boundaryField
{
    leftWall
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    rightWall
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    lowerWall
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    atmosphere
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
    defaultFaces
    {
        type            empty;
    }
}


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

 

 

 

 

 

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