extend dictionary directives
On an issue raised on cfd-online, the user was attempting to use #calc
to report dictionary values. For example,
myVariable 42;
#calc "Info << $myVariable << endl";
which supposed works somehow, but I cannot figure out how.
In a somewhat similar vein (in EP1742), they were misusing #calc
to perform string concatenation. For example,
_foName #calc #{ "some_prefix_solverInfo_${application}" #};
$_foName
{
type solverInfo;
libs (utilityFunctionObjects);
fields (".*");
}
#remove _foName;
As both cases illustrate, there must be a better way to solve this.