Sales +91 (40) 49481034

Support +91 (40) 49481005

Services +91 (40) 49481008

Training +91 (40) 49481004


You are here:  Products  ›  Additional software  ›  Diffpack

The development environment for describing and solving partial differential equations

Diffpack is an object-oriented development environment for programming individual, customer-specific FEM solvers. Diffpack is especially well-suited for solving physical issues that are not covered by standard FEM programs, like the distribution of oxygen concentration in a chemical process. Diffpack allows users to program a corresponding FEM module for every physical issue, and provides more than 600 predefined C++ classes and objects to be able to implement features and methods easily and conveniently. Diffpack functionalities include mixed finite element approaches, adaptive networking, or parallel equation solvers..

Diffpack and ANSYS

So that users do not have to learn to use a second program or have special mathematics and programming knowledge, Diffpack can be seamlessly integrated into ANSYS Workbench. You can then access the DIffpack elements and solver from your usual user interface. All preprocessing (material data, networking, limiting conditions, contact modeling) takes place in ANSYS Workbench. The Diffpack solver is accessed directly from ANSYS with this data, and the results are made available for evaluation in the ANSYS Workbench. ANYS can thereby be expanded for any physical issue with individually designed modules. As a result, the Diffpack functions are available to every ANSYS user, not just the specialists.

Simulation of oxygen distribution in a chemical process

An issue arose for an existing ANSYS user that initially could not be solved with the conventional tools from ANSYS. The distribution of the oxygen concentration resulting from a chemical process needed to be calculated. The oxygen concentration (gOx) and the resulting temperature distribution were of primary interest, as they were to be used as the initial condition for a thermal transient analysis. It was important to the customer that no new FEM system would need to be introduced.

In this case, the appropriate solution for calculating the oxygen distribution was programmed with Diffpack and then implemented with the Mechanical Application Wizard in ANSYS. For the application, the FEM model was networked in the usual manner in ANSYS Workbench, and the limiting conditions, loads and solutions settings were set. Then all the required data was forwarded from ANSYS Workbench to the Diffpack Solver, which was then started in order to solve the task. After the calculation was completed, the results were written in a file that could be read by ANSYS Workbench so that post-processing could take place there.


Electrical-chemical-thermal-mechanical simulation of lithium ion batteries

At the Fraunhofer Institut (IFAM) in Oldenburg, Diffpack was used to develop an FEM and FDM solver for electrical-chemical-thermal-mechanical simulations (Christensen-Newman model) of lithium ion battery cells. Contrary to the commercial FEM Tools in which not all physical phenomena could be modeled, the underlying physical differential equations could be programmed in Diffpack.

Programming was especially easy with the functionality available in the Diffpack library for handling systems with linked differential equations and the required equation solvers. Implementing the Diffpack solution was done with the help of mathematicians from the InuTech company (manufacturer of Diffpack).


Performance characteristics

The object-oriented class library from Diffpack, with particular focus on finite element modeling and calculation, is based on the C++ programming language and provides flexible implementation of a customer-specific solver. The required features and methods in the form of classes and objects are easy and convenient to use.

A custom-tailored FEM solver can be developed with the C++ libraries from Diffpack to enhance the functionality of standard FEM programs like ANSYS. Diffpack contains more than 600 C++ classes with functionalities ranging from elementary data structures to sophisticated modules like mixed finite element approaches, adaptive networking, and parallel calculating.

Every FEM module programmed in Diffpack can be seamlessly integrated into ANSYS Workbench. This lets you access all pre- and post-processing functionalities from ANSYS.

Diffpack supports the selection of all application-relevant sizes for the duration of the program, starting with simple scalar parameter values to abstract sizes like elements, matrices, and equation solvers. The user can draw up complicated experiments, for example a loop with different solutions, and/or preconditioning strategies. In addition, reports can be generated automatically including numerical results, images, and animation of calculation results.

Your own developments, for example a Fortran code, can be quickly integrated into Diffpack by programming a "thin" communications interface. This functionality provides an easy enhancement for Diffpack that is custom-tailored to the user's relevant field of specialty. In addition, Diffpack includes a variety of software tools with which the quality of the user programming can be optimized.

You don't have to be a mathematician or programmer to be able to make use of Diffpack functionalities. You explain your physical problem and we develop the appropriated FEM environment based on Diffpack. No special knowledge is required to use the FEM module.

  • Bosch
  • CalCom
  • Cambridge University
  • Canon
  • CEA
  • Daimler
  • Furukawa
  • Harvard University
  • Intel
  • Mitsubishi
  • NASA
  • Nestle
  • Nippon Steel
  • Shell
  • Siemens
  • Stanford University
  • Statoil
  • Thyssen Krupp Steel
  • VAI
  • Veritas University
  • Xerox
Your start in the world of simulation

Your start in the world of simulation

  • Introduce simulation safely
  • 4 steps to be operational
  • Accompaniment throughout the process


CADFEM-ANSYS ATC is a single stop shop for knowledge sharing to fulfill the skill gap between industry and academia.