View Issue Details

IDProjectCategoryView StatusLast Update
0003877OpenFOAMBugpublic2022-11-26 17:32
Reportertniemi Assigned Tochris  
PrioritylowSeveritytextReproducibilityN/A
Status closedResolutionfixed 
Product Version10 
Summary0003877: OpenFOAM user guide v10&v9, old description of dictionary syntax in 4.2.9 Macro expansion
DescriptionI 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
TagsNo tags attached.

Activities

kakila

2022-11-21 21:35

reporter   ~0012876

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.

tniemi

2022-11-22 06:26

reporter   ~0012877

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.

chris

2022-11-26 17:32

manager   ~0012882

Thanks for reporting. I think this is fixed now, with additional information about accessing entries from other files

Issue History

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