Title: Errors with d3plot sph_* and part_* outputs. · Issue #67 · open-lasso-python/lasso-python · GitHub
Open Graph Title: Errors with d3plot sph_* and part_* outputs. · Issue #67 · open-lasso-python/lasso-python
X Title: Errors with d3plot sph_* and part_* outputs. · Issue #67 · open-lasso-python/lasso-python
Description: 🐛 Describe the bug Multiple issues with d3plot SPH data being read incorrectly. NRBs are read as parts 🔢 To Reproduce 1. 1.1. Read d3plot (d3plot = D3plot(filepath)) 1.2. Read sph data: arr = d3plot.arrays['sph_mass'] arr.shape will be (...
Open Graph Description: 🐛 Describe the bug Multiple issues with d3plot SPH data being read incorrectly. NRBs are read as parts 🔢 To Reproduce 1. 1.1. Read d3plot (d3plot = D3plot(filepath)) 1.2. Read sph data: arr = d3plo...
X Description: 🐛 Describe the bug Multiple issues with d3plot SPH data being read incorrectly. NRBs are read as parts 🔢 To Reproduce 1. 1.1. Read d3plot (d3plot = D3plot(filepath)) 1.2. Read sph data: arr = d3plo...
Opengraph URL: https://github.com/open-lasso-python/lasso-python/issues/67
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Errors with d3plot sph_* and part_* outputs.","articleBody":"**🐛 Describe the bug**\nMultiple issues with d3plot\n1. SPH data being read incorrectly.\n2. NRBs are read as parts\n\n**🔢 To Reproduce**\n1.\n1.1. Read d3plot (d3plot = D3plot(filepath))\n1.2. Read sph data: arr = d3plot.arrays['sph_mass']\narr.shape will be (N, ) with N being the number of states.\nThe same holds for many other SPH outputs (sph_n_neighbors, sph_density, ...)\nsph_n_neighbors actually returns the density of individual particles. sph_density and sph_mass return some incorrect arrays (sometimes with negative values)\n\n2.\n2.1. Read d3plot (d3plot = D3plot(filepath))\n2.2. parts = d3plot.arrays['part_ids'] \nparts will include ids of *CONSTRAINED_NODAL_RIGID_BODY\nThe same happens with part_kinetic_energy, where kinetic energy of NRBs is included.\n\n**💘 Expected behavior**\n1.\nFor sph data, return the overall correct sph_mass, density etc.. or\nreturn an array (N, X) where N is the number of states and X is the number of particles \n2.\nFor parts, exclude nrbs from part_* outputs.\n\n**🖥️ Setup**\n - lasso-python version: [2.0.3]\n - OS: [Windows 11]\n - LS-Dyna R14.0.0\n\n\n","author":{"url":"https://github.com/marcodesiderio","@type":"Person","name":"marcodesiderio"},"datePublished":"2025-03-06T16:57:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/67/lasso-python/issues/67"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6959e375-3641-9255-428a-f52c31d70c2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAF8:17CB33:126216:182D33:698E5CEA |
| html-safe-nonce | 5395c4169ced10fc3d94d58ca04b59d36e704dc3931b14f4ef0497918530b674 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUY4OjE3Q0IzMzoxMjYyMTY6MTgyRDMzOjY5OEU1Q0VBIiwidmlzaXRvcl9pZCI6IjU5Mjc1NzY5NTM1OTA1Mzc0NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e74257cb997a3b3c5525d0d1d1c8c2223ce08c422ad54255d9a3053534338b7f |
| hovercard-subject-tag | issue:2900945402 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/open-lasso-python/lasso-python/67/issue_layout |
| twitter:image | https://opengraph.githubassets.com/92af0ec1b1b217cfa9dd7bb6e5d46dbeda6ee0163e4bfdf7ef605899fee410b8/open-lasso-python/lasso-python/issues/67 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/92af0ec1b1b217cfa9dd7bb6e5d46dbeda6ee0163e4bfdf7ef605899fee410b8/open-lasso-python/lasso-python/issues/67 |
| og:image:alt | 🐛 Describe the bug Multiple issues with d3plot SPH data being read incorrectly. NRBs are read as parts 🔢 To Reproduce 1. 1.1. Read d3plot (d3plot = D3plot(filepath)) 1.2. Read sph data: arr = d3plo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marcodesiderio |
| hostname | github.com |
| expected-hostname | github.com |
| None | 666e30cc1de8ebdf458084bf731e95deba4f074a5008f91b50803aa9a71e3725 |
| turbo-cache-control | no-preview |
| go-import | github.com/open-lasso-python/lasso-python git https://github.com/open-lasso-python/lasso-python.git |
| octolytics-dimension-user_id | 114169132 |
| octolytics-dimension-user_login | open-lasso-python |
| octolytics-dimension-repository_id | 540129748 |
| octolytics-dimension-repository_nwo | open-lasso-python/lasso-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 540129748 |
| octolytics-dimension-repository_network_root_nwo | open-lasso-python/lasso-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f2d67bd549813f8aceb31f205ebdb434e9d46d38 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width