View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004046 | OpenFOAM | Bug | public | 2024-01-12 13:03 | 2024-01-12 14:50 |
Reporter | cgoessni | Assigned To | henry | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | not fixable | ||
Platform | amd64 | OS | Debian | OS Version | stable |
Product Version | dev | ||||
Summary | 0004046: foamDictionary returns first entry when keyword specified more than once | ||||
Description | According to https://doc.cfd.direct/openfoam/user-guide-v11/basic-file-format, and behaviour of allmost all OpenFOAM tools, if there is a keyword specified more than once, the last entry is used. However, foamDictionary does not follow this practise when using > foamDictionary -entry multipleDefinedEntry dictFile which shows the first entry, not the last. When using the -expand option, the documented behaviour (last entry displayed) is observed. | ||||
Steps To Reproduce | E.g., add "application test" to any of the tutorials controlDict to the end of the file, and run: > foamDictionary -entry application system/controlDict application foamRun; > foamDictionary -expand -entry application system/controlDict application test; | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-01-12 13:03 | cgoessni | New Issue | |
2024-01-12 14:16 | henry | Note Added: 0013182 | |
2024-01-12 14:38 | cgoessni | Note Added: 0013183 | |
2024-01-12 14:50 | henry | Assigned To | => henry |
2024-01-12 14:50 | henry | Status | new => closed |
2024-01-12 14:50 | henry | Resolution | open => not fixable |