Efficient single-precision simulations of nematohydrodynamics

Simulations of nematohydrodynamics on graphics processing units (GPUs) are typically performed using double precision, which ensures accuracy but significantly increases computational cost. However, consumer-grade GPUs are optimized for single-precision calculations, making double-precision simulations inefficient on widely available hardware. In this work, we demonstrate that single-precision simulations can achieve the same accuracy as double-precision methods while delivering a 27-fold increase in the computational speed. To achieve this, we introduce two key improvements: (i) the shifted distribution function in the lattice Boltzmann method, which mitigates precision loss at low velocities, and (ii) the use of larger time steps in the finite-difference solver, which reduces numerical errors and improves the overall accuracy. We find that, unlike in double precision, accuracy in single-precision simulations follows a non-monotonic trend with respect to the finite-difference time step, revealing an optimal regime for precise computations. To illustrate the effectiveness of our approach, we simulate the dynamics of single and multiple skyrmionic tubes in Poiseuille flow. Our results confirm that optimized single-precision simulations enable fast and accurate modeling of complex nematohydrodynamic systems, making large-scale simulations feasible on standard gaming GPUs.

Authors

Institutions

Publication Details

Journal
Physics of Fluids
Published
2025-05-01
DOI
https://doi.org/10.1063/5.0268106
Citations
1
Primary Topic
Micro and Nano Robotics
Type
article
Field-Weighted Citation Impact
1.26

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Efficient single-precision simulations of nematohydrodynamics

Rodrigo C. V. Coelho, Mahmoud Sedahmed, Guilherme N. C. Amaral, M. M. Telo da Gama
1 citations
Physics of Fluids
Micro and Nano Robotics
1.26
article

Efficient single-precision simulations of nematohydrodynamics

Rodrigo C. V. Coelho, Mahmoud Sedahmed, Guilherme N. C. Amaral, M. M. Telo da Gama
article en
1 citations

Abstract

Simulations of nematohydrodynamics on graphics processing units (GPUs) are typically performed using double precision, which ensures accuracy but significantly increases computational cost. However, consumer-grade GPUs are optimized for single-precision calculations, making double-precision simulations inefficient on widely available hardware. In this work, we demonstrate that single-precision simulations can achieve the same accuracy as double-precision methods while delivering a 27-fold increase in the computational speed. To achieve this, we introduce two key improvements: (i) the shifted distribution function in the lattice Boltzmann method, which mitigates precision loss at low velocities, and (ii) the use of larger time steps in the finite-difference solver, which reduces numerical errors and improves the overall accuracy. We find that, unlike in double precision, accuracy in single-precision simulations follows a non-monotonic trend with respect to the finite-difference time step, revealing an optimal regime for precise computations. To illustrate the effectiveness of our approach, we simulate the dynamics of single and multiple skyrmionic tubes in Poiseuille flow. Our results confirm that optimized single-precision simulations enable fast and accurate modeling of complex nematohydrodynamic systems, making large-scale simulations feasible on standard gaming GPUs.

Physics of FluidsVol. 37(5)
Hiroshima University (JP), University of Lisbon (PT), Centro Brasileiro de Pesquisas Físicas (BR), Institute for Sustainability (GB), Oldham Council (GB)
Fundação para a Ciência e a Tecnologia
Openalex Percentile: Top 22%
Micro and Nano Robotics
1.26
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.

Efficient single-precision simulations of nematohydrodynamics — Rodrigo C. V. Coelho, Mahmoud Sedahmed, et al. · Physics of Fluids (2025) | TGRS Research Map | TGRS