Skip to main content
Learn the fundamental concepts behind the Data Processing Framework as used in Ansys Mechanical.

What is DPF?

DPF (Data Processing Framework) is a modern infrastructure for accessing and processing simulation data in Ansys Mechanical. It provides:
  • Efficient data access: Optimized for large simulation datasets
  • Flexible processing: Chain operations using operators
  • Integrated with Mechanical: Available in scripting window and Python Results
  • IronPython interface: Python syntax using underlying C# DLLs

Key concepts

Model

The Model is the entry point to your simulation data in DPF. In Mechanical, you typically create it from the current solution’s result file:
The Model provides access to:
  • Mesh information
  • Results data
  • Metadata (time steps, result types, etc.)

Fields

A Field is the fundamental data container in DPF. It contains:
  • Data: Numerical values (scalars, vectors, matrices)
  • Scoping: Which entities the data applies to
  • Support: Spatial/temporal context

Operators

Operators are processing units that transform data. They follow a functional programming pattern:
  • Take inputs (fields, meshes, parameters)
  • Perform operations
  • Produce outputs (fields, meshes, etc.)

Workflows

A Workflow chains multiple operators together for complex processing in Mechanical:

DPF in Mechanical Architecture

Data Flow in Mechanical

  1. Solve: Run analysis in Mechanical to generate result file (.rst)
  2. Access: Use DPF to connect to the result file
  3. Query: Request specific results (stress, displacement, etc.)
  4. Process: Use operators to transform data
  5. Display: Show results in Python Result object or extract values

Typical Mechanical Workflow

To go further (DPF framework)

Next Steps