CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Bugs


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 14, 2011, 13:38
Default updateConcsInReactionI
Gregor Olenik
Join Date: Jun 2009
Posts: 79
Rep Power: 8
gregor is on a distinguished road
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 ??

gregor is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 00:25.