TDF: A compact file format plugin for FEniCS

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,...

Full description

Bibliographic Details
Main Authors: Anthony Dowling, Lin Jiang, Ming-Cheng Cheng, Yu Liu
Format: Article
Language:English
Published: Elsevier 2023-05-01
Series:SoftwareX
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2352711023000250
_version_ 1797818638959378432
author Anthony Dowling
Lin Jiang
Ming-Cheng Cheng
Yu Liu
author_facet Anthony Dowling
Lin Jiang
Ming-Cheng Cheng
Yu Liu
author_sort Anthony Dowling
collection DOAJ
description 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.
first_indexed 2024-03-13T09:12:06Z
format Article
id doaj.art-545d434ae4254c6580dbe30d58510187
institution Directory Open Access Journal
issn 2352-7110
language English
last_indexed 2024-03-13T09:12:06Z
publishDate 2023-05-01
publisher Elsevier
record_format Article
series SoftwareX
spelling doaj.art-545d434ae4254c6580dbe30d585101872023-05-27T04:25:42ZengElsevierSoftwareX2352-71102023-05-0122101329TDF: A compact file format plugin for FEniCSAnthony Dowling0Lin Jiang1Ming-Cheng Cheng2Yu Liu3Department of Electrical & Computer Engineering, Clarkson University, Potsdam, NY, 13699, USADepartment of Electrical & Computer Engineering, Clarkson University, Potsdam, NY, 13699, USADepartment of Electrical & Computer Engineering, Clarkson University, Potsdam, NY, 13699, USACorresponding author.; Department of Electrical & Computer Engineering, Clarkson University, Potsdam, NY, 13699, USAThe 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.http://www.sciencedirect.com/science/article/pii/S2352711023000250Hierarchical Data Format 5 (HDF5)Type-Length-Value (TLV)Finite Element Method (FEM)FEniCS
spellingShingle Anthony Dowling
Lin Jiang
Ming-Cheng Cheng
Yu Liu
TDF: A compact file format plugin for FEniCS
SoftwareX
Hierarchical Data Format 5 (HDF5)
Type-Length-Value (TLV)
Finite Element Method (FEM)
FEniCS
title TDF: A compact file format plugin for FEniCS
title_full TDF: A compact file format plugin for FEniCS
title_fullStr TDF: A compact file format plugin for FEniCS
title_full_unstemmed TDF: A compact file format plugin for FEniCS
title_short TDF: A compact file format plugin for FEniCS
title_sort tdf a compact file format plugin for fenics
topic Hierarchical Data Format 5 (HDF5)
Type-Length-Value (TLV)
Finite Element Method (FEM)
FEniCS
url http://www.sciencedirect.com/science/article/pii/S2352711023000250
work_keys_str_mv AT anthonydowling tdfacompactfileformatpluginforfenics
AT linjiang tdfacompactfileformatpluginforfenics
AT mingchengcheng tdfacompactfileformatpluginforfenics
AT yuliu tdfacompactfileformatpluginforfenics