View Issue Details

IDProjectCategoryView StatusLast Update
0000315OpenFOAMBugpublic2011-10-21 11:45
Reporterrusselldub Assigned Touser2 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformAllOSOtherOS Version(please specify)
Summary0000315: chemFoam solver produces incorrect results for constant volume simulations
DescriptionThe pressure equation used for constant volume simulations assumes that the average molecular weight of the reactor remains constant, as R0 is never updated from its initial value.

The result incorrect calculation of pressure which, of course, affects all the other variables of interest. The most obvious error is that internal energy is not constant during the simulation.
Steps To ReproduceRun chemFoam with volume held constant. Compare with results from Cantera or Chemkin constant volume simulation for the same initial conditions.
Additional InformationFix is to update R0 on each time step to account for change in average molecular weight of mixture.
TagsNo tags attached.

Activities

user2

2011-10-21 11:45

  ~0000736

Thanks for the report - bug resolved by commit

52a2b307429e18862694acbc5ed6d35e35be2199

Issue History

Date Modified Username Field Change
2011-10-17 20:01 russelldub New Issue
2011-10-21 11:45 user2 Note Added: 0000736
2011-10-21 11:45 user2 Status new => resolved
2011-10-21 11:45 user2 Fixed in Version => 2.0.x
2011-10-21 11:45 user2 Resolution open => fixed
2011-10-21 11:45 user2 Assigned To => user2