Skip to content

Commit b6a4bc5

Browse files
authored
Merge pull request #589 from firelab/testFoamUpgrade-updated
foam versioning update Just finished testing on the Windows build, worked fine. Looks like it is good to go. Also, with these updates, should finally be good to go to upgrade from Ubuntu 20.04 to Ubuntu 22.04 with proper foam versioning on the various server machines that we have.
2 parents 5cb5142 + e7d0c66 commit b6a4bc5

48 files changed

Lines changed: 5163 additions & 40 deletions

Some content is hidden

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

data/ninjafoam/9/0/T

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 8
6+
\\/ M anipulation |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volScalarField;
13+
location "0";
14+
object T;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 0 0 1 0 0 0];
19+
20+
internalField uniform 0;
21+
22+
boundaryField
23+
{
24+
north_face
25+
{
26+
type fixedValue;
27+
value uniform 1;
28+
}
29+
30+
west_face
31+
{
32+
type zeroGradient;
33+
}
34+
35+
east_face
36+
{
37+
type zeroGradient;
38+
}
39+
40+
south_face
41+
{
42+
type zeroGradient;
43+
}
44+
45+
minZ
46+
{
47+
type zeroGradient;
48+
}
49+
50+
maxZ
51+
{
52+
type zeroGradient;
53+
}
54+
}
55+
56+
57+
// ************************************************************************* //

data/ninjafoam/9/0/U

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 8
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+
$boundaryField$
25+
minZ
26+
{
27+
type fixedValue;
28+
value uniform (0 0 0);
29+
}
30+
maxZ
31+
{
32+
type zeroGradient;
33+
}
34+
}
35+
36+
37+
// ************************************************************************* //

data/ninjafoam/9/0/epsilon

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 8
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 1;
21+
22+
boundaryField
23+
{
24+
$boundaryField$
25+
minZ
26+
{
27+
type epsilonWallFunction;
28+
Cmu 0.09;
29+
kappa 0.41;
30+
E 9.8;
31+
value uniform 1;
32+
}
33+
maxZ
34+
{
35+
type zeroGradient;
36+
}
37+
}
38+
39+
40+
// ************************************************************************* //
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$boundary_name$
2+
{
3+
type $type$;
4+
5+
}

data/ninjafoam/9/0/genericType.tmp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$boundary_name$
2+
{
3+
type $type$;
4+
value uniform $inletoutletvalue$;
5+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
$boundary_name$
2+
{
3+
type $type$;
4+
value uniform $value$;
5+
gamma $gammavalue$;
6+
p0 uniform $pvalue$;
7+
}

data/ninjafoam/9/0/inlet.tmp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
$boundary_name$
2+
{
3+
type $type$;
4+
UfreeStream $U_freestream$;
5+
uDirection $direction$;
6+
inputWindHeight_Veg $InputWindHeight$;
7+
z0 $z0$;
8+
Rd $Rd$;
9+
firstCellHeight -9999.9;
10+
}

data/ninjafoam/9/0/k

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 8
6+
\\/ M anipulation |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volScalarField;
13+
location "0";
14+
object k;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 2 -2 0 0 0 0];
19+
20+
internalField uniform 50;
21+
22+
boundaryField
23+
{
24+
$boundaryField$
25+
minZ
26+
{
27+
type kqRWallFunction;
28+
value uniform 0.1;
29+
}
30+
maxZ
31+
{
32+
type zeroGradient;
33+
}
34+
}
35+
36+
37+
// ************************************************************************* //

data/ninjafoam/9/0/nut

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 8
6+
\\/ M anipulation |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volScalarField;
13+
location "0";
14+
object nut;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 2 -1 0 0 0 0];
19+
20+
internalField uniform 0;
21+
22+
boundaryField
23+
{
24+
north_face
25+
{
26+
type calculated;
27+
value uniform 0;
28+
}
29+
west_face
30+
{
31+
type calculated;
32+
value uniform 0;
33+
}
34+
east_face
35+
{
36+
type calculated;
37+
value uniform 0;
38+
}
39+
south_face
40+
{
41+
type calculated;
42+
value uniform 0;
43+
}
44+
minZ
45+
{
46+
type nutkAtmRoughWallFunction;
47+
z0 uniform $z0$;
48+
value uniform 0.1;
49+
}
50+
maxZ
51+
{
52+
type calculated;
53+
value uniform 0;
54+
}
55+
}
56+
57+
58+
// ************************************************************************* //

data/ninjafoam/9/0/p

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 8
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+
$boundaryField$
25+
minZ
26+
{
27+
type zeroGradient;
28+
}
29+
maxZ
30+
{
31+
type fixedValue;
32+
value uniform 0;
33+
}
34+
}
35+
36+
37+
// ************************************************************************* //

0 commit comments

Comments
 (0)