An error occurred while fetching participants.
getApplication does not work with #calc statements in the controlDict
When there are #calc statements in the controlDict (either directly or as an #include), the function getApplication fails because the output from foamDictionary includes all the output statements from #calc. This is fixed by adding a tail -1 as follows to the getApplication function: foamDictionary -entry application -value system/controlDict | tail -1 Examples of issue shown below: controlDictinput.txt