read_dict
Read a specific entry or the full contents of an OpenFOAM dictionary file, returning the targeted value or complete dictionary.
Instructions
Read an OpenFOAM dictionary file. If entry is given (foamDictionary
path syntax, e.g. 'endTime' or 'solvers/p/solver') and OpenFOAM is
installed, return just that entry's value; otherwise return full contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| entry | No |