View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001298 | OpenFOAM | Bug | public | 2014-05-19 07:52 | 2014-05-19 17:39 |
Reporter | tniemi | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0001298: ReactingMultiphaseParcel, liquid evaporation crashes when switching processor | ||||
Description | If 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. | ||||
Tags | No tags attached. | ||||
|
Just out of curiosity, which OpenFOAM version are you using? -Armin |
|
Up-to-date 2.3.x |
|
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? |
|
|
|
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. |
|
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. |
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 |
|
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 |
|
Note Added: 0003071 | |
2014-05-19 17:39 |
|
Status | new => resolved |
2014-05-19 17:39 |
|
Fixed in Version | => 2.3.x |
2014-05-19 17:39 |
|
Resolution | open => fixed |
2014-05-19 17:39 |
|
Assigned To | => user2 |