Bug located in ... changing offset size for multiple bodies in stack direction for hex meshing
Closed this issue ยท 2 comments
๐ Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
๐ Description of the bug
In stack direction, there are 5 bodies are there. All are having different thickness in the stack direction. During the hex mesh generation, keeping the same maximum offset distance in the stack direction leading to high mesh count. In order to reduce the mesh count, offset distance need to be changed.
๐ Steps to reproduce
How to change offset distance in the stack direction for multiple bodies.
๐ป Which operating system are you using?
Windows
๐ Which ANSYS version are you using?
ANSYS 2023R2
๐ Which Python version are you using?
3.8
๐ฆ Installed packages
pyprimemesh
I would recommend using size controls to control the number of layers on each body , this would provide a control and reduce the mesh count.
We have added an example to demonstrate this scenario for Volume Sweep feature . The example shows how to use edge sizing to define the number of cells through each layer. A named selection is defined in the scdoc for the edges and is named such that the length of the edges is included in the name. This is then used to define the number of cells through each volume.
Please do find the link to the example below
CC: @ninad-kamat , @waltersma
Hi @ragulselvaraj20,
If it is ok with you I will move this to the discussions and class it as question answered? Please let me know if this is not the case and we can re open. (Cc @agvarghe)
Thanks!