TUT: consistent headers/formatting for chokedNozzle

- also removed some editing cruft from controlDict that should not
  have been there
This commit is contained in:
Mark Olesen
2019-02-06 07:54:05 +01:00
parent 6384896523
commit cd8e32f603
18 changed files with 84 additions and 84 deletions

View File

@ -13,6 +13,7 @@ FoamFile
location "0"; location "0";
object CH4; object CH4;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 0 0 0 0 ]; dimensions [ 0 0 0 0 0 0 0 ];
@ -23,13 +24,13 @@ boundaryField
inletair inletair
{ {
type fixedValue; type fixedValue;
value uniform 0; value $internalField;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 0; inletValue $internalField;
value uniform 0; value $internalField;
} }
walls walls
{ {

View File

@ -13,6 +13,7 @@ FoamFile
location "0"; location "0";
object H2; object H2;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 0 0 0 0 ]; dimensions [ 0 0 0 0 0 0 0 ];
@ -23,13 +24,13 @@ boundaryField
inletair inletair
{ {
type fixedValue; type fixedValue;
value uniform 0; value $internalField;
} }
outlet outlet
{ {
type zeroGradient; type zeroGradient;
inletValue uniform 0; inletValue $internalField;
value uniform 0; value $internalField;
} }
walls walls
{ {

View File

@ -24,13 +24,13 @@ boundaryField
inletair inletair
{ {
type fixedValue; type fixedValue;
value uniform 0; value $internalField;
} }
outlet outlet
{ {
type zeroGradient; type zeroGradient;
inletValue uniform 0; inletValue $internalField;
value uniform 0; value $internalField;
} }
walls walls
{ {

View File

@ -13,6 +13,7 @@ FoamFile
location "0"; location "0";
object N2; object N2;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 0 0 0 0 ]; dimensions [ 0 0 0 0 0 0 0 ];
@ -23,13 +24,13 @@ boundaryField
inletair inletair
{ {
type fixedValue; type fixedValue;
value uniform 0.7; value $internalField;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 0.7; inletValue $internalField;
value uniform 0.7; value $internalField;
} }
walls walls
{ {

View File

@ -13,6 +13,7 @@ FoamFile
location "0"; location "0";
object O2; object O2;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 0 0 0 0 ]; dimensions [ 0 0 0 0 0 0 0 ];
@ -23,13 +24,13 @@ boundaryField
inletair inletair
{ {
type fixedValue; type fixedValue;
value uniform 0.3; value $internalField;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 0.3; inletValue $internalField;
value uniform 0.3; value $internalField;
} }
walls walls
{ {

View File

@ -13,6 +13,7 @@ FoamFile
location "0"; location "0";
object T; object T;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 1 0 0 0 ]; dimensions [ 0 0 0 1 0 0 0 ];
@ -37,8 +38,8 @@ boundaryField
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 292; inletValue $internalField;
value uniform 292; value $internalField;
} }
walls walls
{ {

View File

@ -13,37 +13,36 @@ FoamFile
location "0"; location "0";
object U; object U;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 1 -1 0 0 0 0 ]; dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform ( 0 0 0 ); internalField uniform (0 0 0);
boundaryField boundaryField
{ {
inletair inletair
{ {
type flowRateInletVelocity; type flowRateInletVelocity;
value uniform ( 0 0 0 ); value $internalField;
massFlowRate csvFile; massFlowRate csvFile;
nHeaderLine 1; nHeaderLine 1;
refColumn 0; refColumn 0;
componentColumns ( 1 ); componentColumns ( 1 );
separator ","; separator ",";
mergeSeparators no; mergeSeparators no;
file "<constant>/inlet.csv"; file "<constant>/inlet.csv";
} }
outlet outlet
{ {
type pressureInletOutletVelocity; type pressureInletOutletVelocity;
value uniform (0.0 0 0); inletValue $internalField;
inletValue uniform (0 0 0); value $internalField;
} }
walls walls
{ {
type fixedValue; type fixedValue;
value uniform ( 0 0 0 ); value $internalField;
} }
} }

View File

@ -13,6 +13,7 @@ FoamFile
location "0"; location "0";
object Ydefault; object Ydefault;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 0 0 0 0 ]; dimensions [ 0 0 0 0 0 0 0 ];
@ -23,13 +24,13 @@ boundaryField
inletair inletair
{ {
type fixedValue; type fixedValue;
value uniform 0; value $internalField;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 0; inletValue $internalField;
value uniform 0; value $internalField;
} }
walls walls
{ {

View File

@ -13,6 +13,7 @@ FoamFile
location "0"; location "0";
object alphat; object alphat;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -1 0 0 0 0 ]; dimensions [ 1 -1 -1 0 0 0 0 ];
@ -23,18 +24,18 @@ boundaryField
inletair inletair
{ {
type calculated; type calculated;
value uniform 0; value $internalField;
} }
outlet outlet
{ {
type calculated; type calculated;
value uniform 0; value $internalField;
} }
walls walls
{ {
type compressible::alphatWallFunction; type compressible::alphatWallFunction;
Prt 0.85; Prt 0.85;
value uniform 0; value $internalField;
} }
} }

View File

@ -13,6 +13,7 @@ FoamFile
location "0"; location "0";
object epsilon; object epsilon;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -3 0 0 0 0 ]; dimensions [ 0 2 -3 0 0 0 0 ];
@ -26,13 +27,13 @@ boundaryField
mixingLength 0.005; mixingLength 0.005;
phi phi; phi phi;
k k; k k;
value uniform 200; value $internalField;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 200; inletValue $internalField;
value uniform 200; value $internalField;
} }
walls walls
{ {
@ -40,7 +41,7 @@ boundaryField
Cmu 0.09; Cmu 0.09;
kappa 0.41; kappa 0.41;
E 9.8; E 9.8;
value uniform 200; value $internalField;
} }
} }

