View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003883 | OpenFOAM | Bug | public | 2022-09-13 10:42 | 2022-09-15 19:23 |
Reporter | cgoessni | Assigned To | henry | ||
Priority | low | Severity | feature | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | amd64 | OS | CentOS | OS Version | 7 |
Product Version | dev | ||||
Summary | 0003883: foamDictionary -expand does not work in case of custom #includeFunc | ||||
Description | When running foamDictionary with expand and a custom #includeFunc, this only succeeds when being inside the $FOAM_CASE folder, e.g. $ pwd /opt/OpenFOAM/OpenFOAM-git/tutorials/compressible/rhoCentralFoam/biconic25-55Run35 $ foamDictionary -expand system/controlDict # success $ cd system $ foamDictionary -expand controlDict # failure Is there a way to make foamDictionary succeed independent of the current working directory? | ||||
Tags | No tags attached. | ||||
|
You will have to rewrite includeFuncEntry to handle a path rather than a function name which would allow you to specify the path to the sample file for example so that it could be found no matter where you run foamDictionary from. |
|
Feature request. |
|
I have added the -case option to foamDictionary so now foamDictionary -case .. -expand controlDict works but there may be other issues it introduces so it might be removed after further testing if it is not reliable. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-09-13 10:42 | cgoessni | New Issue | |
2022-09-15 19:04 | henry | Note Added: 0012734 | |
2022-09-15 19:05 | henry | Severity | minor => feature |
2022-09-15 19:05 | henry | Assigned To | => henry |
2022-09-15 19:05 | henry | Status | new => closed |
2022-09-15 19:05 | henry | Resolution | open => no change required |
2022-09-15 19:05 | henry | Note Added: 0012735 | |
2022-09-15 19:23 | henry | Note Added: 0012736 |