Commit 68632022 authored by Mark Olesen's avatar Mark Olesen

TUT: consistent headers/formatting for chokedNozzle

- also removed some editing cruft from controlDict that should not
  have been there
parent c95642d1
......@@ -13,6 +13,7 @@ FoamFile
location "0";
object CH4;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 0 0 0 0 ];
......@@ -23,13 +24,13 @@ boundaryField
inletair
{
type fixedValue;
value uniform 0;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
inletValue $internalField;
value $internalField;
}
walls
{
......
......@@ -13,6 +13,7 @@ FoamFile
location "0";
object H2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 0 0 0 0 ];
......@@ -23,13 +24,13 @@ boundaryField
inletair
{
type fixedValue;
value uniform 0;
value $internalField;
}
outlet
{
type zeroGradient;
inletValue uniform 0;
value uniform 0;
inletValue $internalField;
value $internalField;
}
walls
{
......
......@@ -24,13 +24,13 @@ boundaryField
inletair
{
type fixedValue;
value uniform 0;
value $internalField;
}
outlet
{
type zeroGradient;
inletValue uniform 0;
value uniform 0;
inletValue $internalField;
value $internalField;
}
walls
{
......
......@@ -13,6 +13,7 @@ FoamFile
location "0";
object N2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 0 0 0 0 ];
......@@ -23,13 +24,13 @@ boundaryField
inletair
{
type fixedValue;
value uniform 0.7;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue uniform 0.7;
value uniform 0.7;
inletValue $internalField;
value $internalField;
}
walls
{
......
......@@ -13,6 +13,7 @@ FoamFile
location "0";
object O2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 0 0 0 0 ];
......@@ -23,13 +24,13 @@ boundaryField
inletair
{
type fixedValue;
value uniform 0.3;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue uniform 0.3;
value uniform 0.3;
inletValue $internalField;
value $internalField;
}
walls
{
......
......@@ -13,6 +13,7 @@ FoamFile
location "0";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 1 0 0 0 ];
......@@ -37,8 +38,8 @@ boundaryField
outlet
{
type inletOutlet;
inletValue uniform 292;
value uniform 292;
inletValue $internalField;
value $internalField;
}
walls
{
......
......@@ -13,37 +13,36 @@ FoamFile
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform ( 0 0 0 );
internalField uniform (0 0 0);
boundaryField
{
inletair
{
type flowRateInletVelocity;
value uniform ( 0 0 0 );
value $internalField;
massFlowRate csvFile;
nHeaderLine 1;
refColumn 0;
componentColumns ( 1 );
separator ",";
mergeSeparators no;
file "<constant>/inlet.csv";
file "<constant>/inlet.csv";
}
outlet
{
type pressureInletOutletVelocity;
value uniform (0.0 0 0);
inletValue uniform (0 0 0);
inletValue $internalField;
value $internalField;
}
walls
{
type fixedValue;
value uniform ( 0 0 0 );
value $internalField;
}
}
......
......@@ -13,6 +13,7 @@ FoamFile
location "0";
object Ydefault;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 0 0 0 0 ];
......@@ -23,13 +24,13 @@ boundaryField
inletair
{
type fixedValue;
value uniform 0;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
inletValue $internalField;
value $internalField;
}
walls
{
......
......@@ -13,6 +13,7 @@ FoamFile
location "0";
object alphat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -1 0 0 0 0 ];
......@@ -23,18 +24,18 @@ boundaryField
inletair
{
type calculated;
value uniform 0;
value $internalField;
}
outlet
{
type calculated;
value uniform 0;
value $internalField;
}
walls
{
type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0;
value $internalField;
}
}
......
......@@ -13,6 +13,7 @@ FoamFile
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -3 0 0 0 0 ];
......@@ -26,13 +27,13 @@ boundaryField
mixingLength 0.005;
phi phi;
k k;
value uniform 200;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue uniform 200;
value uniform 200;
inletValue $internalField;
value $internalField;
}
walls
{
......@@ -40,7 +41,7 @@ boundaryField
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 200;
value $internalField;
}
}
......
......@@ -13,6 +13,7 @@ FoamFile
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -2 0 0 0 0 ];
......@@ -24,18 +25,18 @@ boundaryField
{
type turbulentIntensityKineticEnergyInlet;
intensity 0.02;
value uniform 1;
value $internalField;
}
outlet
{
type zeroGradient;//inletOutlet;
inletValue uniform 1;
value uniform 1;
inletValue $internalField;
value $internalField;
}
walls
{
type kqRWallFunction;
value uniform 1;
value $internalField;
}
}
......
......@@ -24,12 +24,12 @@ boundaryField
inletair
{
type calculated;
value uniform 0;
value $internalField;
}
outlet
{
type calculated;
value uniform 0;
value $internalField;
}
walls
{
......@@ -37,7 +37,7 @@ boundaryField
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0;
value $internalField;
}
}
......
......@@ -13,6 +13,7 @@ FoamFile
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -2 0 0 0 0 ];
......@@ -31,7 +32,7 @@ boundaryField
choked true;
relax 0.1;
M 0.3;
value uniform 250000;
value $internalField;
}
walls
{
......
......@@ -7,12 +7,13 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2;
format ascii;
class dictionary;
location "constant";
object chemistryProperties;
version 2.0;
format ascii;
class dictionary;
location "constant";
object chemistryProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
chemistryType
{
......
......@@ -20,15 +20,15 @@ vertices
(
(0.00 0.25 0) // 0
(1.00 0.25 0) // 1
(1.25 0.00 -0.6) // 2
(2.25 0.00 -0.6) // 3
(1.25 0.00 -0.6) // 2
(2.25 0.00 -0.6) // 3
(2.50 0.25 0) // 4
(4.00 0.35 0.2) // 5
(4.00 0.35 0.2) // 5
(4.00 0.45 0.2) // 6
(4.00 0.45 0.2) // 6
(2.50 0.75 0) // 7
(2.25 1.00 -0.6) // 8
(1.25 1.00 -0.6) // 9
(2.25 1.00 -0.6) // 8
(1.25 1.00 -0.6) // 9
(1.00 0.75 0) // 10
(0.00 0.75 0) // 11
......
;/*--------------------------------*- C++ -*----------------------------------*\
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 |
......@@ -7,12 +7,13 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2;
format ascii;
class dictionary;
location "system";
object controlDict;
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application reactingFoam;
......@@ -20,7 +21,7 @@ startFrom startTime;
startTime 0;
stopAt writeNow; //endTime;
stopAt endTime;
endTime 1;
......@@ -51,17 +52,4 @@ maxCo 0.3;
maxDeltaT 0.25;
functions
{
ywalls
{
type writeObjects;
libs ("libutilityFunctionObjects.so");
objects (ywalls);
writeOption anyWrite;
}
}
// ************************************************************************* //
......@@ -7,12 +7,13 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2;
format ascii;
class dictionary;
location "system";
object fvSchemes;
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
......
......@@ -7,12 +7,13 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2;
format ascii;
class dictionary;
location "system";
object fvSolution;
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment