rvalerio commited on
Commit
ba5f95f
1 Parent(s): 90d2932

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +52 -28
README.md CHANGED
@@ -23,17 +23,54 @@ tags:
23
  </p>
24
 
25
 
26
- ## Wind Tunnel 20K Dataset
27
- The Wind Tunnel Dataset contains 19,812 [OpenFOAM](https://www.openfoam.com/) simulations of 1,000 unique automobile-like objects placed in a virtual wind tunnel.
28
- Each object is simulated under 20 distinct conditions: 4 random wind speeds ranging from 10 to 50 m/s, and 5 rotation angles (0°, 180° and 3 random angles).
 
 
 
 
 
29
  To ensure stable and reliable results, each simulation runs for 300 iterations.
30
- The meshes for these automobile-like objects were generated using the [Instant Mesh model](https://github.com/TencentARC/InstantMesh) and sourced from the [Stanford Cars Dataset](https://www.kaggle.com/datasets/jessicali9530/stanford-cars-dataset).
31
  The entire dataset of 20,000 simulations is organized into three subsets: 70% for training, 20% for validation, and 10% for testing.
32
 
33
- The data generation process itself was orchestrated using the [Inductiva API](https://inductiva.ai/), which allowed us to run hundreds of OpenFOAM simulations in parallel on the cloud.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
 
36
- ### Dataset Structure
 
37
  ```
38
  data
39
  ├── train
@@ -52,13 +89,13 @@ data
52
 
53
 
54
  ### Dataset Files
55
- Each simulation in the Wind Tunnel Dataset is accompanied by several key files that provide both input and output data.
56
  Here’s a breakdown of the files included in each simulation:
57
 
58
- - **input_mesh.obj**: OBJ file with the input mesh.
59
- - **openfoam_mesh.obj**: OBJ file with the OpenFOAM mesh.
60
- - **pressure_field_mesh.vtk**: VTK file with the pressure field data.
61
- - **streamlines_mesh.ply**: PLY file with the streamlines.
62
  - **metadata.json**: JSON with metadata about the input parameters and about some output results such as the force coefficients (obtained via simulation) and the path of the output files.
63
 
64
 
@@ -154,27 +191,14 @@ print("Sample from training set:", sample)
154
 
155
  You can find the OpenFoam configuration files on github: [https://github.com/inductiva/wind-tunnel/tree/main/windtunnel/templates](https://github.com/inductiva/wind-tunnel/tree/main/windtunnel/templates)
156
 
157
- ## Generating the meshes
158
-
159
- Existing object datasets have many limitations: they are either small in size, closed source, or have low quality meshes.
160
- Hence, we decided to generate our own dataset using the [InstantMesh](https://github.com/TencentARC/InstantMesh) model, which is open-source (Apache-2.0) and is currently state-of-the-art in image-to-mesh generation. By leveraging it we were able to generate a large number of good quality open-source automobile meshes.
161
-
162
- The automobile-like meshes were generated by running the image-to-mesh model [InstantMesh](https://github.com/TencentARC/InstantMesh) on 1k images from the publicly available (Apache-2.0) [Stanford Cars Dataset](https://www.kaggle.com/datasets/jessicali9530/stanford-cars-dataset) consisting of 16,185 images of automobiles.
163
-
164
-
165
- Naturally, running the image-to-mesh model leads to meshes that may have certain defects, such as irregular surfaces, asymmetry issues and disconnected components. Therefore, after running the image-to-mesh model, we run a custom post-processing step where we try to improve the meshes quality. We used PCA to align the mesh with the main axis and we removed disconnected components.
166
-
167
- The resulting set of meshes still have little defects, such as presence of "spikes" or "cavities" in supposedly flat areas and asymmetric shapes, among others. We consider these little defects as valuable features of the dataset not as issues, since from the point of view of the learning problem, they bring challenges to the model that we believe will contribute to obtaining more robust and generalizable models.
168
-
169
-
170
- If you detect any clearly problematic mesh, please let us know so we can correct that issue for the next version of the Windtunnel-20k dataset.
171
-
172
- Note: the code used to generate the meshes and postprocess them is available on github: [https://github.com/inductiva/datasets-generation](https://github.com/inductiva/datasets-generation).
173
-
174
 
175
 
176
 
177
  ## What's next?
178
  If you have any issues using this dataset, feel free to reach out to us at [support@intuctiva.ai](support@intuctiva.ai).
179
 
 
 
 
 
180
  To learn more about how we created this dataset—or how you can generate synthetic datasets for Physics-AI models—visit [Inductiva.AI](inductiva.ai) or check out our blog post on [transforming complex simulation workflows into easy-to-use Python classes](https://inductiva.ai/blog/article/transform-complex-simulations).
 
23
  </p>
24
 
25
 
26
+ # Wind Tunnel 20K Dataset
27
+ The Wind Tunnel Dataset contains 19,812 OpenFOAM simulations of 1,000 unique automobile-like objects placed in a virtual wind tunnel.
28
+ Each object is simulated under 20 distinct conditions: 4 random wind speeds ranging from 10 to 50 m/s, and 5 rotation angles
29
+ (0°, 180° and 3 random angles).
30
+
31
+ The meshes for these automobile-like objects were generated using the [Instant Mesh model](https://github.com/TencentARC/InstantMesh)
32
+ on images sourced from the [Stanford Cars Dataset](https://www.kaggle.com/datasets/jessicali9530/stanford-cars-dataset).
33
+
34
  To ensure stable and reliable results, each simulation runs for 300 iterations.
35
+
36
  The entire dataset of 20,000 simulations is organized into three subsets: 70% for training, 20% for validation, and 10% for testing.
37
 
38
+ The data generation process itself was orchestrated using the [Inductiva API](https://inductiva.ai/),
39
+ which allowed us to run hundreds of OpenFOAM simulations in parallel on the cloud.
40
+
41
+
42
+ # Why
43
+ Existing object datasets have many limitations: they are either small in size, closed source, or have low quality meshes.
44
+ Hence, we decided to generate a new dataset using the [InstantMesh](https://github.com/TencentARC/InstantMesh) model,
45
+ which is open-source (Apache-2.0) and is currently state-of-the-art in image-to-mesh generation.
46
+
47
+ The automobile-like meshes were generated by running the image-to-mesh model [InstantMesh](https://github.com/TencentARC/InstantMesh)
48
+ on 1k images from the publicly available (Apache-2.0)
49
+ [Stanford Cars Dataset](https://www.kaggle.com/datasets/jessicali9530/stanford-cars-dataset) consisting of 16,185 images of automobiles.
50
+
51
+ Naturally, running the image-to-mesh model leads to meshes that may have certain defects, such as irregular surfaces, asymmetry issues
52
+ and disconnected components. Therefore, after running the image-to-mesh model, we run a custom post-processing step where we try to
53
+ improve the meshes quality. We used PCA to align the mesh with the main axis and we removed disconnected components.
54
+
55
+ The resulting set of meshes still have little defects, such as presence of "spikes" or "cavities" in supposedly flat areas and
56
+ asymmetric shapes, among others. We consider these little defects as valuable features of the dataset not as issues, since from the
57
+ point of view of the learning problem, they bring challenges to the model that we believe will contribute to obtaining more robust
58
+ and generalizable models.
59
+
60
+
61
+ # How did we generate the data
62
+
63
+ 1. Generating Input Meshes, using InstantMesh on Standord...
64
+ 2. Running OpenFoam on the Input Meshes with Inductiva API. We ran OpenFoam simulations on the input meshes we created before changing the ...
65
+ This produces an output mesh that contains all the information that we call openfoam.obj
66
+ 4. Postprocessing. Explain generation of pressure_field and streamlines
67
+ 5.
68
+
69
+ The code used to generate the meshes and postprocess them is available on github: [https://github.com/inductiva/datasets-generation](https://github.com/inductiva/datasets-generation).
70
 
71
 
72
+
73
+ # Dataset Structure
74
  ```
75
  data
76
  ├── train
 
89
 
90
 
91
  ### Dataset Files
92
+ Each simulation in the Wind Tunnel Dataset is accompanied by several key files that provide both the input and the output data of the simulations.
93
  Here’s a breakdown of the files included in each simulation:
94
 
95
+ - **input_mesh.obj**: OBJ file with the input mesh. These were generated using the InstantMesh model by the process described in section link.
96
+ - **openfoam_mesh.obj**: OBJ file with the OpenFOAM mesh. (explicar)
97
+ - **pressure_field_mesh.vtk**: VTK file with the pressure field data. (explicar)
98
+ - **streamlines_mesh.ply**: PLY file with the streamlines. (posprocessing)
99
  - **metadata.json**: JSON with metadata about the input parameters and about some output results such as the force coefficients (obtained via simulation) and the path of the output files.
100
 
101
 
 
191
 
192
  You can find the OpenFoam configuration files on github: [https://github.com/inductiva/wind-tunnel/tree/main/windtunnel/templates](https://github.com/inductiva/wind-tunnel/tree/main/windtunnel/templates)
193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
 
195
 
196
 
197
  ## What's next?
198
  If you have any issues using this dataset, feel free to reach out to us at [support@intuctiva.ai](support@intuctiva.ai).
199
 
200
+ If you detect any clearly problematic mesh, please let us know so we can correct that issue for the next version of the
201
+ Windtunnel-20k dataset.
202
+
203
+
204
  To learn more about how we created this dataset—or how you can generate synthetic datasets for Physics-AI models—visit [Inductiva.AI](inductiva.ai) or check out our blog post on [transforming complex simulation workflows into easy-to-use Python classes](https://inductiva.ai/blog/article/transform-complex-simulations).