File size: 4,150 Bytes
c661005
 
c8ef3b2
c661005
 
 
 
 
 
 
 
 
 
 
96e64c4
 
13114d1
96e64c4
 
 
 
 
13114d1
96e64c4
c8ef3b2
 
 
 
 
 
 
 
 
 
 
 
c661005
 
 
 
 
96e64c4
 
 
 
c8ef3b2
 
 
 
c661005
ba9d352
 
 
 
5e7d837
ba9d352
 
 
 
 
 
 
 
 
 
 
 
 
5e7d837
ba9d352
 
 
 
 
 
 
 
 
 
 
 
5e7d837
ba9d352
 
 
5e7d837
ba9d352
 
 
 
 
5e7d837
ba9d352
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5e7d837
ba9d352
 
 
 
5e7d837
ba9d352
 
 
 
 
 
 
 
 
 
 
 
 
 
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
---
dataset_info:
- config_name: geometry
  features:
  - name: node_coordinates_x
    list: float64
  - name: node_coordinates_y
    list: float64
  splits:
  - name: default
    num_bytes: 7176
    num_examples: 1
  download_size: 8275
  dataset_size: 7176
- config_name: parameters
  features:
  - name: angle_of_attack
    dtype: float64
  splits:
  - name: default
    num_bytes: 800
    num_examples: 100
  download_size: 1465
  dataset_size: 800
- config_name: snapshots
  features:
  - name: pressure
    list: float64
  - name: wall_shear_stress
    list: float64
  splits:
  - name: default
    num_bytes: 717600
    num_examples: 100
  download_size: 810975
  dataset_size: 717600
configs:
- config_name: geometry
  data_files:
  - split: default
    path: geometry/default-*
- config_name: parameters
  data_files:
  - split: default
    path: parameters/default-*
- config_name: snapshots
  data_files:
  - split: default
    path: snapshots/default-*
---
# Airfoil Transonic Flow - Boundary Dataset

## Dataset Description

This dataset contains transonic flow simulations around an airfoil, focusing on boundary (airfoil surface) quantities with varying angle of attack.

### Dataset Summary

The Airfoil Transonic Boundary dataset provides numerical simulations of compressible transonic flow around an airfoil profile. The dataset focuses on aerodynamic quantities at the airfoil surface (boundary), including pressure and wall shear stress distributions, making it valuable for aerodynamic analysis, design optimization, and machine learning applications in aerospace engineering.

## Dataset Structure

### Data Instances

The dataset consists of three configurations:

- **geometry**: Airfoil surface node coordinates
- **snapshots**: Aerodynamic field solutions at the boundary
- **parameters**: Flow condition parameters (angle of attack)

### Data Fields

#### Geometry Configuration
- `node_coordinates_x`: Sequence of x-coordinates of airfoil surface nodes (float64)
- `node_coordinates_y`: Sequence of y-coordinates of airfoil surface nodes (float64)

#### Snapshots Configuration
- `pressure`: Pressure distribution along the airfoil surface (float64)
- `wall_shear_stress`: Wall shear stress distribution along the airfoil surface (float64)

#### Parameters Configuration
- `angle_of_attack`: angle of attack for each simulation (float64)

### Data Splits

- `default`: Contains all simulations with varying angle of attack

## Dataset Creation

### Source Data

The dataset was generated using computational fluid dynamics simulations of the Euler equations for compressible transonic flow around an airfoil. The transonic regime is characterized by mixed subsonic and supersonic flow regions, often exhibiting shock waves.

### Preprocessing

Only boundary quantities (at the airfoil surface) are included in this dataset. Solutions are stored as 1D arrays corresponding to the nodes on the airfoil surface.

## Usage

```python
from datasets import load_dataset
import numpy as np
import matplotlib.pyplot as plt

# Load geometry
ds_geom = load_dataset("SISSAmathLab/airfoil-transonic-boundary", name="geometry")

# Load snapshots
ds_data = load_dataset("SISSAmathLab/airfoil-transonic-boundary", name="snapshots")

# Load parameters
ds_params = load_dataset("SISSAmathLab/airfoil-transonic-boundary", name="parameters")

# Visualize pressure distribution on airfoil surface
pts_x = np.asarray(ds_geom['default']['node_coordinates_x']).flatten()
pts_y = np.asarray(ds_geom['default']['node_coordinates_y']).flatten()
pressure = ds_data['default']['pressure'][0]
angle_of_attack = ds_params['default']['angle_of_attack'][0]

plt.figure(figsize=(12, 4))
plt.scatter(pts_x, pts_y, c=pressure, cmap='RdBu_r', s=20)
plt.colorbar(label='Pressure')
plt.title(f'Airfoil Surface Pressure (angle of attack={angle_of_attack:.2f})')
plt.xlabel('x')
plt.ylabel('y')
plt.axis('equal')
plt.grid(True, alpha=0.3)
plt.show()
```

## Related Datasets

See also: **Airfoil Transonic Internal** dataset for flow field quantities in the internal domain around the airfoil.

## Contact

For questions or issues, please contact SISSA mathLab.