View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000326 | OpenFOAM | Bug | public | 2011-10-27 00:20 | 2011-10-31 09:23 |
Reporter | russelldub | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | ALL | ||||
Summary | 0000326: Printing reactions causes fatal error | ||||
Description | Printing a Reaction (to an Ostream) outside of the chemistry reader that constructed it causes a fatal error because the speciesTable object gets deleted with the chemistry reader (in reactingMixture constructor). | ||||
Steps To Reproduce | Download and compile attached example application (chemFoamEx1). Run chemFoam tutorial (e.g. h2) with chemFoamEx1. | ||||
Additional Information | Proposed fix: Make speciesTable_ member of chemistry readers static. See attached chemkinReader source that works for me. foamChemistryReader should be updated as well. | ||||
Tags | No tags attached. | ||||
|
|
|
If the speciesTable_ member is made static it will not be possible to instantiate more than one chemistry reader as the speciesTable_ would effectively be shared between them. We need a solution which avoids this restriction. |
|
Thanks for the report - output behaviour has been corrected by commit 1ff9f361. Also see commits 47bd9ba9 and 23470a59 which relate to updates for the chemkinToFoam utility and reaction I/O. |
|
Apologies if I'm doing something silly, but I'm not seeing any of the commits mentioned. Did they not get pushed to github or am I missing something? |
|
indeed - apologies - all should now be up to date |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-10-27 00:20 | russelldub | New Issue | |
2011-10-27 00:20 | russelldub | File Added: rxnPrintBug.tgz | |
2011-10-27 09:29 | henry | Note Added: 0000756 | |
2011-10-27 14:06 |
|
Note Added: 0000763 | |
2011-10-27 14:06 |
|
Status | new => resolved |
2011-10-27 14:06 |
|
Fixed in Version | => 2.0.x |
2011-10-27 14:06 |
|
Resolution | open => fixed |
2011-10-27 14:06 |
|
Assigned To | => user2 |
2011-10-28 23:03 | russelldub | Note Added: 0000772 | |
2011-10-28 23:03 | russelldub | Status | resolved => feedback |
2011-10-28 23:03 | russelldub | Resolution | fixed => reopened |
2011-10-31 09:23 |
|
Note Added: 0000778 | |
2011-10-31 09:23 |
|
Status | feedback => resolved |
2011-10-31 09:23 |
|
Resolution | reopened => fixed |