Preprints
https://doi.org/10.5194/egusphere-2025-2568
https://doi.org/10.5194/egusphere-2025-2568
30 Jun 2025
 | 30 Jun 2025

LEX v1.4: A New Large-Eddy Simulation Model in JAX with GPU Acceleration and Automatic Differentiation

Xingyu Zhu, Yongquan Qu, and Xiaoming Shi

Abstract. Large-eddy simulations (LESs) are essential tools for studies on atmospheric turbulence and clouds and play critical roles in the development of turbulence and convection parameterizations. Current numerical weather models have approached kilometer-scale resolution as supercomputing facilities advance. However, this resolution range is in the so-called gray zone, where subgrid-scale (SGS) turbulence actively interacts with resolved motion and significantly influences the large-scale characteristics of simulated weather systems. Thus, developing SGS turbulence models for the gray zone requires new LES models, which must run sufficiently fast when simulating large domains and enable new approaches to develop SGS models. Here we used the Python library JAX to develop a new LES model. It is based on the generalized pseudo-incompressible equations formulated by Durran (2008). The new LES model is capable of adequate parallelism and can run at a fast speed with GPU acceleration. For a classic warm bubble case, the traditional Smagorinsky model fails to reproduce the correct structure evolution of the warm bubble, though it can modestly correct the rising speed in gray-zone resolution simulations. Utilizing the capability of JAX for automatic differentiation, we trained a deep learning-based SGS turbulence model for the same case. The trained deep learning SGS model, based on simple three-dimensional convolutional neural networks (CNNs), enables this physics-deep learning hybrid model to accurately simulate the expansion of the thermal bubble and the development of rotors surrounding the center of the bubble at a gray-zone resolution. The gray-zone simulation results are comparable to that of the benchmark LES resolution.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share

Journal article(s) based on this preprint

03 Feb 2026
LEX v1.6.0: a new large-eddy simulation model in JAX with GPU acceleration and automatic differentiation
Xingyu Zhu, Yongquan Qu, and Xiaoming Shi
Geosci. Model Dev., 19, 1103–1120, https://doi.org/10.5194/gmd-19-1103-2026,https://doi.org/10.5194/gmd-19-1103-2026, 2026
Short summary
Xingyu Zhu, Yongquan Qu, and Xiaoming Shi

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2025-2568', Gijs van den Oord, 24 Jul 2025
    • AC1: 'Reply on RC1', Xingyu Zhu, 10 Nov 2025
  • RC2: 'Comment on egusphere-2025-2568', Anonymous Referee #2, 11 Sep 2025
    • AC2: 'Reply on RC2', Xingyu Zhu, 10 Nov 2025

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2025-2568', Gijs van den Oord, 24 Jul 2025
    • AC1: 'Reply on RC1', Xingyu Zhu, 10 Nov 2025
  • RC2: 'Comment on egusphere-2025-2568', Anonymous Referee #2, 11 Sep 2025
    • AC2: 'Reply on RC2', Xingyu Zhu, 10 Nov 2025

Peer review completion

AR – Author's response | RR – Referee report | ED – Editor decision | EF – Editorial file upload
AR by Xingyu Zhu on behalf of the Authors (16 Nov 2025)  Author's response   Author's tracked changes   Manuscript 
ED: Referee Nomination & Report Request started (17 Nov 2025) by Sylwester Arabas
RR by Anonymous Referee #2 (05 Jan 2026)
ED: Publish subject to minor revisions (review by editor) (06 Jan 2026) by Sylwester Arabas
AR by Xingyu Zhu on behalf of the Authors (16 Jan 2026)  Author's response   Author's tracked changes   Manuscript 
ED: Publish subject to technical corrections (22 Jan 2026) by Sylwester Arabas
AR by Xingyu Zhu on behalf of the Authors (22 Jan 2026)  Author's response   Manuscript 

Journal article(s) based on this preprint

03 Feb 2026
LEX v1.6.0: a new large-eddy simulation model in JAX with GPU acceleration and automatic differentiation
Xingyu Zhu, Yongquan Qu, and Xiaoming Shi
Geosci. Model Dev., 19, 1103–1120, https://doi.org/10.5194/gmd-19-1103-2026,https://doi.org/10.5194/gmd-19-1103-2026, 2026
Short summary
Xingyu Zhu, Yongquan Qu, and Xiaoming Shi

Data sets

LEX v1.4 Data Zhu Xingyu, Qu Yongquan, and Shi Xiaoming https://doi.org/10.5281/zenodo.15730773

Model code and software

LEX v1.4 Zhu Xingyu, Qu Yongquan, and Shi Xiaoming https://doi.org/10.5281/zenodo.15486687

Xingyu Zhu, Yongquan Qu, and Xiaoming Shi

Viewed

Total article views: 2,312 (including HTML, PDF, and XML)
HTML PDF XML Total Supplement BibTeX EndNote
2,154 125 33 2,312 53 37 47
  • HTML: 2,154
  • PDF: 125
  • XML: 33
  • Total: 2,312
  • Supplement: 53
  • BibTeX: 37
  • EndNote: 47
Views and downloads (calculated since 30 Jun 2025)
Cumulative views and downloads (calculated since 30 Jun 2025)

Viewed (geographical distribution)

Total article views: 2,173 (including HTML, PDF, and XML) Thereof 2,173 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 03 Feb 2026
Download

The requested preprint has a corresponding peer-reviewed final revised paper. You are encouraged to refer to the final revised version.

Short summary
We used a newly developed Python library, JAX, to write a new fast and differentiable large-eddy simulation model, LEX. Evaluated with a warm bubble case, LEX maintains high accuracy as the Cloud Model 1, and with GPU acceleration and better numerical stability, LEX can be quite faster. To report its differentiability, we further trained deep learning-based parameterization schemes. The newly trained models can surpass the conventional schemes and get the proper forecast results.
Share