nielsr HF Staff commited on
Commit
beb5442
·
verified ·
1 Parent(s): c5fb8b7

Update dataset card: Add paper, project page, code links, and update citation

Browse files

This 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.

Files changed (1) hide show
  1. README.md +156 -154
README.md CHANGED
@@ -1,154 +1,156 @@
1
- ---
2
- license: mit
3
- task_categories:
4
- - other
5
- pretty_name: PreGen Navier-Stokes 2D Dataset
6
- size_categories:
7
- - 100K<n<1M
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
- # PreGen Navier-Stokes 2D Dataset
22
-
23
- ## Dataset Description
24
-
25
- This dataset accompanies the research paper **"Pre-Generating Multi-Difficulty PDE Data For Few-Shot Neural PDE Solvers"** (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.
26
-
27
- 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.
28
-
29
- ### Dataset Summary
30
-
31
- - **Format:** NumPy arrays (.npy files)
32
- - **Number of Files:** 9
33
- - **Simulations per file:** 6,400 trajectories
34
- - **Timesteps:** 20 per trajectory
35
- - **Spatial Resolution:** 128 × 128 grid
36
- - **Solver:** OpenFOAM (icoFoam)
37
- - **Domain:** 2D Incompressible Navier-Stokes equations
38
-
39
- ## Difficulty Axes
40
-
41
- The dataset systematically varies complexity along three axes:
42
-
43
- ### 1. **Geometry Axis** (Number of Obstacles)
44
- Simulations in flow-past-object (FPO) configuration with varying obstacle complexity:
45
-
46
- - **Easy:** No obstacles (open channel flow)
47
- - **Medium:** Single square obstacle
48
- - **Hard:** 2-10 randomly placed square obstacles
49
-
50
- **Files:**
51
- - `Geometry_Axis/FPO_Geometry_Easy_NoObstacle.npy` (47 GB)
52
- - `Geometry_Axis/FPO_Geometry_Medium_SingleObstacle.npy` (47 GB)
53
- - `Geometry_Axis/FPO_Geometry_Hard_MultiObstacle.npy` (47 GB)
54
-
55
- ### 2. **Physics Axis** (Reynolds Number)
56
- Simulations with varying flow complexity via Reynolds number:
57
-
58
- **Multi-Obstacle Flows:**
59
- - **Easy:** Re ∈ [100, 1000] - laminar regime
60
- - **Medium:** Re [2000, 4000] - transitional regime
61
- - **Hard:** Re ∈ [8000, 10000] - turbulent regime
62
-
63
- **Files:**
64
- - `Physics_Axis/MultiObstacle/FPO_Physics_MultiObstacle_Easy_Re100-1000.npy` (47 GB)
65
- - `Physics_Axis/MultiObstacle/FPO_Physics_MultiObstacle_Medium_Re2000-4000.npy` (47 GB)
66
- - `Physics_Axis/MultiObstacle/FPO_Physics_MultiObstacle_Hard_Re8000-10000.npy` (47 GB)
67
-
68
- **No-Obstacle Flows:**
69
- - `Physics_Axis/NoObstacle/FPO_Physics_NoObstacle_Easy_Re100-1000.npy` (47 GB)
70
-
71
- ### 3. **Combined Axis** (Geometry + Physics)
72
- Combined variations in both geometry and Reynolds number:
73
-
74
- - **Easy:** No obstacles + low Re ([100, 1000])
75
- - **Medium:** Single obstacle + medium Re ([2000, 4000])
76
- - **Hard:** Multiple obstacles + high Re ([8000, 10000])
77
-
78
- **File:**
79
- - `Combined_Axis/FPO_Combined_Medium_SingleObstacle_MedRe.npy` (47 GB)
80
-
81
- ### 4. **Special Configuration**
82
- - `Special/FPO_Cylinder_Hole_Location_6284.npy` (47 GB) - Cylinder with hole at specific location
83
-
84
- ## Data Format
85
-
86
- Each `.npy` file contains a NumPy array with shape: `(6400, 20, 128, 128, 6)`
87
-
88
- **Dimensions:**
89
- - **6400**: Number of simulation trajectories
90
- - **20**: Timesteps per trajectory
91
- - **128 × 128**: Spatial grid resolution
92
- - **6**: Channels (features)
93
-
94
- **Channels (in order):**
95
- 1. **u** - Horizontal velocity component (m/s)
96
- 2. **v** - Vertical velocity component (m/s)
97
- 3. **p** - Kinematic pressure (m²/s²)
98
- 4. **Re_normalized** - Normalized Reynolds number
99
- 5. **Binary mask** - Geometry encoding (1 = obstacle, 0 = fluid)
100
- 6. **SDF** - Signed distance field to nearest obstacle boundary
101
-
102
- ## Usage
103
-
104
- ```python
105
- import numpy as np
106
- from huggingface_hub import hf_hub_download
107
-
108
- # Download a specific difficulty level
109
- file_path = hf_hub_download(
110
- repo_id="sage-lab/PreGen-NavierStokes-2D",
111
- filename="Geometry_Axis/FPO_Geometry_Easy_NoObstacle.npy",
112
- repo_type="dataset"
113
- )
114
-
115
- # Load the data
116
- data = np.load(file_path)
117
- print(f"Data shape: {data.shape}") # (6400, 20, 128, 128, 6)
118
-
119
- # Extract individual trajectories
120
- trajectory_0 = data[0] # Shape: (20, 128, 128, 6)
121
-
122
- # Extract velocity and pressure
123
- u = trajectory_0[:, :, :, 0] # Horizontal velocity
124
- v = trajectory_0[:, :, :, 1] # Vertical velocity
125
- p = trajectory_0[:, :, :, 2] # Pressure
126
- mask = trajectory_0[:, :, :, 4] # Binary geometry mask
127
- sdf = trajectory_0[:, :, :, 5] # Signed distance field
128
- ```
129
-
130
- ## Citation
131
-
132
- If you use this dataset, please cite:
133
-
134
- ```bibtex
135
- @inproceedings{pregen2026,
136
- title={Pre-Generating Multi-Difficulty {PDE} Data For Few-Shot Neural {PDE} Solvers},
137
- author={Anonymous},
138
- booktitle={Under review at International Conference on Learning Representations (ICLR)},
139
- year={2026},
140
- url={https://openreview.net}
141
- }
142
- ```
143
-
144
- **Note:** Citation will be updated once the paper is published.
145
-
146
- ## License
147
-
148
- MIT License
149
-
150
- ---
151
-
152
- **Dataset Version:** 1.0
153
- **Last Updated:** 2024
154
- **Status:** Research dataset under peer review
 
 
 
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