CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

updateConcsInReactionI

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 14, 2011, 13:38
Default updateConcsInReactionI
  #1
Member
 
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 78
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

Code:
  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
gregor is offline   Reply With Quote

Reply

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 13:39.