View Issue Details

IDProjectCategoryView StatusLast Update
0002358OpenFOAMBugpublic2016-12-02 12:28
ReporterMattijsJ Assigned Tohenry  
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSOpenSuSEOS Version13.2
Product Versiondev 
Fixed in Versiondev 
Summary0002358: foamDictionary always regards '.' as separator.
DescriptionfoamDictionary cannot manipulate dictionaries with '.' in the key since these are seen as the scope separator. E.g. in motorBike snappyHexMeshDict:


Attached version of foamDictionary adds a -scope option to specify a different scope character.

TagsNo tags attached.



2016-11-29 15:03



2016-11-29 15:08

manager   ~0007356

If the scope character is changed in foamDictionary shouldn't it be changed in the rest of OpenFOAM?

What happens if the file name is given as a string which will be interpreted as a regular expression:



2016-12-02 10:20

reporter   ~0007377

Attached implements a fall-back at the dictionary level where at each level it first searches for motorBike, then etc. It does not need the -scope option anymore.


2016-12-02 12:28

manager   ~0007380

Resolved by commit 01083dd8775dbefd8ba96453ff8caa4ee5e1dcc6

Issue History

Date Modified Username Field Change
2016-11-29 15:03 MattijsJ New Issue
2016-11-29 15:03 MattijsJ File Added: foamDictionary_with_scope.tgz
2016-11-29 15:08 henry Note Added: 0007356
2016-12-02 10:20 MattijsJ File Added: foamDictionary_with_scope-2.tgz
2016-12-02 10:20 MattijsJ Note Added: 0007377
2016-12-02 12:28 henry Assigned To => henry
2016-12-02 12:28 henry Status new => resolved
2016-12-02 12:28 henry Resolution open => fixed
2016-12-02 12:28 henry Fixed in Version => dev
2016-12-02 12:28 henry Note Added: 0007380