|
[Sponsors] |
Rereading of ReactingParcels fails if one of the Phases has a fraction of 0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 7, 2009, 16:10 |
In ReactingParcelIO.C there is
|
#1 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
In ReactingParcelIO.C there is an error that makes it fail if reading data from a previous run where some of the parcels have for instance a Y_liquid of 0 (division by zero). This patch fixes this:
ReactingParcelIO.patch BTW: I haven't tested it, but it occurred to me during fixing this that if there was for instance a species H2O in the liquid and the solid phase of the parcel they both would get written to lagrangian/YH2O. I'd propose calling them YlH2O and YsH2O just to avoid such clashes (however unlikely they might be)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Volume fraction to mass fraction | Torsaki | CFX | 10 | March 10, 2018 03:41 |
equilibrium between phases | chouki | FLUENT | 1 | August 27, 2008 17:29 |
How set volume fraction and species mass fraction | Reginaldo Cotto | FLUENT | 0 | August 31, 2006 04:58 |
RunFoamX fails | jvn | OpenFOAM Installation | 12 | August 11, 2005 11:12 |
SOR Fails Near Walls | Chih-Wei Chiu | Main CFD Forum | 0 | May 9, 2002 01:05 |