Skip to content

GitLab

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

Closed
Open
Created Nov 14, 2019 by Kutalmis Bercin@kutiMaintainer

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
Time tracking