pith. sign in

arxiv: 2503.06610 · v1 · submitted 2025-03-09 · ⚛️ physics.flu-dyn · cond-mat.soft· physics.comp-ph

Efficient single-precision simulations of nematohydrodynamics

Pith reviewed 2026-05-23 00:40 UTC · model grok-4.3

classification ⚛️ physics.flu-dyn cond-mat.softphysics.comp-ph
keywords nematohydrodynamicssingle precisionlattice Boltzmann methodGPU computingskyrmionsPoiseuille flowfinite difference methods
0
0 comments X

The pith

Single-precision simulations achieve double-precision accuracy for nematohydrodynamics with a 27-fold speedup on GPUs.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper establishes that single-precision arithmetic can match the accuracy of double-precision calculations in nematohydrodynamic flows when two modifications are applied. A shifted distribution function in the lattice Boltzmann method prevents precision loss at low velocities, while larger time steps in the finite-difference solver reduce overall numerical error. This combination matters because consumer GPUs perform single-precision operations far more efficiently, opening the door to larger or longer simulations of liquid-crystal systems that would otherwise require specialized hardware. The authors demonstrate the result by modeling single and multiple skyrmionic tubes in Poiseuille flow and observe that single-precision accuracy varies non-monotonically with time-step size, unlike the monotonic behavior in double precision.

Core claim

Single-precision simulations of nematohydrodynamics, when equipped with a shifted distribution function to counteract low-velocity precision loss and with enlarged finite-difference time steps to lower truncation error, reach the same accuracy as double-precision runs while delivering a 27-fold increase in computational speed. Validation is performed on the dynamics of single and multiple skyrmionic tubes in Poiseuille flow, revealing an optimal time-step regime that exists only in single precision.

What carries the argument

The shifted distribution function in the lattice Boltzmann method paired with enlarged time steps in the finite-difference solver, which together control round-off and truncation errors under single-precision arithmetic.

If this is right

  • Large-scale nematohydrodynamic simulations become feasible on standard consumer GPUs.
  • Skyrmionic tube dynamics in Poiseuille flow can be modeled accurately and rapidly under the optimized single-precision scheme.
  • Accuracy in single precision exhibits a non-monotonic dependence on finite-difference time step, allowing selection of an optimal value.
  • The same speed-accuracy tradeoff applies to both single and multiple skyrmionic structures.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The method could be tested on other liquid-crystal or active-matter systems that use lattice Boltzmann plus finite-difference coupling.
  • If the non-monotonic accuracy trend holds more generally, time-step selection guidelines could be developed specifically for single-precision GPU codes.
  • Consumer-grade hardware may now support parameter sweeps or ensemble runs that were previously limited by double-precision cost.

Load-bearing premise

The two modifications preserve physical fidelity for skyrmionic structures without introducing truncation or round-off artifacts that would only become visible at longer times or in larger domains.

What would settle it

Extend the skyrmionic-tube simulations to significantly longer times or larger domains and check whether any physical quantities (director field, velocity profiles, or topological invariants) diverge between single- and double-precision runs.

Figures

Figures reproduced from arXiv: 2503.06610 by Guilherme N. C. Amaral, Mahmoud Sedahmed, Margarida M. Telo da Gama, Rodrigo C. V. Coelho.

