View Issue Details

IDProjectCategoryView StatusLast Update
0003617OpenFOAMBugpublic2021-01-25 11:02
ReporterjeigemannAssigned Tohenry 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version8 
Fixed in Version 
Summary0003617: Calculation of psiu and muu in heheuPsiThermo.C uses false temperature reference
DescriptionIn version 8 (and dev) the calculation of psiu and muu uses T as the temperature field instead of Tu, leading to wrong results for solvers using psiuReactionThermo, e.g. XiFoam. For the 'moriyoshiHomogeneous' turorial case this leads to wildly varying combustion progress at the end of the run, with <1 % for version 8 and ~40.5 % for version 7.
Steps To ReproduceRun the 'moriyoshiHomogeneous' turorial case with XiFoam in version 7 and 8. The difference in combustion progress is visible in the log.
Additional InformationFurther analysis showed that heheuPsiThermo.C uses different Temperature fields to calculate psiu and muu in version 8 vs 7, namely T instead of Tu. Modifying version 8 to use Tu for the calculation of psiu and muu leads to approximately equal combustion progress of ~40.5 % for both versions (see attached log files).
TagsNo tags attached.

Activities

jeigemann

2021-01-25 08:45

reporter  

log_v7.gz (308,461 bytes)
log_v8.gz (299,085 bytes)
log_v8_Mod.gz (308,489 bytes)

henry

2021-01-25 10:59

manager   ~0011826

Last edited: 2021-01-25 11:02

View 2 revisions

Thanks for reporting, resolved in

OpenFOAM-dev by commit e901e84eb2da0ccf11d613838bb601265bf35e51
OpenFOAM-8 by commit e0f23cae73e02928574507ff425518aedbc6ea5f

Issue History

Date Modified Username Field Change
2021-01-25 08:45 jeigemann New Issue
2021-01-25 08:45 jeigemann File Added: log_v7.gz
2021-01-25 08:45 jeigemann File Added: log_v8.gz
2021-01-25 08:45 jeigemann File Added: log_v8_Mod.gz
2021-01-25 10:59 henry Assigned To => henry
2021-01-25 10:59 henry Status new => resolved
2021-01-25 10:59 henry Resolution open => fixed
2021-01-25 10:59 henry Note Added: 0011826
2021-01-25 11:02 henry Note Edited: 0011826 View Revisions