CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Species transport in reacting twoPhaseEulerFoam (https://www.cfd-online.com/Forums/openfoam-solving/160719-species-transport-reacting-twophaseeulerfoam.html)

Polli October 12, 2015 11:17

Species transport in reacting twoPhaseEulerFoam
 
Hello,

i am faced with the following problem. I implemented reaction into the twoPhaseEulerFoam in OF2.4.0. I used the implementation of rhoReactingFoam. When i change the theroType from:
thermoType
{
type heRhoThermo;
mixture pureMixture;
transport const;
thermo hConst;
equationOfState perfectGas;
specie specie;
energy sensibleInternalEnergy;
}

mixture
{
specie
{
nMoles 1;
molWeight 28.9;
}
thermodynamics
{
Cp 1007;
Hf 0;
}
transport
{
mu 1.84e-05;
Pr 0.7;
}
}

To the following one which would be correct for combustion:
thermoType
{
type heRhoThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}

inertSpecie N2;

chemistryReader foamChemistryReader;

foamChemistryFile "$FOAM_CASE/constant/reactions";

foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";

The solver stops writing the species fields. Out of the oter fields i see that the solver is running right but he didn't write out any spezies field.


All times are GMT -4. The time now is 10:50.