View Issue Details

IDProjectCategoryView StatusLast Update
0000315OpenFOAM[All Projects] Bugpublic2011-10-21 11:45
ReporterrusselldubAssigned Touser2 
Status resolvedResolutionfixed 
PlatformAllOSOtherOS Version(please specify)
Product Version 
Fixed in Version 
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.



2011-10-21 11:45


Thanks for the report - bug resolved by commit


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