[Feature request] Macro expansion: Access keywords from separate files
Hello,
If I am not mistaken, It appears that OpenFOAM ESI versions do not provide a way to access external keywords from separate files.
OpenFOAM 9 and newer versions allow accessing keywords from separate files with the following syntax:
aValue $FOAM_CASE/otherFile!foo;
aValue
will have the value of $foo
from the file otherFile
within the case.
My workaround is to use a temporary dictionary with include to access the external keyword, e.g:
temp_dict
{
#include "otherFile"
}
aValue $temp_dict/foo;
#remove temp_dict
Is this feature already available that I am not aware of?
Thank you