Skip to content

Commit afd28df

Browse files
filippo-biondindem0
authored andcommitted
Added OpenFOAM mesh saved in binary format
1 parent c08fe58 commit afd28df

File tree

24 files changed

+389
-0
lines changed

24 files changed

+389
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 2406 |
5+
| \\ / A nd | Website: www.openfoam.com |
6+
| \\/ M anipulation | |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
arch "LSB;label=32;scalar=64";
13+
class polyBoundaryMesh;
14+
location "constant/polyMesh";
15+
object boundary;
16+
}
17+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18+
19+
20+
6
21+
(
22+
inlet
23+
{
24+
type patch;
25+
nFaces 100;
26+
startFace 143280;
27+
}
28+
29+
outlet
30+
{
31+
type patch;
32+
nFaces 100;
33+
startFace 143380;
34+
}
35+
36+
top
37+
{
38+
type wall;
39+
inGroups List<word> 1(wall);
40+
nFaces 420;
41+
startFace 143480;
42+
}
43+
44+
bottom
45+
{
46+
type wall;
47+
inGroups List<word> 1(wall);
48+
nFaces 420;
49+
startFace 143900;
50+
}
51+
52+
obstacle
53+
{
54+
type wall;
55+
inGroups List<word> 1(wall);
56+
nFaces 400;
57+
startFace 144320;
58+
}
59+
60+
frontAndBack
61+
{
62+
type empty;
63+
inGroups List<word> 1(empty);
64+
nFaces 144000;
65+
startFace 144720;
66+
}
67+
68+
)
69+
70+
71+
// ************************************************************************* //
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | foam-extend: Open Source CFD |
4+
| \\ / O peration | Version: 4.0 |
5+
| \\ / A nd | Web: http://www.foam-extend.org |
6+
| \\/ M anipulation | |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class dictionary;
13+
location "constant";
14+
object transportProperties;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
transportModel Newtonian;
18+
19+
nu nu [0 2 -1 0 0 0 0] 1.5e-5;
20+
21+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | foam-extend: Open Source CFD |
4+
| \\ / O peration | Version: 4.0 |
5+
| \\ / A nd | Web: http://www.foam-extend.org |
6+
| \\/ M anipulation | |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class dictionary;
13+
location "constant";
14+
object RASProperties;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
simulationType laminar;
18+
19+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 2406 |
5+
| \\ / A nd | Website: www.openfoam.com |
6+
| \\/ M anipulation | |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format binary;
12+
arch "LSB;label=32;scalar=64";
13+
class volVectorField;
14+
location "0";
15+
object U;
16+
}
17+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18+
19+
dimensions [ 0 1 -1 0 0 0 0 ];
20+
21+
internalField uniform ( 0 0 0 );
22+
23+
boundaryField
24+
{
25+
inlet
26+
{
27+
type fixedValue;
28+
value uniform ( 0.0001 0 0 );
29+
}
30+
outlet
31+
{
32+
type zeroGradient;
33+
}
34+
top
35+
{
36+
type fixedValue;
37+
value uniform ( 0 0 0 );
38+
}
39+
bottom
40+
{
41+
type fixedValue;
42+
value uniform ( 0 0 0 );
43+
}
44+
obstacle
45+
{
46+
type fixedValue;
47+
value uniform ( 0 0 0 );
48+
}
49+
frontAndBack
50+
{
51+
type empty;
52+
}
53+
}
54+
55+
56+
// ************************************************************************* //
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 2406 |
5+
| \\ / A nd | Website: www.openfoam.com |
6+
| \\/ M anipulation | |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format binary;
12+
arch "LSB;label=32;scalar=64";
13+
class volScalarField;
14+
location "0";
15+
object p;
16+
}
17+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18+
19+
dimensions [ 0 2 -2 0 0 0 0 ];
20+
21+
internalField uniform 0;
22+
23+
boundaryField
24+
{
25+
inlet
26+
{
27+
type zeroGradient;
28+
}
29+
outlet
30+
{
31+
type fixedValue;
32+
value uniform 0;
33+
}
34+
top
35+
{
36+
type zeroGradient;
37+
}
38+
bottom
39+
{
40+
type zeroGradient;
41+
}
42+
obstacle
43+
{
44+
type zeroGradient;
45+
}
46+
frontAndBack
47+
{
48+
type empty;
49+
}
50+
}
51+
52+
53+
// ************************************************************************* //
1.65 MB
Binary file not shown.

0 commit comments

Comments
 (0)