open-lasso-python / lasso-python

Home of the open-source CAE library lasso-python 🐍
BSD 3-Clause "New" or "Revised" License
50 stars 12 forks source link

D3plot: missing material ID #59

Open awoimbee opened 2 weeks ago

awoimbee commented 2 weeks ago

Hello, Some fields are not handled by this lib: https://www.dynamore.de/de/download/manuals/ls-dyna/archiv/ls-dyna-database-manual

What interests me is material ID, but it seems like this lib is also missing geometry data and more (see linked PDF).

At first i thought the solution was to parsed history_vars, but the more I read about d3plot, the more I'm lost :smile: :

codie3611 commented 2 weeks ago

We read the material aka part ids don't we?

awoimbee commented 1 week ago

Materials and part ids are different I see references to mattyp and part_material_type in this lib, but only in the d3plot writer, not in the reader

codie3611 commented 1 week ago

Hmmm I'm pretty sure we read any kind of ids there is for either parts or materials. Maybe I confused it somewhere in the terminology. Maybe check the id arrays if there is something. The d3plot has multiple id arrays redundantly. part_material_type is just the material type number not the material id.