the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
LEX v1.4: A New Large-Eddy Simulation Model in JAX with GPU Acceleration and Automatic Differentiation
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.
- Preprint
(1431 KB) - Metadata XML
-
Supplement
(1397 KB) - BibTeX
- EndNote
Status: final response (author comments only)
-
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
Please find my comments in the attached pdf.
- AC2: 'Reply on RC2', Xingyu Zhu, 10 Nov 2025
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
Viewed
| HTML | XML | Total | Supplement | BibTeX | EndNote | |
|---|---|---|---|---|---|---|
| 1,978 | 53 | 17 | 2,048 | 31 | 25 | 34 |
- HTML: 1,978
- PDF: 53
- XML: 17
- Total: 2,048
- Supplement: 31
- BibTeX: 25
- EndNote: 34
Viewed (geographical distribution)
| Country | # | Views | % |
|---|
| Total: | 0 |
| HTML: | 0 |
| PDF: | 0 |
| XML: | 0 |
- 1
I very much like this manuscript and the effort to create a new atmospheric LES with a modern, flexible programming paradigm JAX. The twofold benefit: GPU acceleration and automatic differentiation, are well explained and illustrated with the warm bubble test cases and performance tables. I believe this will be a valuable research tool for future investigations into the value of machine learning for parameterizations crossing the grey zone.
Some minor remarks:
Some missing pieces in this paper: