-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I write the dictionary without key in snappyHexMeshDict? #293
Comments
@zzkluck Thanks for the report. I hadn't considered this case, so indeed I don't think there's a way to read/write something like this now. I'll try to get a fix out as soon as possible. |
@zzkluck Thanks again. Version 0.8.0 is now out and should fix this. Feel free to reopen otherwise. |
Actually, 0.8.0 is not yet published on PyPI because the release workflow bumps into a setuptools bug (pypa/setuptools#4759). Sorry about that. I'll keep trying to publish it |
0.8.0 is now out |
Thank you for such a quick update, now my code can work well! |
I am trying to generate a
snappyHexMeshDict
and encountering such an example. The wholesnappyHexMeshDict
I want is like:That's
a list of dictionary without keys
. It seems that openfoam uses a very different syntax here than it does elsewhere. My intuition is that will work:But this will output:
I tried several other methods, but found it difficult. What I can do here?
The text was updated successfully, but these errors were encountered: