Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
openfoam
openfoam
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 352
    • Issues 352
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • openfoamopenfoam
  • Issues
  • #1498

Closed
Open
Opened Nov 14, 2019 by Kutalmis Bercin@kutiDeveloper

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

@mark

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: Development/openfoam#1498