Skip to content

Commit ec89956

Browse files
committed
Fix a bug caused by .gitignore
1 parent b6d4f27 commit ec89956

File tree

13 files changed

+857
-0
lines changed

13 files changed

+857
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ postProcessing
55
processor*
66
[0-9]*
77
[0-9]*.[0-9]*
8+
!0
89
!0.org
910
!0.orig
1011
*.eMesh

basicProgrammingTutorials/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ processor*
1111
[0-9]*.[0-9]*
1212
!0.org
1313
!0.orig
14+
!0
1415
*.eMesh
1516
polyMesh/
1617
*.OpenFOAM
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 3.0.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+
object U;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 1 -1 0 0 0 0];
18+
19+
internalField uniform (0 0 0);
20+
21+
boundaryField
22+
{
23+
movingWall
24+
{
25+
type fixedValue;
26+
value uniform (1 0 0);
27+
}
28+
29+
fixedWalls
30+
{
31+
type fixedValue;
32+
value uniform (0 0 0);
33+
}
34+
35+
frontAndBack
36+
{
37+
type empty;
38+
}
39+
}
40+
41+
// ************************************************************************* //
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 3.0.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+
object p;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 2 -2 0 0 0 0];
18+
19+
internalField uniform 0;
20+
21+
boundaryField
22+
{
23+
movingWall
24+
{
25+
type zeroGradient;
26+
}
27+
28+
fixedWalls
29+
{
30+
type zeroGradient;
31+
}
32+
33+
frontAndBack
34+
{
35+
type empty;
36+
}
37+
}
38+
39+
// ************************************************************************* //
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 3.0.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+
object U;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 1 -1 0 0 0 0];
18+
19+
internalField uniform (0 0 0);
20+
21+
boundaryField
22+
{
23+
movingWall
24+
{
25+
type fixedValue;
26+
value uniform (1 0 0);
27+
}
28+
29+
fixedWalls
30+
{
31+
type fixedValue;
32+
value uniform (0 0 0);
33+
}
34+
35+
frontAndBack
36+
{
37+
type empty;
38+
}
39+
}
40+
41+
// ************************************************************************* //
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 3.0.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+
object p;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 2 -2 0 0 0 0];
18+
19+
internalField uniform 0;
20+
21+
boundaryField
22+
{
23+
movingWall
24+
{
25+
type zeroGradient;
26+
}
27+
28+
fixedWalls
29+
{
30+
type zeroGradient;
31+
}
32+
33+
frontAndBack
34+
{
35+
type empty;
36+
}
37+
}
38+
39+
// ************************************************************************* //
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 3.0.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+
object U;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 1 -1 0 0 0 0];
18+
19+
internalField uniform (0 0 0);
20+
21+
boundaryField
22+
{
23+
movingWall
24+
{
25+
type fixedValue;
26+
value uniform (1 0 0);
27+
}
28+
29+
fixedWalls
30+
{
31+
type fixedValue;
32+
value uniform (0 0 0);
33+
}
34+
35+
frontAndBack
36+
{
37+
type empty;
38+
}
39+
}
40+
41+
// ************************************************************************* //
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 3.0.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+
object p;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 2 -2 0 0 0 0];
18+
19+
internalField uniform 0;
20+
21+
boundaryField
22+
{
23+
movingWall
24+
{
25+
type zeroGradient;
26+
}
27+
28+
fixedWalls
29+
{
30+
type zeroGradient;
31+
}
32+
33+
frontAndBack
34+
{
35+
type empty;
36+
}
37+
}
38+
39+
// ************************************************************************* //
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 3.0.0 |
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+
object U;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 1 -1 0 0 0 0];
18+
19+
internalField uniform (1 1 0);
20+
21+
boundaryField
22+
{
23+
"(lower|upper|left|right)"
24+
{
25+
type fixedValue;
26+
value $internalField;
27+
}
28+
29+
frontAndBack
30+
{
31+
type empty;
32+
}
33+
}
34+
35+
// ************************************************************************* //
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 3.0.0 |
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+
object beta;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
// Make this a dimensionless scalar
18+
dimensions [0 0 0 0 0 0 0];
19+
20+
internalField uniform 0;
21+
22+
boundaryField
23+
{
24+
left
25+
{
26+
type fixedValue;
27+
value uniform 1;
28+
}
29+
30+
lower
31+
{
32+
type fixedValue;
33+
value uniform 0;
34+
}
35+
36+
"(upper|right)"
37+
{
38+
type zeroGradient;
39+
}
40+
41+
frontAndBack
42+
{
43+
type empty;
44+
}
45+
}
46+
47+
// ************************************************************************* //

0 commit comments

Comments
 (0)