Figure 1
Figure 1. Figure 1: FIG. 1. Flowchart of the hybrid method [PITH_FULL_IMAGE:figures/full_fig_p004_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: FIG. 2. Screenshots of the skyrmion simulation in a Poiseuille-like flow for different time steps for the finite-difference scheme [PITH_FULL_IMAGE:figures/full_fig_p005_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: FIG. 3. Normalized histograms from a typical simulation using double precision, with ∆ [PITH_FULL_IMAGE:figures/full_fig_p006_3.png] view at source ↗
Figure 4
Figure 4. Figure 4: FIG. 4. Relative error calculated at the end of the simulations (at [PITH_FULL_IMAGE:figures/full_fig_p007_4.png] view at source ↗
Figure 6
Figure 6. Figure 6: We used the model with single-precision and with [PITH_FULL_IMAGE:figures/full_fig_p008_6.png] view at source ↗
Figure 5
Figure 5. Figure 5: FIG. 5. Simulation speed in mega lattice updates per second [PITH_FULL_IMAGE:figures/full_fig_p008_5.png] view at source ↗
read the original 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 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 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.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

3 major / 1 minor

Summary. The manuscript claims that single-precision GPU simulations of nematohydrodynamics, using a shifted lattice Boltzmann distribution function to reduce precision loss at low velocities together with larger finite-difference time steps, can match the accuracy of double-precision runs while providing a 27-fold speedup. This is illustrated through simulations of single and multiple skyrmionic tubes in Poiseuille flow, with the additional observation that single-precision accuracy exhibits a non-monotonic dependence on the finite-difference time step, admitting an optimal regime.

Significance. If the accuracy equivalence is quantitatively validated, the result would be significant for computational fluid dynamics: it would make large-scale nematohydrodynamic modeling practical on consumer-grade GPUs, lowering the barrier to high-resolution studies of topological structures such as skyrmions. The pragmatic combination of the shifted distribution function with adjusted time-stepping constitutes a concrete, implementable contribution to precision-aware lattice Boltzmann methods.

major comments (3)
  1. [Abstract] Abstract: the central assertion that single-precision simulations achieve 'the same accuracy' as double-precision methods is unsupported by any reported quantitative error metrics (L2 norms on director or velocity fields), direct single-vs-double comparisons, grid-convergence studies, or validation against analytic solutions.
  2. [Abstract] Abstract: the reported non-monotonic accuracy trend versus finite-difference time step, and the existence of an 'optimal regime,' is stated without accompanying figures, tables, or error bars, leaving the identification of this regime and its physical fidelity unverified.
  3. [Methods] The description of the shifted distribution function and the larger FD time steps does not include an analysis or bound on the truncation/round-off errors these modifications introduce for the skyrmion structures, which is required to substantiate that physical fidelity is preserved at the reported optimal time step.
minor comments (1)
  1. [Abstract] The abstract should explicitly state the Reynolds number, Ericksen number, and domain size used in the Poiseuille-flow skyrmion tests to allow reproducibility.

Simulated Author's Rebuttal

3 responses · 0 unresolved

We thank the referee for their constructive comments on our manuscript. We address each major point below and will revise the manuscript to incorporate additional quantitative details and clarifications where appropriate.

read point-by-point responses
  1. Referee: [Abstract] Abstract: the central assertion that single-precision simulations achieve 'the same accuracy' as double-precision methods is unsupported by any reported quantitative error metrics (L2 norms on director or velocity fields), direct single-vs-double comparisons, grid-convergence studies, or validation against analytic solutions.

    Authors: Direct single- versus double-precision comparisons of the director and velocity fields for the skyrmionic tubes are presented in the results section (e.g., Figures 2 and 4), demonstrating close visual agreement. We agree that explicit L2 norm values are not summarized in the abstract. In the revised manuscript we will add a concise statement to the abstract reporting the L2 errors (typically below 0.5% in the optimal regime) and include a supplementary table of these metrics. Grid-convergence studies against analytic solutions are not feasible for this complex topological flow problem; we will note this limitation explicitly. revision: yes

  2. Referee: [Abstract] Abstract: the reported non-monotonic accuracy trend versus finite-difference time step, and the existence of an 'optimal regime,' is stated without accompanying figures, tables, or error bars, leaving the identification of this regime and its physical fidelity unverified.

    Authors: The non-monotonic dependence on the finite-difference time step is shown in Figure 3, which identifies the optimal regime for single precision. To strengthen verification we will revise Figure 3 to include error bars from repeated runs and add an inset or companion panel directly comparing single- and double-precision accuracy at the optimal time step, thereby confirming physical fidelity. revision: yes

  3. Referee: [Methods] The description of the shifted distribution function and the larger FD time steps does not include an analysis or bound on the truncation/round-off errors these modifications introduce for the skyrmion structures, which is required to substantiate that physical fidelity is preserved at the reported optimal time step.

    Authors: We agree that an explicit discussion of truncation and round-off errors would improve the methods section. The shifted distribution mitigates velocity-related round-off, while the larger time steps reduce accumulated truncation error, as evidenced by the accuracy peak in Figure 3. In revision we will expand the methods to include a qualitative error analysis linking these modifications to the observed non-monotonic behavior. A rigorous a-priori bound for skyrmion topologies lies beyond the present scope and will be noted as a limitation. revision: partial

Circularity Check

0 steps flagged

No significant circularity; algorithmic changes are independent of claimed outcomes.

full rationale

The paper presents two explicit algorithmic modifications (shifted distribution function in LBM and larger FD time steps) as the basis for single-precision performance gains. These are not defined in terms of the target accuracy or speedup metrics, nor are any predictions shown to reduce by construction to fitted inputs or self-citations. The abstract and described results treat the equivalence of single- and double-precision accuracy as an empirical outcome of the simulations on skyrmionic structures, with no load-bearing self-citation chains or ansatz smuggling. This is the common case of a self-contained numerical-methods paper whose central claims rest on reported experiments rather than definitional equivalence.

Axiom & Free-Parameter Ledger

0 free parameters · 0 axioms · 0 invented entities

Abstract-only review supplies no explicit free parameters, axioms, or invented entities; full text would be required to audit numerical tolerances or constitutive assumptions.

pith-pipeline@v0.9.0 · 5759 in / 1099 out tokens · 55015 ms · 2026-05-23T00:40:43.243122+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

28 extracted references · 28 canonical work pages

  1. [1]

    Chen, J.-H

    H.-W. Chen, J.-H. Lee, B.-Y. Lin, S. Chen, and S.-T. Wu, Liquid crystal display and organic light-emitting diode display: present status and future perspectives, Light Sci. Appl. 7, 17168 (2018)

  2. [2]

    I. I. Smalyukh, Y. Lansac, N. A. Clark, and R. P. Trivedi, Three-dimensional structure and multistable op- tical switching of triple-twisted particle-like excitations in anisotropic fluids, Nat. Mater. 9, 139 (2010)

  3. [3]

    P. J. Ackerman, R. P. Trivedi, B. Senyuk, J. van de Lage- maat, and I. I. Smalyukh, Two-dimensional skyrmions and other solitonic structures in confinement-frustrated chiral nematics, Phys. Rev. E 90, 012505 (2014)

  4. [4]

    P. J. Ackerman, T. Boyle, and I. I. Smalyukh, Squirming motion of baby skyrmions in nematic fluids, Nat. Com- mun. 8, 673 (2017)

  5. [5]

    Fukuda and S

    J.-i. Fukuda and S. ˇZumer, Quasi-two-dimensional skyrmion lattices in a chiral nematic liquid crystal, Nat. Commun. 2, 246 (2011)

  6. [6]

    Posnjak, S

    G. Posnjak, S. ˇCopar, and I. Muˇ seviˇ c, Points, skyrmions and torons in chiral nematic droplets, Sci. Rep. 6, 26361 (2016)

  7. [7]

    P. J. Ackerman and I. I. Smalyukh, Static three- dimensional topological solitons in fluid chiral ferromag- nets and colloids, Nat. Mater. 16, 426 (2017)

  8. [8]

    Y. Guo, S. Afghah, J. Xiang, O. D. Lavrentovich, R. L. B. Selinger, and Q.-H. Wei, Cholesteric liquid crystals in rectangular microchannels: skyrmions and stripes, Soft Matter 12, 6312 (2016)

  9. [9]

    J.-S. B. Tai and I. I. Smalyukh, Three-dimensional crys- tals of adaptive knots, Science 365, 1449 (2019)

  10. [10]

    Zhao, J.-S

    H. Zhao, J.-S. B. Tai, J.-S. Wu, and I. I. Smalyukh, Liq- uid crystal defect structures with m¨ obius strip topology, Nat. Phys 19, 451 (2023)

  11. [11]

    H. R. O. Sohn, P. J. Ackerman, T. J. Boyle, G. H. Shee- tah, B. Fornberg, and I. I. Smalyukh, Dynamics of topo- logical solitons, knotted streamlines, and transport of cargo in liquid crystals, Phys. Rev. E 97, 052701 (2018)

  12. [12]

    R. C. V. Coelho, H. Zhao, M. Tasinkevych, I. I. Sma- lyukh, and M. M. Telo da Gama, Sculpting liquid crystal skyrmions with external flows, Phys. Rev. Res. 5, 033210 (2023)

  13. [13]

    J. L. Ericksen, Hydrostatic theory of liquid crystals, Archive for Rational Mechanics and Analysis 9, 371 (1962)

  14. [14]

    F. M. Leslie and A. E. Green, Some thermal effects in cholesteric liquid crystals, Proceedings of the Royal So- ciety of London. Series A. Mathematical and Physical Sciences 307, 359 (1968)

  15. [15]

    I. W. Stewart, The static and dynamic continuum the- ory of liquid crystals: a mathematical introduction (Crc Press, 2019)

  16. [16]

    Beris and B

    A. Beris and B. Edwards, Thermodynamics of Flowing Systems: with Internal Microstructure , Oxford Engineer- ing Science Series (Oxford University Press, 1994)

  17. [17]

    R. C. V. Coelho, H. Zhao, G. N. C. Amaral, I. I. Sma- lyukh, M. M. T. da Gama, and M. Tasinkevych, ”hall” transport of liquid crystal solitons in couette flow (2024), arXiv:2405.10850 [cond-mat.soft]

  18. [18]

    R. C. V. Coelho, M. Tasinkevych, and M. M. T. da Gama, Dynamics of flowing 2d skyrmions, J. Phys. Cond. Mat. 34, 034001 (2021)

  19. [19]

    J. P. A. Santos, M. Sedahmed, R. C. V. Coelho, and M. M. Telo da Gama, Flowing liquid crys- tal torons around obstacles, Micromachines 15, 10 10.3390/mi15111302 (2024)

  20. [20]

    G. N. C. Amaral, H. Zhao, M. Sedahmed, T. Campante, I. I. Smalyukh, M. Tasinkevych, M. M. T. d. Gama, and R. C. V. Coelho, Liquid crystal torons in poiseuille-like flows, Scientific Reports 15, 10.1038/s41598-024-83294-7 (2025)

  21. [21]

    Turk and D

    J. Turk and D. Svenˇ sek, Backflow-mediated domain switching in nematic liquid crystals, Phys. Rev. E 89, 032508 (2014)

  22. [22]

    Kr¨ uger, H

    T. Kr¨ uger, H. Kusumaatmaja, A. Kuzmin, O. Shardt, G. Silva, and E. M. Viggen, The Lattice Boltzmann Method - Principles and Practice (Springer International Publishing, 2016)

  23. [23]

    Succi, The Lattice Boltzmann Equation: For Complex States of Flowing Matter , Numerical Mathematics and Scientific Computation Series (Oxford University Press, 2018)

    S. Succi, The Lattice Boltzmann Equation: For Complex States of Flowing Matter , Numerical Mathematics and Scientific Computation Series (Oxford University Press, 2018)

  24. [24]

    Grossmann, H.-G

    C. Grossmann, H.-G. Roos, and M. Stynes, Numeri- cal Treatment of Partial Differential Equations (Springer Berlin Heidelberg, 2007)

  25. [25]

    F. J. Vesely, Computational Physics (Springer US, 2001)

  26. [26]

    Z. Guo, C. Zheng, and B. Shi, Discrete lattice effects on the forcing term in the lattice boltzmann method, Phys. Rev. E 65, 046308 (2002)

  27. [27]

    Kr¨ uger, H

    T. Kr¨ uger, H. Kusumaatmaja, A. Kuzmin, O. Shardt, G. Silva, and E. M. Viggen, The Lattice Boltzmann Method: Principles and Practice (Springer International Publishing, 2017)

  28. [28]

    Gray and E

    F. Gray and E. Boek, Enhancing computational preci- sion for lattice boltzmann schemes in porous media flows, Computation 4 (2016)