Export data#
Data in DPF 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.
These tutorials explain how to export data from your manipulations with PyDPF-Core.
VTK Export#
Learn how to export data to [VTK formats](https://docs.vtk.org/en/latest/vtk_file_formats/index.html). VTK (Visualization Toolkit) is a widely used open-source software system for 3D computer graphics, image processing, and visualization. DPF’s VTK export capabilities allow you to save your simulation results in VTK file formats, such as VTU (VTK Unstructured Grid), which can be easily visualized and analyzed using popular tools like ParaView and VisIt.
Use the migrate_to_vtu operator to quickly export entire simulation
result files to VTU format for visualization in ParaView.
Use the vtu_export operator to export processed DPF data objects
(meshes and fields) directly to VTU format with fine-grained control.
Other Export Formats#
Note
Export data to HDF5 format for efficient storage and processing.