Skip to content
Discussion options

You must be logged in to vote

@tbraun84 For a single #include you can simply do file["#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. FoamFile objects are actually multi-mappings as the way to support this use case.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tbraun84
Comment options

Answer selected by tbraun84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants