Skip to content

Commit fd34539

Browse files
committed
first commit of recommit of reset repo
0 parents  commit fd34539

File tree

423 files changed

+50535
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

423 files changed

+50535
-0
lines changed

Axisymmetric2D/README

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Axisymmetric 2D Simulation in OpenFOAM
2+
3+
All code can be found at: https://github.com/lordvon/OpenFOAM_Tutorials/tree/master/Axisymmetric2D
4+
5+
DESCRIPTION:
6+
Here we will do a simple 2D axisymmetric simulation of a donut shape in freestream. The 'wedge' boundary condition will be introduced and details on setting up an axisymmetric case will be shown.
7+
8+
OUTLINE:
9+
-Use rotational extrude in Gmsh to create a wedge shape.
10+
-Convert the mesh and change the boundary file.
11+
-Change the write format in system/controlDict to 'binary' to prevent errors.
12+
-Run the simulation and view post-processed results.
13+
14+
COMMANDS:
15+
gmsh mesh/main.geo -3 -o test.msh
16+
gmshToFoam test.msh -case case
17+
# Modify boundary file
18+
pimpleFoam
19+
20+
This tutorial was run successfully on:
21+
-Ubuntu 14.04 64-bit
22+
-OpenFOAM 2.3.1
23+
-Gmsh 2.9.3
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
K 25
2+
svn:wc:ra_dav:version-url
3+
V 98
4+
/svnroot/openfoam-extend/!svn/ver/1160/trunk/Core/OpenFOAM-1.5-dev/tutorials/icoDyMFoam/mixerGgi/0
5+
END
6+
p
7+
K 25
8+
svn:wc:ra_dav:version-url
9+
V 100
10+
/svnroot/openfoam-extend/!svn/ver/1160/trunk/Core/OpenFOAM-1.5-dev/tutorials/icoDyMFoam/mixerGgi/0/p
11+
END
12+
U
13+
K 25
14+
svn:wc:ra_dav:version-url
15+
V 100
16+
/svnroot/openfoam-extend/!svn/ver/1160/trunk/Core/OpenFOAM-1.5-dev/tutorials/icoDyMFoam/mixerGgi/0/U
17+
END

Axisymmetric2D/case/0/.svn/entries

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
10
2+
3+
dir
4+
1824
5+
https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev/tutorials/icoDyMFoam/mixerGgi/0
6+
https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend
7+
8+
9+
10+
2009-04-02T10:19:15.967477Z
11+
1160
12+
hjasak
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
e4e07f05-0c2f-0410-a05a-b8ba57e0c909
28+
29+
p
30+
file
31+
32+
33+
34+
35+
2010-09-12T03:25:12.586382Z
36+
dd2b863de322b1d9c35faef303f89f85
37+
2009-04-02T10:19:15.967477Z
38+
1160
39+
hjasak
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
1312
62+
63+
U
64+
file
65+
66+
67+
68+
69+
2010-09-12T03:25:12.586382Z
70+
c1b8734ca81431daedfa5badc1f03002
71+
2009-04-02T10:19:15.967477Z
72+
1160
73+
hjasak
74+
75+
76+
77+
78+
79+
80+
81+
82+
83+
84+
85+
86+
87+
88+
89+
90+
91+
92+
93+
94+
95+
1416
96+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 1.5-dev |
5+
| \\ / A nd | Web: http://www.OpenFOAM.org |
6+
| \\/ M anipulation | |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volVectorField;
13+
location "0";
14+
object U;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 1 -1 0 0 0 0];
19+
20+
internalField uniform (0 0 0);
21+
22+
boundaryField
23+
{
24+
impellerWall
25+
{
26+
type movingWallVelocity;
27+
value uniform (0 0 0);
28+
}
29+
baffleWall
30+
{
31+
type fixedValue;
32+
value uniform (0 0 0);
33+
}
34+
insideSlider
35+
{
36+
type ggi;
37+
value uniform (0 0 0);
38+
}
39+
outsideSlider
40+
{
41+
type ggi;
42+
value uniform (0 0 0);
43+
}
44+
defaultFaces
45+
{
46+
type empty;
47+
}
48+
}
49+
50+
51+
// ************************************************************************* //
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 1.5-dev |
5+
| \\ / A nd | Web: http://www.OpenFOAM.org |
6+
| \\/ M anipulation | |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volScalarField;
13+
location "0";
14+
object p;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 2 -2 0 0 0 0];
19+
20+
internalField uniform 0;
21+
22+
boundaryField
23+
{
24+
impellerWall
25+
{
26+
type zeroGradient;
27+
}
28+
baffleWall
29+
{
30+
type zeroGradient;
31+
}
32+
insideSlider
33+
{
34+
type ggi;
35+
value uniform 0;
36+
}
37+
outsideSlider
38+
{
39+
type ggi;
40+
value uniform 0;
41+
}
42+
defaultFaces
43+
{
44+
type empty;
45+
}
46+
}
47+
48+
49+
// ************************************************************************* //

Axisymmetric2D/case/0/U

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 2.3.1 |
5+
| \\ / A nd | Web: www.OpenFOAM.org |
6+
| \\/ M anipulation | |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volVectorField;
13+
location "0";
14+
object U;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 1 -1 0 0 0 0];
19+
20+
internalField uniform (0 -10 0);
21+
22+
boundaryField
23+
{
24+
tunnel
25+
{
26+
type slip;
27+
}
28+
outlet
29+
{
30+
type inletOutlet;
31+
inletValue uniform (0 0 0);
32+
value uniform (0 -10 0);
33+
}
34+
inlet
35+
{
36+
type fixedValue;
37+
value uniform (0 -10 0);
38+
}
39+
ring
40+
{
41+
type fixedValue;
42+
value uniform (0 0 0);
43+
}
44+
wedge0
45+
{
46+
type wedge;
47+
}
48+
wedge1
49+
{
50+
type wedge;
51+
}
52+
}
53+
54+
55+
// ************************************************************************* //

Axisymmetric2D/case/0/epsilon

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 2.3.1 |
5+
| \\ / A nd | Web: www.OpenFOAM.org |
6+
| \\/ M anipulation | |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volScalarField;
13+
location "0";
14+
object epsilon;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 2 -3 0 0 0 0];
19+
20+
internalField uniform 0.000765;
21+
22+
boundaryField
23+
{
24+
tunnel
25+
{
26+
type slip;
27+
}
28+
outlet
29+
{
30+
type inletOutlet;
31+
inletValue uniform 0.000765;
32+
value uniform 0.000765;
33+
}
34+
inlet
35+
{
36+
type fixedValue;
37+
value uniform 0.000765;
38+
}
39+
ring
40+
{
41+
type epsilonWallFunction;
42+
value uniform 0;
43+
}
44+
wedge0
45+
{
46+
type wedge;
47+
}
48+
wedge1
49+
{
50+
type wedge;
51+
}
52+
}
53+
54+
55+
// ************************************************************************* //

0 commit comments

Comments
 (0)