Python Code Snippet for Post-processing LS Dyna/Mechanical Results

Hello,
I am new to this forum. I have used ANSYS on and off and currently using WB to run some LS dyna and mechanical simulations with multilayer shells. I need to do some post-processing like finding maximum Principal stress and stress area integration + math on selected integration points for selected shells. ANSYS support team suggested I need to use PyDPF for this. Can you please advise how this can be done? I am not sure how to get started, import necessary libraries, variable names and calls. Ideally, same/similar code for LS dyna and mechanical will help.
I have APDL snippet which works for my post processing calculations for Mechanical which I can share. I will really appreciate your advice.
Best,
Hrishikesh
Comments
-
This seems to be above the level of support that can be offered through the forum. I don't have the specific details but indeed DPF seems to be a good fit. DPF can also be used inside Mechanical, if you are more comfortable this way compared to using PyDPF. There is a training on DPF available on the Ansys Learning Hub, where both Mechanical DPF and PyDPF are shown. Also, the PyDPF documentation will be useful : https://dpf.docs.pyansys.com/version/stable/ There is a Getting Started section: https://dpf.docs.pyansys.com/version/stable/getting_started/index.html
1