View File

@ -13,6 +13,7 @@ FoamFile
location "0"; location "0";
object k; object k;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -2 0 0 0 0 ]; dimensions [ 0 2 -2 0 0 0 0 ];
@ -24,18 +25,18 @@ boundaryField
{ {
type turbulentIntensityKineticEnergyInlet; type turbulentIntensityKineticEnergyInlet;
intensity 0.02; intensity 0.02;
value uniform 1; value $internalField;
} }
outlet outlet
{ {
type zeroGradient;//inletOutlet; type zeroGradient;//inletOutlet;
inletValue uniform 1; inletValue $internalField;
value uniform 1; value $internalField;
} }
walls walls
{ {
type kqRWallFunction; type kqRWallFunction;
value uniform 1; value $internalField;
} }
} }

View File

@ -24,12 +24,12 @@ boundaryField
inletair inletair
{ {
type calculated; type calculated;
value uniform 0; value $internalField;
} }
outlet outlet
{ {
type calculated; type calculated;
value uniform 0; value $internalField;
} }
walls walls
{ {
@ -37,7 +37,7 @@ boundaryField
Cmu 0.09; Cmu 0.09;
kappa 0.41; kappa 0.41;
E 9.8; E 9.8;
value uniform 0; value $internalField;
} }
} }

View File

@ -13,6 +13,7 @@ FoamFile
location "0"; location "0";
object p; object p;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -2 0 0 0 0 ]; dimensions [ 1 -1 -2 0 0 0 0 ];
@ -31,7 +32,7 @@ boundaryField
choked true; choked true;
relax 0.1; relax 0.1;
M 0.3; M 0.3;
value uniform 250000; value $internalField;
} }
walls walls
{ {

View File

@ -7,12 +7,13 @@
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
location "constant"; location "constant";
object chemistryProperties; object chemistryProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
chemistryType chemistryType
{ {

View File

@ -20,15 +20,15 @@ vertices
( (
(0.00 0.25 0) // 0 (0.00 0.25 0) // 0
(1.00 0.25 0) // 1 (1.00 0.25 0) // 1
(1.25 0.00 -0.6) // 2 (1.25 0.00 -0.6) // 2
(2.25 0.00 -0.6) // 3 (2.25 0.00 -0.6) // 3
(2.50 0.25 0) // 4 (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.50 0.75 0) // 7
(2.25 1.00 -0.6) // 8 (2.25 1.00 -0.6) // 8
(1.25 1.00 -0.6) // 9 (1.25 1.00 -0.6) // 9
(1.00 0.75 0) // 10 (1.00 0.75 0) // 10
(0.00 0.75 0) // 11 (0.00 0.75 0) // 11

View File

@ -1,4 +1,4 @@
;/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 | | \\ / O peration | Version: v1812 |
@ -7,12 +7,13 @@
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
location "system"; location "system";
object controlDict; object controlDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application reactingFoam; application reactingFoam;
@ -20,7 +21,7 @@ startFrom startTime;
startTime 0; startTime 0;
stopAt writeNow; //endTime; stopAt endTime;
endTime 1; endTime 1;
@ -51,17 +52,4 @@ maxCo 0.3;
maxDeltaT 0.25; maxDeltaT 0.25;
functions
{
ywalls
{
type writeObjects;
libs ("libutilityFunctionObjects.so");
objects (ywalls);
writeOption anyWrite;
}
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -7,12 +7,13 @@
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
location "system"; location "system";
object fvSchemes; object fvSchemes;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes ddtSchemes
{ {

View File

@ -7,12 +7,13 @@
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
location "system"; location "system";
object fvSolution; object fvSolution;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers solvers
{ {