|
I have a need to use some of the helper dictionaries from openfoam. |
Replies: 1 comment 1 reply
|
@tbraun84 For a single If you need more than one include, you have to use |
|
I have a need to use some of the helper dictionaries from openfoam. |
|
@tbraun84 For a single If you need more than one include, you have to use |
@tbraun84 For a single
#includeyou can simply dofile["#include"] = '"user-defined"'.If you need more than one include, you have to use
file.add("#include", '"user-defined"')to avoid overwriting the other includes.FoamFileobjects are actually multi-mappings as the way to support this use case.