ENH: Aligning solid thermo mixing with gas mixing and solid reaction

This commit is contained in:
sergio
2012-10-31 17:13:03 +00:00
parent 3083282e21
commit 92d2bc1b76
92 changed files with 1725 additions and 865559 deletions

View File

@ -17,7 +17,7 @@ FoamFile
dimensions [0 0 0 1 0 0 0];
internalField uniform 298.15;
internalField uniform 500;//298.15;
boundaryField
{

View File

@ -11,13 +11,13 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object Ydefault;
object char;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 1;
internalField uniform 0.5;
boundaryField
{

View File

@ -11,7 +11,7 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object Yv;
object v;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -8,7 +8,7 @@
FoamFile
{
version 2.0;
format binary;
format ascii;
class dictionary;
location "constant";
object chemistryProperties;
@ -31,39 +31,4 @@ odeCoeffs
eps 0.05;
}
species
(
gas
);
reactions
(
irreversibleSolidArrheniusReaction
v = gas + char
(7.83e10 15274.57 400 4.86)
);
gas
{
specie
{
nMoles 1;
molWeight 18.0153;
}
thermodynamics
{
Tlow 200;
Thigh 5000;
Tcommon 1000;
highCpCoeffs ( 2.67215 0.00305629 -8.73026e-07 1.20100e-10 -6.39162e-15 -29899.2 6.86282 );
lowCpCoeffs ( 3.38684 0.00347498 -6.35470e-06 6.96858e-09 -2.50659e-12 -30208.1 2.59023 );
}
transport
{
As 1.67212e-06;
Ts 170.672;
}
}
// ************************************************************************* //

View File

@ -1,21 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class regIOobject;
location "constant/polyMesh";
object faceZones;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
0
()
// ************************************************************************* //

View File

@ -1,21 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class regIOobject;
location "constant/polyMesh";
object pointZones;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
0
()
// ************************************************************************* //

View File

@ -0,0 +1,23 @@
species
(
v
char
);
gaseousSpecies
(
gas
);
reactions
{
charReaction
{
type irreversibleArrheniusSolidReaction;
reaction "v^4.86 = char + gas";
A 7.83e10;
Ta 15274.57;
Tcrit 400;
}
}

View File

@ -8,14 +8,53 @@
FoamFile
{
version 2.0;
format ascii;
class regIOobject;
location "constant/polyMesh";
object cellZones;
format binary;
class dictionary;
location "constant";
object thermo.solid;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
0
()
v
{
solidSpecie
{
nMoles 1;
}
transport
{
kappa 0.135;
}
thermodynamics
{
Cp 696;
Hf -1.41e6;
}
equationOfState
{
rho 114.7;
}
};
char
{
solidSpecie
{
nMoles 1;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Cp 611;
Hf 0;
}
equationOfState
{
rho 11.5;
}
};
// ************************************************************************* //

View File

@ -17,61 +17,42 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture reactingSolidMixture;
mixture reactingMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie specie;
specie solidSpecie;
energy sensibleEnthalpy;
}
solidComponents
(
v char
);
chemistryReader foamChemistryReader;
vCoeffs
foamChemistryFile "$FOAM_CASE/constant/panelRegion/reactions";
foamChemistryThermoFile "$FOAM_CASE/constant/panelRegion/thermo.solid";
gas
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.135;
nMoles 1;
molWeight 18.0153;
}
thermodynamics
{
Cp 696;
Hf -1.41e6;
Tlow 200;
Thigh 5000;
Tcommon 1000;
highCpCoeffs ( 2.67215 0.00305629 -8.73026e-07 1.20100e-10 -6.39162e-15 -29899.2 6.86282 );
lowCpCoeffs ( 3.38684 0.00347498 -6.35470e-06 6.96858e-09 -2.50659e-12 -30208.1 2.59023 );
}
equationOfState
transport
{
rho 114.7;
As 1.67212e-06;
Ts 170.672;
}
};
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Cp 611;
Hf 0;
}
equationOfState
{
rho 11.5;
}
};
// ************************************************************************* //

View File

@ -17,20 +17,19 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie specie;
specie solidSpecie;
energy sensibleEnthalpy;
}
mixture
{
specie
solidSpecie
{
nMoles 1;
molWeight 12;
}
transport
@ -50,17 +49,16 @@ mixture
}
}
solidComponents
species
(
pmma char
);
pmmaCoeffs
pmma
{
specie
solidSpecie
{
nMoles 1;
molWeight 100;
}
transport
@ -80,13 +78,13 @@ pmmaCoeffs
}
}
charCoeffs
char
{
specie
solidSpecie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;

View File

@ -17,20 +17,19 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie specie;
specie solidSpecie;
energy sensibleEnthalpy;
}
mixture
{
specie
solidSpecie
{
nMoles 1;
molWeight 12;
}
transport
@ -50,17 +49,16 @@ mixture
}
}
solidComponents
species
(
pmma char
);
pmmaCoeffs
pmma
{
specie
solidSpecie
{
nMoles 1;
molWeight 100;
}
transport
@ -80,9 +78,9 @@ pmmaCoeffs
}
}
charCoeffs
char
{
specie
solidSpecie
{
nMoles 1;
molWeight 50;

View File

@ -17,20 +17,19 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie specie;
specie solidSpecie;
energy sensibleEnthalpy;
}
mixture
{
specie
solidSpecie
{
nMoles 1;
molWeight 12;
}
transport
@ -50,17 +49,16 @@ mixture
}
}
solidComponents
species
(
pmma char
);
pmmaCoeffs
pmma
{
specie
solidSpecie
{
nMoles 1;
molWeight 100;
}
transport
@ -80,9 +78,9 @@ pmmaCoeffs
}
}
charCoeffs
char
{
specie
solidSpecie
{
nMoles 1;
molWeight 50;

View File

@ -59,7 +59,7 @@ dictionaryReplacement
}
}
Ypmma
pmma
{
internalField uniform 0.5;
@ -75,7 +75,7 @@ dictionaryReplacement
}
Ychar
char
{
internalField uniform 0.5;

View File

@ -50,7 +50,7 @@ dictionaryReplacement
}
}
Ypmma
pmma
{
internalField uniform 0.5;
@ -66,7 +66,7 @@ dictionaryReplacement
}
Ychar
char
{
internalField uniform 0.5;

View File

@ -50,7 +50,7 @@ dictionaryReplacement
}
}
Ypmma
pmma
{
internalField uniform 0.5;
@ -66,7 +66,7 @@ dictionaryReplacement
}
Ychar
char
{
internalField uniform 0.5;