Skip to main content
This is a quick-reference guide for PyDPF-Post. Jump to a section of your choosing with these links: Load results file | Fetch result metadata | Access mesh | Access results | Enable autocompletion for result quantities | Plot results | Create and manipulate a dataframe

Load results file

Instantiate a simulation object with the path to the results file: On Windows, load the result file:
On Linux, load the result file:

Fetch result metadata

Display metadata from the simulation object:

Access mesh

Access the mesh:

Access results

Get the displacement result:
Access the stress and strain results:

Enable autocompletion for result quantities

Postprocess result quantities using a physics-oriented API, which enables auto-completion: Return static simulation results:
Return modal simulation results:
Return transient simulation results and create an animation:
Return harmonic simulation results:

Plot results

Plot total deformation (norm of the displacement vector field) results:

Create and manipulate a dataframe

Create a DPF dataframe by extracting a result from a simulation, which can be manipulated and viewed differently:
Return the dataframe’s column labels:
Display the results index:
Display the values available in the index:
Change the number of data rows or columns displayed:
Select specific columns or rows, using index names as arguments for the DataFrame.select method and specified lists of values:
Extract displacement data as an array contained in a dataframe:

References from PyDPF-Post documentation