Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,114 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: Single-Segment Transonic Swept Wings
|
| 3 |
+
tags:
|
| 4 |
+
- aerodynamics
|
| 5 |
+
- computational-fluid-dynamics
|
| 6 |
+
- scientific-ml
|
| 7 |
+
- transfer-learning
|
| 8 |
+
- 3d
|
| 9 |
+
- arxiv:2409.12711
|
| 10 |
---
|
| 11 |
+
|
| 12 |
+
# Single-Segment Transonic Swept Wings
|
| 13 |
+
|
| 14 |
+
This dataset supports **physics-embedded transfer learning from 2D airfoils to 3D swept wings**. [(paper)](https://doi.org/10.2514/1.J064576). We provide three linked sets of aerodynamic data for this workflow.
|
| 15 |
+
|
| 16 |
+
- **2D airfoil CFD** provides 22,104 supercritical airfoil cases for pretraining the airfoil model.
|
| 17 |
+
- **3D wing CFD** provides surface geometry and aerodynamic coefficients for 1,842 single-segment swept-wing cases, which serve as reference data for the transfer model.
|
| 18 |
+
|
| 19 |
+
The CFD surface data come from Reynolds-averaged Navier–Stokes (RANS) simulations with CFL3D and the SST turbulence model.
|
| 20 |
+
|
| 21 |
+
- **Vortex lattice method (VLM)** provides a low-fidelity spanwise distribution of sectional lift for each 3D wing case. These estimates help determine the effective operating conditions for the corresponding 2D sections.
|
| 22 |
+
|
| 23 |
+
It's part of [floGen collection](https://flogen.readthedocs.io/en/latest/wingdataset.html#b-2-single-segment-wings).
|
| 24 |
+
|
| 25 |
+
## Files
|
| 26 |
+
|
| 27 |
+
All seven files are NumPy `.npy``. Shapes below follow the on-disk axis order.
|
| 28 |
+
|
| 29 |
+
| File | Shape | Contents |
|
| 30 |
+
| --- | --- | --- |
|
| 31 |
+
| `airfoilndata.npy` | `(22104, 3, 321)` | Airfoil surface profiles. Axes are case, channel, and contour point. Channels are the normalized surface ordinate `y/c`, pressure coefficient `Cp`, and stored signed skin-friction channel. |
|
| 32 |
+
| `airfoilnindex.npy` | `(22104, 29)` | Airfoil case metadata, including geometry and condition identifiers, freestream Mach number, angle of attack, and CST geometry coefficients. |
|
| 33 |
+
| `wingdata.npy` | `(1842, 6, 61, 321)` | Wing surface geometry and CFD coefficients. Axes are case, channel, spanwise station, and contour point. Channels are `x`, `y`, `z`, `Cp`, scaled streamwise skin friction, and scaled spanwise skin friction. |
|
| 34 |
+
| `wingindex.npy` | `(1842, 35)` | Wing IDs, operating conditions, planform and section parameters, and integrated lift and drag coefficients. |
|
| 35 |
+
| `wing101roottip.npy` | `(1842, 3, 2, 321)` | Root and tip geometry in the wing coordinate frame. Axes are case, coordinate (`x`, `y`, `z`), section (`root`, `tip`), and contour point. |
|
| 36 |
+
| `winggeomroottip.npy` | `(1842, 2, 3, 321)` | Root and tip geometry in sectional coordinates. Axes are case, section (`root`, `tip`), coordinate, and contour point. The in-plane axes are aligned with the local chord and divided by its length. The third coordinate retains the wing-frame spanwise position. |
|
| 37 |
+
| `cldistribution_vlm.npy` | `(1842, 101)` | Low-fidelity spanwise sectional lift coefficient `cl` from VLM, with 101 values per wing case. |
|
| 38 |
+
|
| 39 |
+
### Wing cases
|
| 40 |
+
|
| 41 |
+
All five wing arrays use the same case order. Use `wingindex[i, 0]` to recover the case ID associated with row `i`. The CFD surface tensor runs from root to tip along its 61-station axis. The 101-value VLM distribution uses its own spanwise sampling.
|
| 42 |
+
|
| 43 |
+
The wing surface file stores `200 × Cf_streamwise` in channel `4` and `250 × Cf_spanwise` in channel `5`. Divide the stored values by those factors to recover the dimensionless friction coefficients. The wing geometry uses a unit root chord. The sampled wing freestream Mach numbers are approximately `0.72–0.85`, and the angles of attack approximately `1–6°`.
|
| 44 |
+
|
| 45 |
+
**`wingindex.npy` columns (zero-based)**
|
| 46 |
+
|
| 47 |
+
| Columns | Description |
|
| 48 |
+
| --- | --- |
|
| 49 |
+
| `0` | Wing case ID |
|
| 50 |
+
| `1–2` | Angle of attack (degrees), freestream Mach number |
|
| 51 |
+
| `3–7` | Leading-edge sweep (degrees), dihedral (degrees), aspect ratio, taper ratio, stored twist magnitude (degrees) |
|
| 52 |
+
| `8–10` | Tip-to-root thickness ratio, reference area, root relative thickness |
|
| 53 |
+
| `11–20` | Upper-surface class–shape transformation (CST) coefficients |
|
| 54 |
+
| `21–30` | Lower-surface CST coefficients |
|
| 55 |
+
| `31–32` | Lift and drag coefficients reported by the CFD solver |
|
| 56 |
+
| `33–34` | Lift and drag coefficients reconstructed from the surface distributions |
|
| 57 |
+
|
| 58 |
+
### Airfoil cases
|
| 59 |
+
|
| 60 |
+
`airfoilndata[i]` and `airfoilnindex[i]` describe the same 2D case. There can be multiple operating conditions for a single airfoil geometry. The two initial metadata columns contain the airfoil geometry ID and the condition ID within that geometry. Columns `2` and `3` contain freestream Mach number and angle of attack in degrees. Columns `6–15` and `16–25` are the upper- and lower-surface CST coefficients, respectively. The remaining metadata columns and the airfoil skin-friction scale are unspecified in this release documentation.
|
| 61 |
+
|
| 62 |
+
The airfoil files contain 1,842 geometry IDs with 12 cases per ID. The condition IDs retain their original values and can have gaps. The 2D and 3D index files share 1,841 IDs. To link the two groups, join on column `0` and account for the unmatched ID in each group. The arrays are provided without predefined split files. For evaluation on unseen airfoil shapes, group 2D cases by geometry ID when constructing a split.
|
| 63 |
+
|
| 64 |
+
## Load a sample
|
| 65 |
+
|
| 66 |
+
Run this example from the dataset repository root. Memory mapping allows you to inspect one case at a time.
|
| 67 |
+
|
| 68 |
+
```python
|
| 69 |
+
from pathlib import Path
|
| 70 |
+
|
| 71 |
+
import numpy as np
|
| 72 |
+
|
| 73 |
+
data_dir = Path('data')
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
def load(name):
|
| 77 |
+
return np.load(data_dir / name, mmap_mode='r', allow_pickle=False)
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
wing = load('wingdata.npy')
|
| 81 |
+
wing_index = load('wingindex.npy')
|
| 82 |
+
vlm = load('cldistribution_vlm.npy')
|
| 83 |
+
airfoil = load('airfoilndata.npy')
|
| 84 |
+
airfoil_index = load('airfoilnindex.npy')
|
| 85 |
+
|
| 86 |
+
i = 0
|
| 87 |
+
wing_id = int(wing_index[i, 0])
|
| 88 |
+
x, y, z, cp, cf_streamwise_scaled, cf_spanwise_scaled = wing[i]
|
| 89 |
+
cf_streamwise = cf_streamwise_scaled / 200
|
| 90 |
+
cf_spanwise = cf_spanwise_scaled / 250
|
| 91 |
+
sectional_cl_vlm = vlm[i]
|
| 92 |
+
|
| 93 |
+
j = 0
|
| 94 |
+
airfoil_id, condition_id = airfoil_index[j, :2].astype(int)
|
| 95 |
+
airfoil_y, airfoil_cp, airfoil_cf_stored = airfoil[j]
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
## Citation
|
| 99 |
+
|
| 100 |
+
```bibtex
|
| 101 |
+
@article{yang2025rapid,
|
| 102 |
+
author = {Yang, Yunjia and Li, Runze and Zhang, Yufei and Lu, Lu and Chen, Haixin},
|
| 103 |
+
title = {Rapid Aerodynamic Prediction of Swept Wings via Physics-Embedded Transfer Learning},
|
| 104 |
+
journal = {AIAA Journal},
|
| 105 |
+
year = {2025},
|
| 106 |
+
volume = {63},
|
| 107 |
+
number = {6},
|
| 108 |
+
pages = {2545--2559},
|
| 109 |
+
doi = {10.2514/1.J064576}
|
| 110 |
+
}
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
[Journal article](https://doi.org/10.2514/1.J064576)
|
| 114 |
+
|