SurfaceFeatureExtract cannot handle filenames starting with numerals.
Summary
When the filename of the geometry file in surfaceFeatureExtractDict starts with numerals, the applications quits with an error. However, filenames starting with numerals are legitimate filenames.
Steps to reproduce
The issue can be reproduced by renaming the name of the geometry file to be processed to one starting with numerals, and making the corresponding change in the surfaceFeatureExtractDict.
Example case
A simple example case has been added to this bug report.
001_surfaceFeatureExtract_FileName_Bug.tar.gz
What is the current bug behaviour?
When surfaceFeatureExtract is run, and the name of the geometry file starts with numerals, surfaceFeatureExtract quits with the following error:
--> FOAM FATAL IO ERROR:
Expected a '(' or a '{' while reading List, found on line 17: word '_cfdValidation_8mm_15deg_001.stl'
file: /home/simuser001/OpenFOAM/simuser001-plus/run/RJ990_Issue_Testing/001_surfaceFeatureExtract_FileName_Bug/system/surfaceFeatureExtractDict at line 17.
From function char Foam::Istream::readBeginList(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 134.
FOAM exiting
What is the expected correct behavior?
The expectation is that the application surfaceFeatureExtract find the geometry file specified in the dict, extracts the edges, and quits without any error.
Relevant logs and/or images
-NA-
Environment information
OpenFOAM version : 1812 Operating system : CentOS 7 Compiler : GCC 4.8.5
Possible fixes
None so far.