CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   updateConcsInReactionI (

gregor December 14, 2011 13:38

In openFoam2.0.x in the ODEChemistryModel.C-file in the updateConcsInReactionI-function it updates the concentrations by


  scalar sl = R.lhs()[s].stoichCoeff;
  c[si] -= dt*sl*omeg;

but since omega is in [kg/(m^3*s] the mass stoichiometric coefficient (normalised) instead of the molar stoichiometric coefficient should be taken, right ??


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