View Issue Details

IDProjectCategoryView StatusLast Update
0004086OpenFOAMBugpublic2024-05-30 10:39
Reporterelaurila Assigned Towill  
Status resolvedResolutionfixed 
Product Versiondev 
Fixed in Versiondev 
Summary0004086: Read issue with polynomial Function1 and binary format
DescriptionAn 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:
Steps To Reproduce1. 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
TagsNo tags attached.


Issue History

Date Modified Username Field Change
2024-05-29 08:47 elaurila New Issue
2024-05-30 10:39 will Assigned To => will
2024-05-30 10:39 will Status new => resolved
2024-05-30 10:39 will Resolution open => fixed
2024-05-30 10:39 will Fixed in Version => dev
2024-05-30 10:39 will Note Added: 0013253