HenningScheufler / multiDimAMR

dynamic meshing with load balancing for hexahedral meshes in 3D and 2D
45 stars 24 forks source link

Unable to read cellLevel from snappy-hex-mesh utility mesh #6

Closed Bumble-7 closed 2 years ago

Bumble-7 commented 2 years ago

Dear Authors, I have compiled the multi-dim-AMR and trying to run the simulation having multi regions. I have referred to the tutorials present in the following directory. TwoPhaseFlow/modules/multiDimAMR/tutorials The initial refined cells are further refined even though the cellLevel variable is correctly present in the initial time step.

No tutorial is using snappy hex mesh utility, but it has the refinemeshDict which is not being called. So could you please tell me if the snappy hex mesh is compatible? If not, any other method to refine the initial mesh?

Thank you

Bumble-7 commented 2 years ago

I figured out that the split-region utility which creates the files for different regions is not creating the label-list file for different regions. Currently, I am adding those files manually. If that is done, the cell levels are read from the initial condition. Let me know if there is a direct way to do this.

Thank you

Bumble-7 commented 2 years ago

Could you please provide a tutorial consisting of the multi-regions and using snappy hex mesh? Even though for single phase dynamicMeshDict is successful, for multi-region I am facing some issues. It is unable to refine the cells which are near the solid region. As the snappyhexmesh is used in most cases, providing such a tutorial might be really helpful.

Thank you

HenningScheufler commented 2 years ago

This Library only works with hex cells or wedge (2D axsym) so it will not work with snappy