Ansys Learning Forum Forums Discuss Simulation LS Dyna Load matsum file in Ansys DPF Python Reply To: Load matsum file in Ansys DPF Python

mrife
Ansys Employee

Hi @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

 

Â