Definition of reactions using reacingFoam
Hello everybody,
i am trying to use reacingFoam (OF 1.6)to simulate a combustion in a scramjet engine. My problem is that i dont know how to implement the reactions correctly. I use a hydogen-air combustion mechanism with 19 reactions including 9 species. my thermophysicalProperties: thermoType hPsiMixtureThermo<reactingMixture<gasThermoPhysics >>; //thermoType hPsiMixtureThermo<multiComponentMixture<gasThermoP hysics>> inertSpecie N2; chemistryReader foamChemistryReader; foamChemistryFile "$FOAM_CASE/constant/reactions"; foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas"; for example a part of my "reactions"-file //1 reversibleArrheniusReaction 1.0 H2 + 1.0 O2 = 1.0 HO2 + 1.0 H (1.0e14 0 56000) //2 reversibleArrheniusReaction 1.0 H + 1.0 O2 = 1.0 OH + 1.0 O (2.6e14 0 16800) i allways get a floating point exception error after some timesteps. maybe i am using the wrong units or something. Thank You for your help Gabriel |
All times are GMT -4. The time now is 07:50. |