Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #539
Closed
Open
Issue created Jul 19, 2017 by Admin@OpenFOAM-adminMaintainer

IOobjectList does not fail gracefully when reading invalid FoamFiles

In my case, I use a file constant/turbulenceProperties.template to fill/select turbulence properties at run time. This is seemingly fine for all other utilities, i.e., the correct file, constant/turbulenceProperties is read. However, when running postProcess, the template file is loaded. It looks like this occurs because postProcess reads all objects in the constant directory (actually, all fields regardless of -fields argument).

selectedFields should be used in the executeFunctionObjects function, or the list of constantObjects be filtered gracefully. On the other hand, maybe I'm doing something unwise by putting a template file in there that sort of looks like a dictionary.

Edited Jul 27, 2017 by Admin
Assignee
Assign to
Time tracking