File size: 1,497 Bytes
604bedf
 
 
 
 
 
 
 
 
 
 
 
 
 
663923f
 
 
 
 
 
604bedf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
---
pretty_name: Wind Tunnel dataset
size_categories:
- 10K<n<100K
---

# Wind Tunnel Dataset

## Overview

This repository contains a dataset for wind tunnel simulations, organized into three main subsets: training, validation, and test. Each subset includes simulation files in various formats necessary for analysis and model training.

## File Descriptions

- **input_parameters.json**: Includes input parameters for the simulation.
- **force_coefficients.json**: Contains the force_coefficients of the simulation.
- **input_mesh.obj**: OBJ file with the input mesh.
- **openfoam_mesh.obj**: OBJ file with the OpenFOAM mesh.
- **pressure_field_mesh.vtk**: VTK file with the pressure field data.
- **streamlines_mesh.ply**: PLY file with the streamlines.

## Usage

To use the dataset, clone the repository and navigate to the `data` directory. Each subset can be used for training, validating, or testing your models.

### Downloading the Dataset

You can download the dataset from the Hugging Face Hub using the following code:

```python
from huggingface_hub import snapshot_download

dataset_name = "rvalerio/windtunnel"

# Download the entire dataset
snapshot_download(repo_id=dataset_name)

# Download to a specific directory
snapshot_download(repo_id=dataset_name, local_dir="windtunnel_dataset")

# Download only specific files
snapshot_download(allow_patterns=["*/input_mesh.obj"], repo_id=dataset_name)
snapshot_download(ignore_patterns=["*/input_mesh.obj"], repo_id=dataset_name)