Downloads · 30 days
0
agowardhan1/FuXi-CFD-model
FuXi-CFD-model is a machine learning model from agowardhan1. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
0
Access
Public
Updated Apr 16, 2026
Repo size
963 MB
Likes
0
Public
Click a slice to open those files.
.onnx889 MB · 92%
From the Hugging Face model README
This repository accompanies the paper:
Reconstructing fine-scale 3D wind fields with terrain-informed machine learning
It provides the pre-trained FuXi-CFD model used in the study, exported in ONNX format, together with a complete inference example.
Version: v1.0
Framework: ONNX (runtime inference)
FuXi-CFD is a terrain-informed deep learning model designed to reconstruct fine-scale three-dimensional wind fields from coarse atmospheric inputs and high-resolution terrain information.
The model expects an inputs.npz file containing:
dem — terrain elevation (300 × 300, float32, meters)roughness — surface roughness length (300 × 300, float32, meters)u_100m — coarse zonal wind at 100 m (9 × 9, float32, m s⁻¹)v_100m — coarse meridional wind at 100 m (9 × 9, float32, m s⁻¹)All variables must be provided in physical units (no normalization applied by the user).
Normalization parameters used during training are included in normalization/.
The model produces a file prediction.npz containing:
u — zonal wind component (27, 300, 300), m s⁻¹v — meridional wind component (27, 300, 300), m s⁻¹w — vertical wind component (27, 300, 300), m s⁻¹k — turbulent kinetic energy (27, 300, 300), m² s⁻²The vertical levels correspond to the 27 non-uniform heights described in the associated dataset documentation.
cd inference_example
python scripts/infer.py \
--model ../model/fuxicfd_model.onnx \
--input data/inputs.npz \
--output data/prediction.npz
Outputs are saved as data/prediction.npz with keys: u, v, w, k.
model/ — exported ONNX weightsinference_example/ — complete preprocessing → inference → postprocessing pipeline
normalization/ — training-time normalization parametersscripts/ — runnable inference scriptsutils/ — helper functionsCC BY-NC 4.0
If you use this model, please cite:
Lin, C., et al. Reconstructing fine-scale 3D wind fields with terrain-informed machine learning, Nature Communications (2026).