ansys / ansys/pyprimemesh

Bug located in ... mesh quality improvement for hex dominant mesh

Open
#717 2 comments 0 reactions 0 assignees View on GitHub
aps bug triage
Dominant language
Python
Stars
35
Forks
14
Avg merge
3d 5h
Merged PRs (30d)
11

Description

### 🔍 Before submitting the issue

- [X] I have searched among the existing issues
- [X] I am using a Python virtual environment

### 🐞 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

```shell
all the required pyprime packages
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported solid-body hex-dominant mesh case on Windows with Python 3.11, Ansys 2024R1, and the shown VolumeMeshTool and AutoNodeMoveParams call. Inspect the resulting minimum element quality and the mesh-improvement operation; done means establishing why quality remains near 0.02 and whether the reported configuration can reach the requested 0.2.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.