BUG: reading a labelList preceded by its size in a binary-format dictionary throws FatalError
Summary
When FoamFile.format
is binary
in a dictionary, a labelList keyword preceded by its size, e.g. labelList 1(1);
is not read, and FatalError
is thrown due to operator>>. The problem in practice is that CSV.C writes out a labelList entry with its size at writeTime. When a restart is needed, the simulation fails.
Steps to reproduce
tutorials/combustion/reactingFoam/RAS/chokedNozzle
Make the following changes thereat:
format binary;
componentColumns 1( 2 );
./Allrun
Environment information
- OpenFOAM version : dev-13Nov
- Operating system : osuse 15.1
- Compiler : gcc
cross-ref EP#1176