ansys / ansys/pyacp

Performance of elemental_data

Open
#443 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
9
Forks
1
Avg merge
2d 9h
Merged PRs (30d)
10

Description

### 🔍 Before submitting the issue

- [X] I have searched among the existing issues

### 🐞 Description of the bug

Accessing the elemental data in a huge model takes seconds.

Mainly because all data is collected at once.

### ✅ Expected behavior

Retrieving data should be much more efficient

### 📝 Steps to reproduce

Open a huge model (ask René if you don't have one)
Ensure that the model is up-to-date (model.update())
access elemental data of a ply with many elements (ply.elemental_data)

### 📃 Relevant log output

None

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the delay with a large model, after running model.update(), and accessing ply.elemental_data as described. Trace how elemental data is collected and identify where the full dataset is assembled. Done means retrieving elemental data is measurably more efficient on a huge model without changing the expected result.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.