Skip to content

Commit ef91f9d

Browse files
committed
Add gas heat transfer feedback control
1 parent 7cb3294 commit ef91f9d

36 files changed

Lines changed: 2571 additions & 4 deletions

File tree

applications/solvers/dfLowMachFoam/createClouds.H

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ basicSprayCloud parcels
1111
parcels.UTrans().writeOpt() = IOobject::NO_WRITE;
1212
parcels.UCoeff().writeOpt() = IOobject::NO_WRITE;
1313
parcels.hsTrans().writeOpt() = IOobject::NO_WRITE;
14+
parcels.convectiveHsTrans().writeOpt() = IOobject::NO_WRITE;
15+
parcels.negativeConvectiveHsTrans().writeOpt() = IOobject::NO_WRITE;
1416
parcels.hsCoeff().writeOpt() = IOobject::NO_WRITE;
1517

1618
forAll(Y, i)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 7
6+
\\/ M anipulation |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volScalarField;
13+
location "0";
14+
object CH4;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 0 0 0 0 0 0];
19+
20+
internalField uniform 0.0;
21+
22+
boundaryField
23+
{
24+
fuel
25+
{
26+
type fixedValue;
27+
value uniform 1.0;
28+
}
29+
30+
LOX
31+
{
32+
type zeroGradient;
33+
}
34+
35+
outlet
36+
{
37+
type zeroGradient;
38+
}
39+
40+
wall
41+
{
42+
type zeroGradient;
43+
}
44+
45+
front
46+
{
47+
type cyclic;
48+
}
49+
50+
back
51+
{
52+
type cyclic;
53+
}
54+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 7
6+
\\/ M anipulation |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volScalarField;
13+
location "0";
14+
object O2;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 0 0 0 0 0 0];
19+
20+
internalField uniform 1;
21+
22+
boundaryField
23+
{
24+
fuel
25+
{
26+
type fixedValue;
27+
value uniform 0.0;
28+
}
29+
30+
LOX
31+
{
32+
type zeroGradient;
33+
}
34+
35+
outlet
36+
{
37+
type zeroGradient;
38+
}
39+
40+
wall
41+
{
42+
type zeroGradient;
43+
}
44+
45+
front
46+
{
47+
type cyclic;
48+
}
49+
50+
back
51+
{
52+
type cyclic;
53+
}
54+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 7
6+
\\/ M anipulation |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volScalarField;
13+
location "0";
14+
object O2;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 0 0 0 0 0 0];
19+
20+
internalField uniform 0.0;
21+
22+
boundaryField
23+
{
24+
fuel
25+
{
26+
type fixedValue;
27+
value uniform 0.0;
28+
}
29+
30+
LOX
31+
{
32+
type zeroGradient;
33+
}
34+
35+
outlet
36+
{
37+
type zeroGradient;
38+
}
39+
40+
wall
41+
{
42+
type zeroGradient;
43+
}
44+
45+
front
46+
{
47+
type cyclic;
48+
}
49+
50+
back
51+
{
52+
type cyclic;
53+
}
54+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 5.x |
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 T;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 0 0 1 0 0 0];
19+
20+
internalField uniform 293;
21+
22+
boundaryField
23+
{
24+
fuel
25+
{
26+
type fixedValue;
27+
value uniform 293;
28+
// type uniformFixedValue;
29+
// uniformValue table
30+
// (
31+
// (0 2300.0)
32+
// (1E-4 2300.0)
33+
// (5E-4 1800.0)
34+
// (1E-3 237.6)
35+
// (1.0 237.6)
36+
// );
37+
}
38+
39+
LOX
40+
{
41+
type zeroGradient;
42+
}
43+
44+
outlet
45+
{
46+
type zeroGradient;
47+
}
48+
49+
wall
50+
{
51+
type zeroGradient;
52+
}
53+
54+
front
55+
{
56+
type cyclic;
57+
}
58+
59+
back
60+
{
61+
type cyclic;
62+
}
63+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 7
6+
\\/ M anipulation |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2;
11+
format ascii;
12+
class volVectorField;
13+
object U;
14+
}
15+
16+
dimensions [ 0 1 -1 0 0 0 0 ];
17+
18+
internalField uniform ( 0 0 0 );
19+
20+
boundaryField
21+
{
22+
fuel
23+
{
24+
type flowRateInletVelocity;
25+
massFlowRate uniform 0.044375;
26+
// massFlowRate table
27+
// (
28+
// (0 1E-3)
29+
// (0.5E-3 1E-3)
30+
// (1.0E-3 5E-3)
31+
// (1.5E-3 1E-2)
32+
// (2.0E-3 0.044375)
33+
// (1.0 0.044375)
34+
// );
35+
value uniform (0 0 5);
36+
}
37+
38+
LOX
39+
{
40+
type zeroGradient;
41+
}
42+
43+
outlet
44+
{
45+
type zeroGradient;
46+
}
47+
48+
wall
49+
{
50+
type noSlip;
51+
}
52+
53+
front
54+
{
55+
type cyclic;
56+
}
57+
58+
back
59+
{
60+
type cyclic;
61+
}
62+
}
63+
64+
65+
// ************************************************************************* //
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| ========= | |
3+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+
| \\ / O peration | Version: 5.x |
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 Ydefault;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 0 0 0 0 0 0];
19+
20+
internalField uniform 0;
21+
22+
boundaryField
23+
{
24+
fuel
25+
{
26+
type fixedValue;
27+
value uniform 0;
28+
}
29+
30+
LOX
31+
{
32+
type zeroGradient;
33+
}
34+
35+
outlet
36+
{
37+
type zeroGradient;
38+
}
39+
40+
wall
41+
{
42+
type zeroGradient;
43+
}
44+
45+
front
46+
{
47+
type cyclic;
48+
}
49+
50+
back
51+
{
52+
type cyclic;
53+
}
54+
}

0 commit comments

Comments
 (0)