View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003877 | OpenFOAM | Bug | public | 2022-08-29 12:15 | 2022-11-26 17:32 |
Reporter | tniemi | Assigned To | chris | ||
Priority | low | Severity | text | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 10 | ||||
Summary | 0003877: OpenFOAM user guide v10&v9, old description of dictionary syntax in 4.2.9 Macro expansion | ||||
Description | I noticed that in the user guide in section 4.2.9 Macro expansion, the description of slash and dot syntax is mixed up and not fully updated. The first example in the guide uses the newer slash syntax, but the rest refer to the older dot syntax. Using the '/' symbol is also called "dot" syntax. https://doc.cfd.direct/openfoam/user-guide-v10/basic-file-format | ||||
Tags | No tags attached. | ||||
|
The issue has been commented here https://www.cfd-online.com/Forums/openfoam-pre-processing/245944-macro-expression-openfoam-10-a.html#post839742 It seems the dot notation is not working, or at least it doesn't work properly with the ":" symbol to indicate root scope. In my case I could only make my files work with v10 if I completely moved to the slash "/" and exclamation "!"notation. This is contrary to the comments in the code cited in that discussion. |
|
I guess the best documentation for the new, default slash syntax is given in this commit: https://github.com/OpenFOAM/OpenFOAM-dev/commit/6c8732df5b38da3252e3d132b53519b0d187e485 The old dot syntax is still available, but it has to be manually activated via OptimisationSwitches as explained in the commit message. |
|
Thanks for reporting. I think this is fixed now, with additional information about accessing entries from other files |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-08-29 12:15 | tniemi | New Issue | |
2022-09-19 14:12 | wyldckat | Assigned To | => chris |
2022-09-19 14:12 | wyldckat | Status | new => assigned |
2022-11-21 21:35 | kakila | Note Added: 0012876 | |
2022-11-22 06:26 | tniemi | Note Added: 0012877 | |
2022-11-26 17:32 | chris | Status | assigned => closed |
2022-11-26 17:32 | chris | Resolution | open => fixed |
2022-11-26 17:32 | chris | Note Added: 0012882 |