View Issue Details

IDProjectCategoryView StatusLast Update
0003167OpenFOAMBugpublic2019-02-21 20:04
Reportergskillas Assigned Tohenry  
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSopenSUSE LeapOS Version15.04
Product Versiondev 
Fixed in Versiondev 
Summary0003167: foamDictionary does not work with binary files
DescriptionTrying to use foamDictionary with fields written with binary on produces an error:

~/OpenFOAM/cfd-dev/run/pitzDaily > foamDictionary -entry dimensions 286/p

wrong token type - expected Scalar, found on line 22 the word '�Q��%��,�#�

file: 286/p at line 22.

    From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
    in file lnInclude/Scalar.C at line 93.

FOAM exiting
Steps To ReproduceTake the pitzdaily tutorial, set

writeFormat binary;

run it and then

foamDictionary -entry dimensions 100/p

TagsNo tags attached.



2019-02-12 23:54

manager   ~0010288

Correct, currently foamDictionary does not support binary files.


2019-02-21 20:04

manager   ~0010317

Resolved in OpenFOAM-dev by commit a4e6adcd54e72cbaa4077994301fa9aa7aa8463b

Issue History

Date Modified Username Field Change
2019-02-12 23:13 gskillas New Issue
2019-02-12 23:54 henry Note Added: 0010288
2019-02-21 20:04 henry Assigned To => henry
2019-02-21 20:04 henry Status new => resolved
2019-02-21 20:04 henry Resolution open => fixed
2019-02-21 20:04 henry Fixed in Version => dev
2019-02-21 20:04 henry Note Added: 0010317