View Issue Details

IDProjectCategoryView StatusLast Update
0001298OpenFOAMBugpublic2014-05-19 17:39
Reportertniemi Assigned Touser2 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001298: ReactingMultiphaseParcel, liquid evaporation crashes when switching processor
DescriptionIf all liquids evaporate completely from a parcel, the sum of YLiquid_ will be zero when the parcel crosses a processor boundary. This will cause a division by zero in function Foam::liquidMixtureProperties::X, which is called from Tvap at LiquidEvaporation.C.

TagsNo tags attached.

Activities

dkxls

2014-05-19 10:05

reporter   ~0003065

Just out of curiosity, which OpenFOAM version are you using?

-Armin

tniemi

2014-05-19 10:44

reporter   ~0003066

Up-to-date 2.3.x

user2

2014-05-19 11:40

  ~0003069

It should not be possible for the sum of liquid fractions to reach zero - can you provide a small test case which reproduces the error?

tniemi

2014-05-19 13:07

reporter  

reacting_test.tar.gz (10,215 bytes)

tniemi

2014-05-19 13:08

reporter   ~0003070

Ok, I've added a simple test case, which can be solved with reactingParcelFoam. The test case is slightly modified from parcelInBox-tutorial. The main difference is that I added solid species to the particle, so that it is not completely liquid. (I guess fully liquid particles are removed before this issue?) The division by zero will occur, when the particle switches processor.

Also, I noticed that we get the same issue if the simulation is restarted from a time step, where the liquid has evaporated. (using serial computation, parallel crashes before save) The "sum to one"-check is applied only when reading from the properties-file.

user2

2014-05-19 17:39

  ~0003071

Thanks for the report and test case - I've pushed a fix to avoid the error under commit 71ff5eb. We may revisit the method by which we pass the parcel specie fractions in parallel to avoid the sum of component fractions !=1 in future releases.

Issue History

Date Modified Username Field Change
2014-05-19 07:52 tniemi New Issue
2014-05-19 10:05 dkxls Note Added: 0003065
2014-05-19 10:44 tniemi Note Added: 0003066
2014-05-19 11:40 user2 Note Added: 0003069
2014-05-19 13:07 tniemi File Added: reacting_test.tar.gz
2014-05-19 13:08 tniemi Note Added: 0003070
2014-05-19 17:39 user2 Note Added: 0003071
2014-05-19 17:39 user2 Status new => resolved
2014-05-19 17:39 user2 Fixed in Version => 2.3.x
2014-05-19 17:39 user2 Resolution open => fixed
2014-05-19 17:39 user2 Assigned To => user2