mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: new combuustion classes and update tutorial (Lagrangian and
combustion)
This commit is contained in:
@ -15,15 +15,16 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1;
|
||||
combustionModel PaSR<psiChemistryCombustionModel>;
|
||||
|
||||
ignitionProperties1
|
||||
active true;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
ignite on;
|
||||
ignitionPoint ignitionPoint [ 0 1 0 0 0 0 0 ] ( 0.2 0 0.02 );
|
||||
timing timing [ 0 0 1 0 0 0 0 ] 0;
|
||||
duration duration [ 0 0 1 0 0 0 0 ] 1;
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1;
|
||||
turbulentReaction on;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -15,7 +15,9 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel infinitelyFastChemistry;
|
||||
combustionModel infinitelyFastChemistry<psiCombustionModel,gasThermoPhysics>;
|
||||
|
||||
active true;
|
||||
|
||||
infinitelyFastChemistryCoeffs
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -15,16 +15,44 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel infinitelyFastChemistry;
|
||||
//combustionModel infinitelyFastChemistry<psiCombustionModel,gasThermoPhysics>;
|
||||
combustionModel FSD<psiCombustionModel,gasThermoPhysics>;
|
||||
|
||||
active true;
|
||||
|
||||
infinitelyFastChemistryCoeffs
|
||||
{
|
||||
C 10.0;
|
||||
C 5.0;
|
||||
}
|
||||
|
||||
noCombustionCoeffs
|
||||
FSDCoeffs
|
||||
{
|
||||
}
|
||||
Cv 0.1;
|
||||
ftVarMin 1e-2;
|
||||
|
||||
reactionRateFlameArea relaxation;
|
||||
|
||||
fuel Methane;
|
||||
|
||||
relaxationCoeffs
|
||||
{
|
||||
C 2.0;
|
||||
alpha 1.0;
|
||||
Methane
|
||||
{
|
||||
omega0 0.5;
|
||||
eta -0.013;
|
||||
omegaMin 0.01;
|
||||
sigmaExt 470;
|
||||
}
|
||||
Propane
|
||||
{
|
||||
omega0 0.4;
|
||||
eta -0.00656;
|
||||
omegaMin 0.01;
|
||||
sigmaExt 450;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -12,6 +12,6 @@ reactions
|
||||
propaneReaction
|
||||
{
|
||||
type irreversibleinfiniteReaction;
|
||||
reaction "CH4 + 2O2 = CO2 + 2H2O";
|
||||
reaction "CH4 + 2O2 + 7.5N2 = CO2 + 2H2O + 7.5N2";
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,16 +16,14 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel infinitelyFastChemistry;
|
||||
//combustionModel infinitelyFastChemistry<psiCombustionModel,gasThermoPhysics>;
|
||||
|
||||
active on;
|
||||
|
||||
infinitelyFastChemistryCoeffs
|
||||
{
|
||||
C 5.0;
|
||||
}
|
||||
|
||||
noCombustionCoeffs
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -12,6 +12,6 @@ reactions
|
||||
propaneReaction
|
||||
{
|
||||
type irreversibleinfiniteReaction;
|
||||
reaction "CH4 + 2O2 = CO2 + 2H2O";
|
||||
reaction "CH4 + 2O2 + 7.5N2 = CO2 + 2H2O + 7.5N2";
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,8 +23,6 @@ chemistrySolver ode;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
|
||||
turbulentReaction on;
|
||||
|
||||
sequentialCoeffs
|
||||
{
|
||||
cTauChem 0.001;
|
||||
@ -43,6 +41,4 @@ odeCoeffs
|
||||
scale 1;
|
||||
}
|
||||
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 0.1;
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -0,0 +1,34 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object combustionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel PaSR<psiChemistryCombustionModel>;
|
||||
|
||||
active true;
|
||||
|
||||
infinitelyFastChemistryCoeffs
|
||||
{
|
||||
C 10.0;
|
||||
}
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 0.1;
|
||||
turbulentReaction on;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -25,8 +25,4 @@ chemCalcFreq 1;
|
||||
|
||||
initialChemicalTimeStep 1e-8; // NOT USED
|
||||
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 0.1;
|
||||
|
||||
turbulentReaction on;
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object combustionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel PaSR<rhoChemistryCombustionModel>;
|
||||
|
||||
active true;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 0.1;
|
||||
turbulentReaction on;
|
||||
useReactionRate true;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -19,9 +19,6 @@ rhoChemistryModel ODEChemistryModel<icoPoly8ThermoPhysics>;
|
||||
|
||||
chemistry off;
|
||||
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver noChemistrySolver;
|
||||
|
||||
initialChemicalTimeStep 1e-07; // NOT USED
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object combustionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel PaSR<rhoChemistryCombustionModel>;
|
||||
|
||||
active false;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 0.1;
|
||||
turbulentReaction off;
|
||||
useReactionRate true;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -19,8 +19,6 @@ psiChemistryModel ODEChemistryModel<gasThermoPhysics>;
|
||||
|
||||
chemistry on;
|
||||
|
||||
turbulentReaction on;
|
||||
|
||||
chemistrySolver ode;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
@ -44,7 +42,5 @@ odeCoeffs
|
||||
scale 1;
|
||||
}
|
||||
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -11,19 +11,20 @@ FoamFile
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object chemistryProperties;
|
||||
object combustionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
psiChemistryModel ODEChemistryModel<gasThermoPhysics>;
|
||||
combustionModel PaSR<psiChemistryCombustionModel>;
|
||||
|
||||
chemistry off;
|
||||
active true;
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver noChemistrySolver;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0;
|
||||
turbulentReaction on;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -19,8 +19,6 @@ rhoChemistryModel ODEChemistryModel<icoPoly8ThermoPhysics>;
|
||||
|
||||
chemistry off;
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver ode;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
@ -44,7 +42,5 @@ odeCoeffs
|
||||
scale 1;
|
||||
}
|
||||
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -11,19 +11,19 @@ FoamFile
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object chemistryProperties;
|
||||
object combustionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
psiChemistryModel ODEChemistryModel<gasThermoPhysics>;
|
||||
combustionModel PaSR<rhoChemistryCombustionModel>;
|
||||
|
||||
chemistry off;
|
||||
active false;
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver noChemistrySolver;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0;
|
||||
turbulentReaction off;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -19,8 +19,6 @@ rhoChemistryModel ODEChemistryModel<icoPoly8ThermoPhysics>;
|
||||
|
||||
chemistry off;
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver ode;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
@ -44,7 +42,5 @@ odeCoeffs
|
||||
scale 1;
|
||||
}
|
||||
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -0,0 +1,29 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object combustionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel PaSR<rhoChemistryCombustionModel>;
|
||||
|
||||
active false;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0;
|
||||
turbulentReaction off;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -19,8 +19,6 @@ rhoChemistryModel ODEChemistryModel<icoPoly8ThermoPhysics>;
|
||||
|
||||
chemistry off;
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver ode;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
@ -44,7 +42,5 @@ odeCoeffs
|
||||
scale 1;
|
||||
}
|
||||
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -0,0 +1,29 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object combustionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel PaSR<rhoChemistryCombustionModel>;
|
||||
|
||||
active false;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0;
|
||||
turbulentReaction off;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -19,8 +19,6 @@ psiChemistryModel ODEChemistryModel<gasThermoPhysics>;
|
||||
|
||||
chemistry off;
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver noChemistrySolver;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
|
||||
@ -15,7 +15,15 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel none;
|
||||
combustionModel PaSR<psiChemistryCombustionModel>;
|
||||
|
||||
active false;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0;
|
||||
turbulentReaction on;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -19,8 +19,6 @@ psiChemistryModel ODEChemistryModel<gasThermoPhysics>;
|
||||
|
||||
chemistry off;
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver noChemistrySolver;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
|
||||
@ -15,7 +15,15 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel none;
|
||||
combustionModel PaSR<psiChemistryCombustionModel>;
|
||||
|
||||
active false;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0;
|
||||
turbulentReaction off;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -19,8 +19,6 @@ psiChemistryModel ODEChemistryModel<gasThermoPhysics>;
|
||||
|
||||
chemistry off;
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver noChemistrySolver;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
|
||||
@ -15,7 +15,15 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel none;
|
||||
combustionModel PaSR<psiChemistryCombustionModel>;
|
||||
|
||||
active false;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0;
|
||||
turbulentReaction off;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -19,8 +19,6 @@ psiChemistryModel ODEChemistryModel<gasThermoPhysics>;
|
||||
|
||||
chemistry off;
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver noChemistrySolver;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
|
||||
@ -15,7 +15,15 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel none;
|
||||
combustionModel PaSR<psiChemistryCombustionModel>;
|
||||
|
||||
active false;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0;
|
||||
turbulentReaction off;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -19,8 +19,6 @@ psiChemistryModel ODEChemistryModel<gasThermoPhysics>;
|
||||
|
||||
chemistry off;
|
||||
|
||||
turbulentReaction off;
|
||||
|
||||
chemistrySolver ode;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
@ -43,7 +41,5 @@ odeCoeffs
|
||||
scale 1;
|
||||
}
|
||||
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -0,0 +1,29 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object combustionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel PaSR<psiChemistryCombustionModel>;
|
||||
|
||||
active false;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0;
|
||||
turbulentReaction off;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -23,10 +23,6 @@ chemistrySolver ode;
|
||||
|
||||
initialChemicalTimeStep 1e-07;
|
||||
|
||||
turbulentReaction yes;
|
||||
|
||||
Cmix Cmix [0 0 0 0 0] 1;
|
||||
|
||||
odeCoeffs
|
||||
{
|
||||
solver SIBS;
|
||||
|
||||
@ -0,0 +1,29 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object combustionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel PaSR<psiChemistryCombustionModel>;
|
||||
|
||||
active false;
|
||||
|
||||
PaSRCoeffs
|
||||
{
|
||||
Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0;
|
||||
turbulentReaction yes;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user