View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003346 | OpenFOAM | Bug | public | 2019-09-10 12:15 | 2019-09-11 07:58 |
Reporter | Ramkumar47 | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | no change required | ||
Platform | Ubuntu | OS | Linux | OS Version | 1806 |
Summary | 0003346: foamGet function | ||||
Description | Hi, foamGet function gets most of the files, but i faced issue with files: fvOptions, fvSolution and fvSchemes. These files it says it cannot get. but when i manually search in the directory where it points at, i can find the files there. foamGet is a really great tool!!!!.. i love it.. Thanks Ramkumar | ||||
Additional Information | The command i ran $foamGet fvOptions output was: Error: no file fvOptions found (with or without file extensions) Usage: foamGet [OPTIONS] <file> options: -case | -c <dir> specify case directory (default = local dir) -ext | -e <ext> specify file extension, e.g -e cfg for files with ".cfg" -help | -h print the usage -no-ext | -n specify file without extension -target | -t <dir> specify target directory (default = system) Finds an example OpenFOAM case dictionary file in /opt/openfoam7/etc/caseDicts and copies it into the respective case directory, e.g. foamGet decomposeParDict foamGet extrudeMeshDict foamGet createPatchDict foamGet surfaces But the file was there $ cd /opt/openfoam7/etc/caseDicts | ||||
Tags | No tags attached. | ||||
|
I do not see an fvOptions file in etc/caseDicts, there is a directory, not a file; likewise for fvSolution. For fvSchemes I do not see a directory or file in etc/caseDicts. |
|
could you please add the "templates" folder also in the search path?, so that the other library files (like the ones i mentioned) can also be included in the foamGet. |
|
those files which i need is there in those templates folder. and i think it will improve the usage of foamGet if we add "templates" folder too to it |
|
The purpose of foamGet is to get generic files rather than case or solver specific files. In order to get suitable solver specific files more options would need to be added to foamGet and a directory of the many many possible files which would be a huge maintenance overhead. This would require funding. In order to get the files in the "templates" directory use foamCloneCase. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-10 12:15 | Ramkumar47 | New Issue | |
2019-09-10 13:52 | henry | Note Added: 0010719 | |
2019-09-11 07:42 | Ramkumar47 | Note Added: 0010726 | |
2019-09-11 07:44 | Ramkumar47 | Note Added: 0010727 | |
2019-09-11 07:58 | henry | Note Added: 0010728 | |
2019-09-11 07:58 | henry | Assigned To | => henry |
2019-09-11 07:58 | henry | Status | new => closed |
2019-09-11 07:58 | henry | Resolution | open => no change required |