DPF scripting languages#

DPF is available as a standalone tool and as a tool in Ansys Mechanical. Each one uses a different language for scripting, so you should decide whether you want to use standalone DPF or DPF in Mechanical before creating any scripts.


Standalone DPF uses CPython and can be accessed with any Python console. Data can be exported to universal file formats, such as VTK, HDF5, and TXT files. You can use it to generate TH-plots, screenshots, and animations or to create custom result plots using the numpy and matplotlib packages.



DPF in Mechanical uses IronPython and is accessible with the ACT Console. Use it to perform custom postprocessing and visualization of results directly within the Mechanical application.