Classical density functional theory in three dimensions with GPU-accelerated automatic differentiation: Computational performance analysis using the example of adsorption in covalent-organic frameworks

We show how classical density functional theory can greatly benefit from algorithmic advances in machine learning, especially neural networks. By exploiting GPU-accelerated backward automatic differentiation, we overcome the often cumbersome and error-prone implementation of functional derivatives for classical density functional theory computations. This provides an efficient and straightforward solution for computing functional derivatives, opening up a wide range of applications. We show the gain in computational performance by using backward automatic differentiation to compute the functional derivatives on GPUs, and exemplify the use of this easy-to-implement and highly extensible classical density functional theory framework to predict the adsorption isotherms of a methane/ethane mixture described by a Helmholtz energy functional based on the PC-SAFT equation of state in the covalent-organic framework 2,3-DhaTph. Together with this manuscript, we provide the full classical density functional theory code as supplementary material.

Publication Details

Journal
Repository for Publications and Research Data (ETH Zurich)
Published
2024-10-05
DOI
https://doi.org/10.3929/ethz-b-000680374
Primary Topic
Covalent Organic Framework Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Classical density functional theory in three dimensions with GPU-accelerated automatic differentiation: Computational performance analysis using the example of adsorption in covalent-organic frameworks

Repository for Publications and Research Data (ETH Zurich)
Covalent Organic Framework Applications
article

Classical density functional theory in three dimensions with GPU-accelerated automatic differentiation: Computational performance analysis using the example of adsorption in covalent-organic frameworks

article en

Abstract

We show how classical density functional theory can greatly benefit from algorithmic advances in machine learning, especially neural networks. By exploiting GPU-accelerated backward automatic differentiation, we overcome the often cumbersome and error-prone implementation of functional derivatives for classical density functional theory computations. This provides an efficient and straightforward solution for computing functional derivatives, opening up a wide range of applications. We show the gain in computational performance by using backward automatic differentiation to compute the functional derivatives on GPUs, and exemplify the use of this easy-to-implement and highly extensible classical density functional theory framework to predict the adsorption isotherms of a methane/ethane mixture described by a Helmholtz energy functional based on the PC-SAFT equation of state in the covalent-organic framework 2,3-DhaTph. Together with this manuscript, we provide the full classical density functional theory code as supplementary material.

Repository for Publications and Research Data (ETH Zurich)
Openalex Percentile: Top 77%
Covalent Organic Framework Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.