[OF6] adjust chemistry cases to OF6 syntax

OF4 -> OF5:
functionObjects
volRegion/surfaceRegion -> volFieldValue/surfaceFieldValue
fvOptions
limitTemperatureCoeffs: Tmin/Tmax -> min/max

OF5 -> OF6:
combustionProperties: noCombustion<> -> none (template parameters are no
longer required)
This commit is contained in:
danielque
2019-11-13 13:42:38 +01:00
parent 1643f8d908
commit 8f94dba403
16 changed files with 83 additions and 40 deletions

View File

@ -15,11 +15,14 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel noCombustion<rhoThermoCombustion>; //PaSR<rhoChemistryCombustion>; //PaSR<psiChemistryCombustion>;
// OF5 -> OF6: noCombustion<> -> none (template parameters are no longer required)
//combustionModel noCombustion<rhoThermoCombustion>; //PaSR<rhoChemistryCombustion>; //PaSR<psiChemistryCombustion>;
combustionModel none; // OF6
active false; //true;
noCombustionCoeffs
//noCombustionCoeffs
noneCoeffs
{
}

View File

@ -145,7 +145,8 @@ functions
globalMassFrac
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;
@ -167,7 +168,8 @@ functions
globalMass
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;
@ -185,7 +187,8 @@ functions
inflow_GasSpecies
{
type surfaceRegion;
//type surfaceRegion; // OF4
type surfaceFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;
writeInterval 100;
@ -208,7 +211,8 @@ functions
inflow_phi
{
type surfaceRegion;
//type surfaceRegion; // OF4
type surfaceFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;
writeInterval 100;
@ -227,7 +231,8 @@ functions
inflow_U
{
type surfaceRegion;
//type surfaceRegion; // OF4
type surfaceFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;
writeInterval 100;

View File

@ -145,7 +145,8 @@ functions
globalMassFrac
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;
@ -167,7 +168,8 @@ functions
globalMass
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;
@ -185,7 +187,8 @@ functions
inflow_GasSpecies
{
type surfaceRegion;
//type surfaceRegion; // OF4
type surfaceFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;
writeInterval 100;
@ -208,7 +211,8 @@ functions
inflow_phi
{
type surfaceRegion;
//type surfaceRegion; // OF4
type surfaceFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;
writeInterval 100;
@ -227,7 +231,8 @@ functions
inflow_U
{
type surfaceRegion;
//type surfaceRegion; // OF4
type surfaceFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;
writeInterval 100;

View File

@ -22,7 +22,10 @@ limitedTemperature
{
active yes;
selectionMode all;
Tmin 1020;
Tmax 1500;
//Tmin 1020; // OF4
//Tmax 1500; // OF4
min 1020; // OF5,OF6
max 1500; // OF5,OF6
}
}

View File

@ -15,11 +15,14 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel noCombustion<rhoThermoCombustion>;
// OF5 -> OF6: noCombustion<> -> none (template parameters are no longer required)
//combustionModel noCombustion<rhoThermoCombustion>; // OF4,OF5
combustionModel none; // OF6
active false; //true;
noCombustionCoeffs
//noCombustionCoeffs
noneCoeffs
{
}

View File

@ -143,7 +143,8 @@ functions
globalMassFrac
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;
@ -165,7 +166,8 @@ functions
globalMass
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;

View File

@ -22,8 +22,10 @@ limitedTemperature
{
active yes;
selectionMode all;
Tmin 1200;
Tmax 2500;
//Tmin 1200; // OF4
//Tmax 2500; // OF4
min 1200; // OF5,OF6
max 2500; // OF5,OF6
}
}

View File

@ -15,11 +15,14 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel noCombustion<rhoThermoCombustion>; //PaSR<rhoChemistryCombustion>; //PaSR<psiChemistryCombustion>;
// OF5 -> OF6: noCombustion<> -> none (template parameters are no longer required)
//combustionModel noCombustion<rhoThermoCombustion>; //PaSR<rhoChemistryCombustion>; //PaSR<psiChemistryCombustion>;
combustionModel none; // OF6
active false; //true;
noCombustionCoeffs
//noCombustionCoeffs
noneCoeffs
{
}

View File

@ -142,7 +142,8 @@ functions
globalMassFrac
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;
@ -164,7 +165,8 @@ functions
globalMass
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;

View File

@ -22,8 +22,10 @@ limitedTemperature
{
active yes;
selectionMode all;
Tmin 1200;
Tmax 2500;
//Tmin 1200; // OF4
//Tmax 2500; // OF4
min 1200; // OF5,OF6
max 2500; // OF5,OF6
}
}

View File

@ -15,11 +15,14 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel noCombustion<rhoThermoCombustion>; //PaSR<rhoChemistryCombustion>; //PaSR<psiChemistryCombustion>;
// OF5 -> OF6: noCombustion<> -> none (template parameters are no longer required)
//combustionModel noCombustion<rhoThermoCombustion>; //PaSR<rhoChemistryCombustion>; //PaSR<psiChemistryCombustion>;
combustionModel none; // OF6
active false; //true;
noCombustionCoeffs
//noCombustionCoeffs
noneCoeffs
{
}

View File

@ -136,7 +136,8 @@ functions
globalMassFrac
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;
@ -156,7 +157,8 @@ functions
globalMass
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;

View File

@ -22,9 +22,10 @@ limitedTemperature
{
active yes;
selectionMode all;
Tmin 1200;
Tmax 2500;
//Tmin 1200; // OF4
//Tmax 2500; // OF4
min 1200; // OF5,OF6
max 2500; // OF5,OF6
}
}

View File

@ -15,11 +15,14 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel noCombustion<rhoThermoCombustion>; //PaSR<rhoChemistryCombustion>; //PaSR<psiChemistryCombustion>;
// OF5 -> OF6: noCombustion<> -> none (template parameters are no longer required)
//combustionModel noCombustion<rhoThermoCombustion>; //PaSR<rhoChemistryCombustion>; //PaSR<psiChemistryCombustion>;
combustionModel none; // OF6
active false; //true;
noCombustionCoeffs
//noCombustionCoeffs
noneCoeffs
{
}

View File

@ -136,7 +136,8 @@ functions
globalMassFrac
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;
@ -156,7 +157,8 @@ functions
globalMass
{
type volRegion;
//type volRegion; // OF4
type volFieldValue; // OF5,OF6
libs ("libfieldFunctionObjects.so");
writeControl timeStep;//outputTime;
writeInterval 1;

View File

@ -22,8 +22,10 @@ limitedTemperature
{
active yes;
selectionMode all;
Tmin 1200;
Tmax 2500;
//Tmin 1200; // OF4
//Tmax 2500; // OF4
min 1200; // OF5,OF6
max 2500; // OF5,OF6
}
}