-
-
October 26, 2024 at 3:49 am
anhtung.ho
SubscriberHello, after I run LS-run to obtain d3plot and matsum files. How can I take data like part's acceleration and HIC15 from matsum file using ansys.dpf.core? Could you please give me an example code? Thank you so much.Â
-
October 28, 2024 at 3:26 pm
mrife
Ansys EmployeeHi @anhtung.ho
PyDPF supports the d3plot and binout files for reading; you could write the matsum data to the binout file and access it there. The LS-Dyna example on the PyDPF Core documentation site has an example of accessing that data from the binout file (about half way down the page): https://dpf.docs.pyansys.com/version/stable/examples/14-lsdyna/00-lsdyna_operators.html#sphx-glr-examples-14-lsdyna-00-lsdyna-operators-py
The matsum file itself is an ascii file so you could open it via Python and parse out the necessary data. You can pose scripting questions here, https://discuss.ansys.com/ , though normally for Ansys product scripting questions. But you may find someone to discuss this with there. Or you can pose this to the PyDPF GitHub Discussion site here https://github.com/ansys/pydpf-core/discussions
Mike
Â
Â
-
- You must be logged in to reply to this topic.
-
2773
-
960
-
830
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.