Small change to README
#1
by
aivagnes - opened
README.md
CHANGED
|
@@ -52,7 +52,7 @@ configs:
|
|
| 52 |
|
| 53 |
## Dataset Description
|
| 54 |
|
| 55 |
-
This dataset contains transonic flow simulations around an airfoil, focusing on boundary (airfoil surface) quantities with varying
|
| 56 |
|
| 57 |
### Dataset Summary
|
| 58 |
|
|
@@ -66,7 +66,7 @@ The dataset consists of three configurations:
|
|
| 66 |
|
| 67 |
- **geometry**: Airfoil surface node coordinates
|
| 68 |
- **snapshots**: Aerodynamic field solutions at the boundary
|
| 69 |
-
- **parameters**: Flow condition parameters (
|
| 70 |
|
| 71 |
### Data Fields
|
| 72 |
|
|
@@ -79,17 +79,17 @@ The dataset consists of three configurations:
|
|
| 79 |
- `wall_shear_stress`: Wall shear stress distribution along the airfoil surface (float64)
|
| 80 |
|
| 81 |
#### Parameters Configuration
|
| 82 |
-
- `
|
| 83 |
|
| 84 |
### Data Splits
|
| 85 |
|
| 86 |
-
- `default`: Contains all simulations with varying
|
| 87 |
|
| 88 |
## Dataset Creation
|
| 89 |
|
| 90 |
### Source Data
|
| 91 |
|
| 92 |
-
The dataset was generated using computational fluid dynamics simulations of the Euler
|
| 93 |
|
| 94 |
### Preprocessing
|
| 95 |
|
|
@@ -115,12 +115,12 @@ ds_params = load_dataset("SISSAmathLab/airfoil-transonic-boundary", name="parame
|
|
| 115 |
pts_x = np.asarray(ds_geom['default']['node_coordinates_x']).flatten()
|
| 116 |
pts_y = np.asarray(ds_geom['default']['node_coordinates_y']).flatten()
|
| 117 |
pressure = ds_data['default']['pressure'][0]
|
| 118 |
-
|
| 119 |
|
| 120 |
plt.figure(figsize=(12, 4))
|
| 121 |
plt.scatter(pts_x, pts_y, c=pressure, cmap='RdBu_r', s=20)
|
| 122 |
plt.colorbar(label='Pressure')
|
| 123 |
-
plt.title(f'Airfoil Surface Pressure (
|
| 124 |
plt.xlabel('x')
|
| 125 |
plt.ylabel('y')
|
| 126 |
plt.axis('equal')
|
|
|
|
| 52 |
|
| 53 |
## Dataset Description
|
| 54 |
|
| 55 |
+
This dataset contains transonic flow simulations around an airfoil, focusing on boundary (airfoil surface) quantities with varying angle of attack.
|
| 56 |
|
| 57 |
### Dataset Summary
|
| 58 |
|
|
|
|
| 66 |
|
| 67 |
- **geometry**: Airfoil surface node coordinates
|
| 68 |
- **snapshots**: Aerodynamic field solutions at the boundary
|
| 69 |
+
- **parameters**: Flow condition parameters (angle of attack)
|
| 70 |
|
| 71 |
### Data Fields
|
| 72 |
|
|
|
|
| 79 |
- `wall_shear_stress`: Wall shear stress distribution along the airfoil surface (float64)
|
| 80 |
|
| 81 |
#### Parameters Configuration
|
| 82 |
+
- `angle_of_attack`: angle of attack for each simulation (float64)
|
| 83 |
|
| 84 |
### Data Splits
|
| 85 |
|
| 86 |
+
- `default`: Contains all simulations with varying angle of attack
|
| 87 |
|
| 88 |
## Dataset Creation
|
| 89 |
|
| 90 |
### Source Data
|
| 91 |
|
| 92 |
+
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.
|
| 93 |
|
| 94 |
### Preprocessing
|
| 95 |
|
|
|
|
| 115 |
pts_x = np.asarray(ds_geom['default']['node_coordinates_x']).flatten()
|
| 116 |
pts_y = np.asarray(ds_geom['default']['node_coordinates_y']).flatten()
|
| 117 |
pressure = ds_data['default']['pressure'][0]
|
| 118 |
+
angle_of_attack = ds_params['default']['angle_of_attack'][0]
|
| 119 |
|
| 120 |
plt.figure(figsize=(12, 4))
|
| 121 |
plt.scatter(pts_x, pts_y, c=pressure, cmap='RdBu_r', s=20)
|
| 122 |
plt.colorbar(label='Pressure')
|
| 123 |
+
plt.title(f'Airfoil Surface Pressure (angle of attack={angle_of_attack:.2f})')
|
| 124 |
plt.xlabel('x')
|
| 125 |
plt.ylabel('y')
|
| 126 |
plt.axis('equal')
|