ansys / pydpf-composites

A Python wrapper for Ansys DPF for the post-processing of composite structures.
https://composites.dpf.docs.pyansys.com
MIT License
8 stars 1 forks source link

Fix bug while processing ACP's imported solid models #469

Closed roosre closed 3 months ago

roosre commented 3 months ago

Analysis plies of imported solid models can be linked to homogeneous elements only. They are called filler plies. These analysis plies caused an error during the initialization of the the composite model.

In detail, the function get_analysis_ply_index_to_name_map ignores now the filler plies which are linked to homogeneous elements only.

In addition, two unit tests where added to ensure that imported solid models can be post-processed, and that ply-wise scoping is supported.

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.21%. Comparing base (77ffadc) to head (b3ed16c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #469 +/- ## ======================================= Coverage 92.20% 92.21% ======================================= Files 50 50 Lines 3348 3351 +3 ======================================= + Hits 3087 3090 +3 Misses 261 261 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.