CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Missing division by dt in COxidationMurphyShaddix (https://www.cfd-online.com/Forums/openfoam-bugs/76192-missing-division-dt-coxidationmurphyshaddix.html)

omarzouk May 17, 2010 15:43

Missing division by dt in COxidationMurphyShaddix
 
Hello,

In the Murphy-Shaddix submodel for char oxidation:
src/lagrangian/coalCombustion/submodels/surfaceReactionModel/COxidationMurphyShaddix/COxidationMurphyShaddix.C

In the statement:
const scalar qVol = sum(dMassVolatile)/(WVol_*Ap);

This is supposed to be a molar rate [kmol/m^2/s], so it should be divided by dt.


omarzouk May 17, 2010 15:59

Calculating heat-of-reaction in submodel: COxidationMurphyShaddix
 
In the char-oxidation submodels under:
OpenFOAM-1.6/src/lagrangian/coalCombustion/submodels/surfaceReactionModel/
for: C(s) + O2(g) => CO2(g)

[COxidationDiffusionLimitedRate] and [COxidationKineticDiffusionLimitedRate] calculate the heat of reaction based on the enthalpies of formation (i.e., chemical specific enthalpy), whereas [COxidationMurphyShaddix] calculates it based on the total (i.e., chemical plus sensible specific enthalpy) specific enthalpies.

henry May 18, 2010 12:22

Are you running OpenFOAM-1.6.x? It appears that the code snippet you posted is out of date and the latest version is in our git repository.

H

omarzouk May 18, 2010 15:19

Thanks for the reply.

I am running 1.6. However, I see that you advise me to switch to 1.6-x which seems to have addressed several implementation mistakes in 1.6.

Thanks.


All times are GMT -4. The time now is 03:28.