Skip to content
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

added feature snapping criteria to snappyHexMeshDict and changed decomposition method #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SiHubb
Copy link

@SiHubb SiHubb commented Sep 25, 2023

I think the issue was not snapping correctly around the features. There are some inputs into shmDict that control feature snapping that were missing, so I grabbed them from the template dict (foamGetDict snappyHexMeshDict). The .eMesh file input is only for resolution control, not snapping.

FYI I ran this on v2206, but worked fine.

Ignore the constant/polyMesh/boundary file update, I just didn't clean up well enough afterwards...

After a closer look there was still some unpleasantness around the boundaries. I tweaked blockMeshDict and the writePrecision (probably doesn't affect the result, just habit) and changed the decomposition from hierarchical to scotch. I generally use scotch as it has good processor face sharing. You have to be careful with hierarchical when choosing the x y z decomposition relative to the geometrical extent in each direction.

@SiHubb SiHubb changed the title added feature snapping criteria to shmDIct added feature snapping criteria to snappyHexMeshDict Sep 25, 2023
@SiHubb SiHubb changed the title added feature snapping criteria to snappyHexMeshDict added feature snapping criteria to snappyHexMeshDict and changed decomposition method Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant