Skip to main content

AirfRANS: High Fidelity Computational Fluid Dynamics Dataset for Approximating Reynolds-Averaged Navier–Stokes Solutions

The AirfRANS dataset makes available numerical resolutions of the incompressible Reynolds-Averaged Navier–Stokes (RANS) equations over the NACA 4 and 5 digits series of airfoils and in a subsonic flight regime setup. Readthedocs documentation is available here.

Features

  • Access to 1000 simulations.
  • Reynolds number between 2 and 6 million.
  • Angle of attack between -5° and 15°.
  • Airfoil drawn in the NACA 4 and 5 digits series.
  • Four machine learning tasks representing different challenges.

Installation

Install with

pip install airfrans

Usage

Downloading the dataset

From python:

import airfrans as af

af.dataset.download(root = PATH_TO_SAVING_DIRECTORY, unzip = True)

You can also directly download a ready-to-use version of the dataset in the PyTorch Geometric library Finally, you can directly download the dataset in the raw OpenFOAM version here, or in the more friendly pre-processed version here.

Loading the dataset

From python:

import airfrans as af

dataset, dataname = af.dataset.load(root = PATH_TO_DATASET, task = TASK, train = True)

The tasks are the one presented in the associated paper. You can choose between 'full', 'scarce', 'reynolds' and 'aoa'. The dataset loaded in this case is the same as the one you can directly access via the PyTorch Geometric library. If you want more flexibility about the sampling of each simulation for the inputs or targets, please feel free to build a custom loader with the help of the 'Simulation' class presented in the following. We highly recommend to handle those data with a Gemetric Deep Learning library such as PyTorch Geometric or Deep Graph Library.

Simulation class

The 'Simulation' class is an object to facilitate the manipulation of AirfRANS simulations. Given the root folder of where the directories of the simulations have been saved and the name of a simulation you can easily manipulate it.

import airfrans as af

name = 'airFoil2D_SST_57.872_7.314_5.454_3.799_13.179'
simulation = af.Simulation(root = PATH_TO_DATASET, name = name)

See the documentation for more details about this object.

License

This project is licensed under the ODbL-1.0 License.

Reference

The original paper accepted at the 36th Conference on Neural Information Processing Systems (NeurIPS 2022) Track on Datasets and Benchmarks can be found here and the preprint here. Disclaimer: An important update correcting an inconsistency in the Machine Learning experiments proposed in the main part of the NeurIPS version of the paper has been done. Please refer to the ArXiv version for the up to date version.

Please cite this paper if you use this dataset in your own work.

@inproceedings{
bonnet2022airfrans,
title={Airf{RANS}: High Fidelity Computational Fluid Dynamics Dataset for Approximating Reynolds-Averaged Navier{\textendash}Stokes Solutions},
author={Florent Bonnet and Jocelyn Ahmed Mazari and Paola Cinnella and Patrick Gallinari},
booktitle={Thirty-sixth Conference on Neural Information Processing Systems Datasets and Benchmarks Track},
year={2022},
url={https://arxiv.org/abs/2212.07564}
  }

Release files for airfrans 0.1.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airfrans 0.1.5.1
File Size Uploaded
airfrans-0.1.5.1.tar.gz 4.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for airfrans 0.1.5.1
File Interpreter ABI Platform
airfrans-0.1.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 MB

Release files / airfrans-0.1.5.1.tar.gz

Download URL airfrans-0.1.5.1.tar.gz
Size 4.7 MB
Tags Source
SHA-256 checksum
How to use checksums
9c13a31719276a57d186e88cdae906221b2badd58e48e6f94ed7436eb854dc52
BLAKE2b-256 checksum
How to use checksums
5e9ff49bfb850f7509ff0b07664e74b72c5d63ca0e04cd4ddaedb01e3ccf103f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / airfrans-0.1.5.1-py3-none-any.whl

Download URL airfrans-0.1.5.1-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
298bc0aaec4617296a6f087df85174e73c1b0910aad2040d4f3bf8fc7c313c14
BLAKE2b-256 checksum
How to use checksums
58ec306c91a4c45f55129300909b8056cdca94b9eff965064f16b74f8c69e006
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release history Release notifications | RSS feed

This release

0.1.5.1 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page