Update dataset card: Add paper, project page, code links, and update citation
Browse filesThis PR improves the dataset card by:
- Adding `language: en` to the metadata for better discoverability.
- Adding explicit links to the paper (`https://huggingface.co/papers/2512.00564`), project page (`https://naman-choudhary-ai-ml.github.io/pde-difficulty-transfer/`), and code repository (`https://github.com/Naman-Choudhary-AI-ML/pregenerating-pde`) at the top of the README.
- Updating the paper link within the "Dataset Description" to point to the official Hugging Face paper page.
- Updating the BibTeX citation to include the authors: Naman Choudhary, Vedant Singh, Ameet Talwalkar, Nicholas Matthew Boffi, Mikhail Khodak, Tanya Marwah, and linking to the Hugging Face paper URL, along with updating the publication year to 2025.
These changes enhance the completeness and navigability of the dataset card.
|
@@ -1,154 +1,156 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
-
|
| 8 |
-
tags:
|
| 9 |
-
- physics
|
| 10 |
-
- fluid-dynamics
|
| 11 |
-
- navier-stokes
|
| 12 |
-
- pde
|
| 13 |
-
- scientific-computing
|
| 14 |
-
- neural-operators
|
| 15 |
-
- foundation-models
|
| 16 |
-
- difficulty-transfer
|
| 17 |
-
- reynolds-number
|
| 18 |
-
- openfoam
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
#
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
- **
|
| 36 |
-
- **
|
| 37 |
-
- **
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
##
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
**
|
| 51 |
-
-
|
| 52 |
-
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
**
|
| 64 |
-
-
|
| 65 |
-
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
- `Physics_Axis/
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
**
|
| 79 |
-
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
**
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
#
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
#
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
}
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
**
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
size_categories:
|
| 4 |
+
- 100K<n<1M
|
| 5 |
+
task_categories:
|
| 6 |
+
- other
|
| 7 |
+
pretty_name: PreGen Navier-Stokes 2D Dataset
|
| 8 |
+
tags:
|
| 9 |
+
- physics
|
| 10 |
+
- fluid-dynamics
|
| 11 |
+
- navier-stokes
|
| 12 |
+
- pde
|
| 13 |
+
- scientific-computing
|
| 14 |
+
- neural-operators
|
| 15 |
+
- foundation-models
|
| 16 |
+
- difficulty-transfer
|
| 17 |
+
- reynolds-number
|
| 18 |
+
- openfoam
|
| 19 |
+
language:
|
| 20 |
+
- en
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# PreGen Navier-Stokes 2D Dataset
|
| 24 |
+
|
| 25 |
+
[Paper](https://huggingface.co/papers/2512.00564) | [Project Page](https://naman-choudhary-ai-ml.github.io/pde-difficulty-transfer/) | [Code](https://github.com/Naman-Choudhary-AI-ML/pregenerating-pde)
|
| 26 |
+
|
| 27 |
+
## Dataset Description
|
| 28 |
+
|
| 29 |
+
This dataset accompanies the research paper **[Pre-Generating Multi-Difficulty PDE Data For Few-Shot Neural PDE Solvers](https://huggingface.co/papers/2512.00564)** (under review at ICLR 2026). It contains systematically generated 2D incompressible Navier-Stokes fluid flow simulations designed to study **difficulty transfer** in neural PDE solvers.
|
| 30 |
+
|
| 31 |
+
The key insight: by pre-generating many low and medium difficulty examples and including them with a small number of hard examples, neural PDE solvers can learn high-difficulty physics from far fewer samples.
|
| 32 |
+
|
| 33 |
+
### Dataset Summary
|
| 34 |
+
|
| 35 |
+
- **Format:** NumPy arrays (.npy files)
|
| 36 |
+
- **Number of Files:** 9
|
| 37 |
+
- **Simulations per file:** 6,400 trajectories
|
| 38 |
+
- **Timesteps:** 20 per trajectory
|
| 39 |
+
- **Spatial Resolution:** 128 × 128 grid
|
| 40 |
+
- **Solver:** OpenFOAM (icoFoam)
|
| 41 |
+
- **Domain:** 2D Incompressible Navier-Stokes equations
|
| 42 |
+
|
| 43 |
+
## Difficulty Axes
|
| 44 |
+
|
| 45 |
+
The dataset systematically varies complexity along three axes:
|
| 46 |
+
|
| 47 |
+
### 1. **Geometry Axis** (Number of Obstacles)
|
| 48 |
+
Simulations in flow-past-object (FPO) configuration with varying obstacle complexity:
|
| 49 |
+
|
| 50 |
+
- **Easy:** No obstacles (open channel flow)
|
| 51 |
+
- **Medium:** Single square obstacle
|
| 52 |
+
- **Hard:** 2-10 randomly placed square obstacles
|
| 53 |
+
|
| 54 |
+
**Files:**
|
| 55 |
+
- `Geometry_Axis/FPO_Geometry_Easy_NoObstacle.npy` (47 GB)
|
| 56 |
+
- `Geometry_Axis/FPO_Geometry_Medium_SingleObstacle.npy` (47 GB)
|
| 57 |
+
- `Geometry_Axis/FPO_Geometry_Hard_MultiObstacle.npy` (47 GB)
|
| 58 |
+
|
| 59 |
+
### 2. **Physics Axis** (Reynolds Number)
|
| 60 |
+
Simulations with varying flow complexity via Reynolds number:
|
| 61 |
+
|
| 62 |
+
**Multi-Obstacle Flows:**
|
| 63 |
+
- **Easy:** Re ∈ [100, 1000] - laminar regime
|
| 64 |
+
- **Medium:** Re ∈ [2000, 4000] - transitional regime
|
| 65 |
+
- **Hard:** Re ∈ [8000, 10000] - turbulent regime
|
| 66 |
+
|
| 67 |
+
**Files:**
|
| 68 |
+
- `Physics_Axis/MultiObstacle/FPO_Physics_MultiObstacle_Easy_Re100-1000.npy` (47 GB)
|
| 69 |
+
- `Physics_Axis/MultiObstacle/FPO_Physics_MultiObstacle_Medium_Re2000-4000.npy` (47 GB)
|
| 70 |
+
- `Physics_Axis/MultiObstacle/FPO_Physics_MultiObstacle_Hard_Re8000-10000.npy` (47 GB)
|
| 71 |
+
|
| 72 |
+
**No-Obstacle Flows:**
|
| 73 |
+
- `Physics_Axis/NoObstacle/FPO_Physics_NoObstacle_Easy_Re100-1000.npy` (47 GB)
|
| 74 |
+
|
| 75 |
+
### 3. **Combined Axis** (Geometry + Physics)
|
| 76 |
+
Combined variations in both geometry and Reynolds number:
|
| 77 |
+
|
| 78 |
+
- **Easy:** No obstacles + low Re ([100, 1000])
|
| 79 |
+
- **Medium:** Single obstacle + medium Re ([2000, 4000])
|
| 80 |
+
- **Hard:** Multiple obstacles + high Re ([8000, 10000])
|
| 81 |
+
|
| 82 |
+
**File:**
|
| 83 |
+
- `Combined_Axis/FPO_Combined_Medium_SingleObstacle_MedRe.npy` (47 GB)
|
| 84 |
+
|
| 85 |
+
### 4. **Special Configuration**
|
| 86 |
+
- `Special/FPO_Cylinder_Hole_Location_6284.npy` (47 GB) - Cylinder with hole at specific location
|
| 87 |
+
|
| 88 |
+
## Data Format
|
| 89 |
+
|
| 90 |
+
Each `.npy` file contains a NumPy array with shape: `(6400, 20, 128, 128, 6)`
|
| 91 |
+
|
| 92 |
+
**Dimensions:**
|
| 93 |
+
- **6400**: Number of simulation trajectories
|
| 94 |
+
- **20**: Timesteps per trajectory
|
| 95 |
+
- **128 × 128**: Spatial grid resolution
|
| 96 |
+
- **6**: Channels (features)
|
| 97 |
+
|
| 98 |
+
**Channels (in order):**
|
| 99 |
+
1. **u** - Horizontal velocity component (m/s)
|
| 100 |
+
2. **v** - Vertical velocity component (m/s)
|
| 101 |
+
3. **p** - Kinematic pressure (m²/s²)
|
| 102 |
+
4. **Re_normalized** - Normalized Reynolds number
|
| 103 |
+
5. **Binary mask** - Geometry encoding (1 = obstacle, 0 = fluid)
|
| 104 |
+
6. **SDF** - Signed distance field to nearest obstacle boundary
|
| 105 |
+
|
| 106 |
+
## Usage
|
| 107 |
+
|
| 108 |
+
```python
|
| 109 |
+
import numpy as np
|
| 110 |
+
from huggingface_hub import hf_hub_download
|
| 111 |
+
|
| 112 |
+
# Download a specific difficulty level
|
| 113 |
+
file_path = hf_hub_download(
|
| 114 |
+
repo_id="sage-lab/PreGen-NavierStokes-2D",
|
| 115 |
+
filename="Geometry_Axis/FPO_Geometry_Easy_NoObstacle.npy",
|
| 116 |
+
repo_type="dataset"
|
| 117 |
+
)
|
| 118 |
+
|
| 119 |
+
# Load the data
|
| 120 |
+
data = np.load(file_path)
|
| 121 |
+
print(f"Data shape: {data.shape}") # (6400, 20, 128, 128, 6)
|
| 122 |
+
|
| 123 |
+
# Extract individual trajectories
|
| 124 |
+
trajectory_0 = data[0] # Shape: (20, 128, 128, 6)
|
| 125 |
+
|
| 126 |
+
# Extract velocity and pressure
|
| 127 |
+
u = trajectory_0[:, :, :, 0] # Horizontal velocity
|
| 128 |
+
v = trajectory_0[:, :, :, 1] # Vertical velocity
|
| 129 |
+
p = trajectory_0[:, :, :, 2] # Pressure
|
| 130 |
+
mask = trajectory_0[:, :, :, 4] # Binary geometry mask
|
| 131 |
+
sdf = trajectory_0[:, :, :, 5] # Signed distance field
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
## Citation
|
| 135 |
+
|
| 136 |
+
If you use this dataset, please cite:
|
| 137 |
+
|
| 138 |
+
```bibtex
|
| 139 |
+
@article{pregen2025,
|
| 140 |
+
title={Pre-Generating Multi-Difficulty PDE Data For Few-Shot Neural PDE Solvers},
|
| 141 |
+
author={Choudhary, Naman and Singh, Vedant and Talwalkar, Ameet and Boffi, Nicholas Matthew and Khodak, Mikhail and Marwah, Tanya},
|
| 142 |
+
journal={arXiv preprint},
|
| 143 |
+
year={2025},
|
| 144 |
+
url={https://huggingface.co/papers/2512.00564}
|
| 145 |
+
}
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
+
## License
|
| 149 |
+
|
| 150 |
+
MIT License
|
| 151 |
+
|
| 152 |
+
---
|
| 153 |
+
|
| 154 |
+
**Dataset Version:** 1.0
|
| 155 |
+
**Last Updated:** 2024
|
| 156 |
+
**Status:** Research dataset under peer review
|