SoftwareX (May 2023)

TDF: A compact file format plugin for FEniCS

  • Anthony Dowling,
  • Lin Jiang,
  • Ming-Cheng Cheng,
  • Yu Liu

Journal volume & issue
Vol. 22
p. 101329

Abstract

Read online

The Finite Element Method (FEM) is an important numerical method to solve Partial Differential Equations (PDEs). The widely used open source FEM platform — FEniCS, supports Hierarchical Data Format 5 (HDF5), which is very effective at storing and organizing large amounts of simulation data. However, HDF5 files can become prohibitively large for certain engineering applications, such as the thermal simulation of CPUs. Thus, this paper introduces a Type-Length-Value data format (TDF) plugin for compact storage of the FEM simulation solutions. Our Type-Length-Value (TLV) encoding implementation can be readily expanded to store more generic mathematical data generated by engineering and scientific applications. The evaluation results indicate that the TDF format could lead to a ≈95% space savings in our illustrated example. Meanwhile, the read/write speed has been improved compared to HDF5 used by FEniCS.

Keywords