Open ragulselvaraj20 opened 7 months ago
Hi @ragulselvaraj20,
Can you describe the bug that you are experiencing? What output are you seeing that is not as expected? In your description you indicate you wish to optimise a mesh for element quality, however, in the snippet you show you are using skewness as the criteria.
Which method are you using for hex meshing?
🔍 Before submitting the issue
🐞 Description of the bug
I am trying to generate hex dominant mesh for solid body. there I am getting minimum element quality of 0.02, which I need to increase to 0.2.
📝 Steps to reproduce
improve = prime.VolumeMeshTool(model=model) params = prime.AutoNodeMoveParams( model=model, quality_measure=prime.CellQualityMeasure.SKEWNESS, target_quality=0.80, dihedral_angle=90, n_iterations_per_node=50, restrict_boundary_nodes_along_surface=True, n_attempts=10, )
improve.improve_by_auto_node_move( part_id=part.id, cell_zonelets=part.get_cell_zonelets(), boundary_zonelets=part.get_face_zonelets(), params=params, )
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2024R1
🐍 Which Python version are you using?
3.11
📦 Installed packages