| | --- |
| | 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 |
| |
|
| | - **metadata.json**: Includes metadata information 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) |
| | |
| | |
| | |
| | |