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

Checking ispgfh1 == 11 #34

Closed osullivryan closed 1 year ago

osullivryan commented 1 year ago

https://github.com/open-lasso-python/lasso-python/blob/2efed713789285ab5840fe6c5c50f0a72c8eeb3b/lasso/dyna/d3plot.py#L2232

I think the ispgfh1 entry in the sph header is actually the number of SPH particles (or around that), and therefor this check throws an error when it shouldn't.

I don't quite know how to interpret the LS-DYNA binary manual for this portion of the d3plot file, however!

image

codie3611 commented 1 year ago

Hmmmm I agree there might be a false alarm. What solver version do you use and what is the exact error?

osullivryan commented 1 year ago

Close for now as I need to do some more investigation!