View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004086 | OpenFOAM | Bug | public | 2024-05-29 08:47 | 2024-05-30 10:39 |
Reporter | elaurila | Assigned To | will | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0004086: Read issue with polynomial Function1 and binary format | ||||
Description | An error is generated when a polynomial Function1 is read from a file that has been written with the binary write format on. The error occurs, for example, for boundary conditions which use polynomial Function1. It seems that when the dict is re-written by decomposePar, the polynomial coefficients themselves are written in binary, which then fails during read. Seems to be related to the commit: https://github.com/OpenFOAM/OpenFOAM-dev/commit/c3f131e816991dcb88cac34a08be4627013b0b9d | ||||
Steps To Reproduce | 1. Take e.g. $FOAM_TUTORIALS/multiphaseEuler/titaniaSynthesis case 2. In 0/U.vapour replace the inlet BC profile with some polynomial, e.g: profile laminarBL; --> profile polynomial (1); 3. Let writeFormat be ascii, run in parallel with Allrun --> starts to run fine 4. Change writeFormat to binary, run in parallel with Allrun --> gives a read error | ||||
Tags | No tags attached. | ||||
|
Thanks for the report. Fixed here: https://github.com/OpenFOAM/OpenFOAM-dev/commit/a4cba5b0d1ce2b292d80678054c51d07a4ce4289 |