Dataset card: the canonical benchmark uses mean_stable samples; relative L2; canonical split sizes
Browse files
README.md
CHANGED
|
@@ -125,6 +125,13 @@ AeroZoo can be used for anything. Two recommended tasks with exact metrics
|
|
| 125 |
make results comparable. Both give a model the posed problem and ask for the
|
| 126 |
time-mean solution.
|
| 127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
**The posed problem is the data of the equations and nothing else.** It is
|
| 129 |
the geometry of the four boundary meshes, which also says which condition
|
| 130 |
holds on each face; the values each condition prescribes,
|
|
@@ -166,6 +173,7 @@ on the same scale.
|
|
| 166 |
|:---|:---|:---|
|
| 167 |
| ε_U, ε_p | interior | volume-weighted RMS errors of mean velocity and pressure over the fluid, in units of U_ref and q_ref |
|
| 168 |
| ε_U, ε_p near the body | interior | the same within one reference length of the body (samples with a body) |
|
|
|
|
| 169 |
| ε_CF | boundary | error of the force along the fastest inlet's direction, divided by the larger of \|C_F\| and 0.05 |
|
| 170 |
| ε_C | boundary | error of the whole force vector, divided by the larger of its norm and 0.05 |
|
| 171 |
| ε_Cp, ε_τ | boundary | area-weighted RMS errors of pressure and wall shear on the body, in units of q_ref |
|
|
@@ -187,10 +195,12 @@ its normal, which points out of the fluid, and \\(\mathbf e_F\\) the reference f
|
|
| 187 |
force coefficient is normalized by \\(L_\mathrm{ref}^2\\), not by a frontal area, so it is not a drag
|
| 188 |
coefficient in the usual sense.
|
| 189 |
|
| 190 |
-
Report each metric's mean and median over the
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
|
|
|
|
|
|
| 194 |
the fields that a Dirichlet condition fixes: the inlet's velocity and
|
| 195 |
turbulence, the outlet's pressure and the no-slip velocity. The book's
|
| 196 |
chapter "Tasks, Metrics and Splits" gives every equation and a reference
|
|
@@ -208,36 +218,36 @@ side, never from a held-out region. Failed and timed-out cases keep their
|
|
| 208 |
places and are never replaced, so a part's released size is its planned
|
| 209 |
size minus the cases that did not complete.
|
| 210 |
|
| 211 |
-
|
| 212 |
|
| 213 |
| Split | Question it asks | Train | Val | Test |
|
| 214 |
|:---|:---|---:|---:|---:|
|
| 215 |
-
| `full` | random split of the whole population (the baseline) | 2,
|
| 216 |
-
| `scarce` | data efficiency: one sixth of `full`'s training set |
|
| 217 |
-
| `super_scarce` | data efficiency: one thirty-sixth of `full`'s training set |
|
| 218 |
-
| `bank_airframes` | unseen geometry family: Airframe Foundry |
|
| 219 |
-
| `bank_blender_bluff` | unseen geometry family: Blender bluff | 2,
|
| 220 |
-
| `bank_blender_streamlined` | unseen geometry family: Blender streamlined | 2,
|
| 221 |
-
| `bank_blobs` | unseen geometry family: Blobs |
|
| 222 |
-
| `bank_cars` | unseen geometry family: Procedural cars | 2,
|
| 223 |
-
| `bank_streamlined` | unseen geometry family: Streamlined | 2,
|
| 224 |
-
| `bank_zero_to_cad` | unseen geometry family: Zero-to-CAD |
|
| 225 |
-
| `family_opposed_hemisphere` | unseen enclosure: symmetry hemisphere | 2,
|
| 226 |
-
| `family_opposed_sphere` | unseen enclosure: opposed sphere |
|
| 227 |
-
| `family_duct` | unseen enclosure: internal duct |
|
| 228 |
-
| `family_non_box` | unseen enclosures: train on boxes, test on spheres, hemispheres and ducts |
|
| 229 |
-
| `reynolds` | Reynolds extrapolation: train below 10⁶, test above |
|
| 230 |
-
| `reynolds_interior` | Reynolds interpolation: the 10⁵–10⁶ decade held out |
|
| 231 |
-
| `profile_confined_opposed` | unseen box layout: confined box | 2,
|
| 232 |
-
| `profile_crossflow` | unseen box layout: crossflow box | 2,
|
| 233 |
-
| `profile_dual_inlet` | unseen box layout: dual-inlet box | 2,
|
| 234 |
-
| `profile_ground_effect` | unseen box layout: ground-effect box | 2,
|
| 235 |
-
| `profile_open_opposed` | unseen box layout: open box |
|
| 236 |
-
| `layout` | body-wall layout: train on all-no-slip and two-band bodies, test on three-band |
|
| 237 |
|
| 238 |
`full`, `scarce` and `super_scarce` share their validation and test sets.
|
| 239 |
Every other split holds one region of the population out as its test set,
|
| 240 |
-
so test sets differ in size by a factor of about
|
| 241 |
more: compare models only on the same split. Train on `full` first; the
|
| 242 |
held-out splits then ask how far a model extrapolates.
|
| 243 |
|
|
@@ -246,18 +256,17 @@ import json
|
|
| 246 |
|
| 247 |
splits = json.load(open("splits/splits.json"))
|
| 248 |
release = json.load(open("release-v1.2.json"))
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
test =
|
| 252 |
-
|
| 253 |
-
|
|
|
|
| 254 |
```
|
| 255 |
|
| 256 |
When you report a result, name the task, the split, the release version and
|
| 257 |
-
the `index.json` hash (`release-v1.2.json` records it),
|
| 258 |
-
|
| 259 |
-
example by stability label. Test samples are never dropped from the primary
|
| 260 |
-
score; a filtered score may be reported beside it.
|
| 261 |
|
| 262 |
## What to know before training
|
| 263 |
|
|
@@ -265,8 +274,8 @@ score; a filtered score may be reported beside it.
|
|
| 265 |
solution** (Langtry–Menter transition SST, OpenFOAM 14), not converged
|
| 266 |
steady states and not ground truth. The `mean_stable` / `mean_unstable`
|
| 267 |
label says whether the two halves of the averaging window agree within
|
| 268 |
-
fixed tolerances
|
| 269 |
-
|
| 270 |
- The release under-represents the largest meshes at the highest Reynolds
|
| 271 |
numbers: 230 of the 337 timed-out cases are in the 10⁷ to 10⁸ decade. The
|
| 272 |
manifest states this case by case.
|
|
|
|
| 125 |
make results comparable. Both give a model the posed problem and ask for the
|
| 126 |
time-mean solution.
|
| 127 |
|
| 128 |
+
**The canonical benchmark uses only `mean_stable` samples**, for training,
|
| 129 |
+
validation and testing. In the other quarter of the release the means over
|
| 130 |
+
the two halves of the averaging window disagree beyond the stability label's
|
| 131 |
+
tolerances: the stored mean was still moving. A score over all released
|
| 132 |
+
samples, or a model trained with the `mean_unstable` samples as well, may be
|
| 133 |
+
reported beside the canonical result, labelled.
|
| 134 |
+
|
| 135 |
**The posed problem is the data of the equations and nothing else.** It is
|
| 136 |
the geometry of the four boundary meshes, which also says which condition
|
| 137 |
holds on each face; the values each condition prescribes,
|
|
|
|
| 173 |
|:---|:---|:---|
|
| 174 |
| ε_U, ε_p | interior | volume-weighted RMS errors of mean velocity and pressure over the fluid, in units of U_ref and q_ref |
|
| 175 |
| ε_U, ε_p near the body | interior | the same within one reference length of the body (samples with a body) |
|
| 176 |
+
| r_U, r_p | interior | relative L2 errors of velocity and pressure, ‖ŷ − y‖ / ‖y‖ over every interior point counted equally, for comparison with the ML literature |
|
| 177 |
| ε_CF | boundary | error of the force along the fastest inlet's direction, divided by the larger of \|C_F\| and 0.05 |
|
| 178 |
| ε_C | boundary | error of the whole force vector, divided by the larger of its norm and 0.05 |
|
| 179 |
| ε_Cp, ε_τ | boundary | area-weighted RMS errors of pressure and wall shear on the body, in units of q_ref |
|
|
|
|
| 195 |
force coefficient is normalized by \\(L_\mathrm{ref}^2\\), not by a frontal area, so it is not a drag
|
| 196 |
coefficient in the usual sense.
|
| 197 |
|
| 198 |
+
Report each metric's mean and median over the canonical (`mean_stable`) test
|
| 199 |
+
samples on which it is defined, and for the two force errors the shares of
|
| 200 |
+
those samples within 0.02 and within 0.05, the stability label's own
|
| 201 |
+
tolerances. A free stream, the area-weighted inlet velocity everywhere and
|
| 202 |
+
zero pressure, needs no training and scores a median ε_U of 0.110 on the
|
| 203 |
+
canonical test samples of `full`: a model must beat it, not zero. A boundary score must leave out
|
| 204 |
the fields that a Dirichlet condition fixes: the inlet's velocity and
|
| 205 |
turbulence, the outlet's pressure and the no-slip velocity. The book's
|
| 206 |
chapter "Tasks, Metrics and Splits" gives every equation and a reference
|
|
|
|
| 218 |
places and are never replaced, so a part's released size is its planned
|
| 219 |
size minus the cases that did not complete.
|
| 220 |
|
| 221 |
+
Canonical (`mean_stable`) / released sizes of every part:
|
| 222 |
|
| 223 |
| Split | Question it asks | Train | Val | Test |
|
| 224 |
|:---|:---|---:|---:|---:|
|
| 225 |
+
| `full` | random split of the whole population (the baseline) | 2,011 / 2,713 | 290 / 386 | 515 / 716 |
|
| 226 |
+
| `scarce` | data efficiency: one sixth of `full`'s training set | 321 / 440 | 290 / 386 | 515 / 716 |
|
| 227 |
+
| `super_scarce` | data efficiency: one thirty-sixth of `full`'s training set | 53 / 74 | 290 / 386 | 515 / 716 |
|
| 228 |
+
| `bank_airframes` | unseen geometry family: Airframe Foundry | 2,198 / 3,018 | 321 / 430 | 297 / 367 |
|
| 229 |
+
| `bank_blender_bluff` | unseen geometry family: Blender bluff | 2,149 / 2,935 | 331 / 441 | 336 / 439 |
|
| 230 |
+
| `bank_blender_streamlined` | unseen geometry family: Blender streamlined | 2,148 / 2,938 | 310 / 418 | 358 / 459 |
|
| 231 |
+
| `bank_blobs` | unseen geometry family: Blobs | 1,662 / 2,156 | 237 / 292 | 917 / 1,367 |
|
| 232 |
+
| `bank_cars` | unseen geometry family: Procedural cars | 2,173 / 2,965 | 321 / 434 | 322 / 416 |
|
| 233 |
+
| `bank_streamlined` | unseen geometry family: Streamlined | 2,132 / 2,940 | 332 / 441 | 352 / 434 |
|
| 234 |
+
| `bank_zero_to_cad` | unseen geometry family: Zero-to-CAD | 2,250 / 3,040 | 332 / 442 | 234 / 333 |
|
| 235 |
+
| `family_opposed_hemisphere` | unseen enclosure: symmetry hemisphere | 2,330 / 2,982 | 352 / 442 | 134 / 391 |
|
| 236 |
+
| `family_opposed_sphere` | unseen enclosure: opposed sphere | 2,158 / 3,017 | 302 / 418 | 356 / 380 |
|
| 237 |
+
| `family_duct` | unseen enclosure: internal duct | 2,266 / 3,055 | 348 / 457 | 202 / 303 |
|
| 238 |
+
| `family_non_box` | unseen enclosures: train on boxes, test on spheres, hemispheres and ducts | 1,850 / 2,390 | 274 / 351 | 692 / 1,074 |
|
| 239 |
+
| `reynolds` | Reynolds extrapolation: train below 10⁶, test above | 1,577 / 2,119 | 238 / 311 | 1,001 / 1,385 |
|
| 240 |
+
| `reynolds_interior` | Reynolds interpolation: the 10⁵–10⁶ decade held out | 1,935 / 2,614 | 292 / 380 | 589 / 821 |
|
| 241 |
+
| `profile_confined_opposed` | unseen box layout: confined box | 2,114 / 2,963 | 301 / 418 | 401 / 434 |
|
| 242 |
+
| `profile_crossflow` | unseen box layout: crossflow box | 2,298 / 2,820 | 345 / 417 | 173 / 578 |
|
| 243 |
+
| `profile_dual_inlet` | unseen box layout: dual-inlet box | 2,044 / 2,875 | 313 / 424 | 459 / 516 |
|
| 244 |
+
| `profile_ground_effect` | unseen box layout: ground-effect box | 2,011 / 2,837 | 294 / 400 | 511 / 578 |
|
| 245 |
+
| `profile_open_opposed` | unseen box layout: open box | 1,943 / 2,775 | 293 / 405 | 580 / 635 |
|
| 246 |
+
| `layout` | body-wall layout: train on all-no-slip and two-band bodies, test on three-band | 1,647 / 2,233 | 239 / 311 | 930 / 1,271 |
|
| 247 |
|
| 248 |
`full`, `scarce` and `super_scarce` share their validation and test sets.
|
| 249 |
Every other split holds one region of the population out as its test set,
|
| 250 |
+
so test sets differ in size by a factor of about eight, and in difficulty by
|
| 251 |
more: compare models only on the same split. Train on `full` first; the
|
| 252 |
held-out splits then ask how far a model extrapolates.
|
| 253 |
|
|
|
|
| 256 |
|
| 257 |
splits = json.load(open("splits/splits.json"))
|
| 258 |
release = json.load(open("release-v1.2.json"))
|
| 259 |
+
quality = {c: r.get("solution_quality") for c, r in release["cases"].items()}
|
| 260 |
+
canonical = lambda part: [c for c in splits[part] if quality[c] == "mean_stable"]
|
| 261 |
+
train, test = canonical("reynolds_train"), canonical("reynolds_test")
|
| 262 |
+
# why each other test case is out: mean_unstable, failed or timed_out
|
| 263 |
+
out = {c: quality[c] or release["cases"][c]["status"]
|
| 264 |
+
for c in splits["reynolds_test"] if quality[c] != "mean_stable"}
|
| 265 |
```
|
| 266 |
|
| 267 |
When you report a result, name the task, the split, the release version and
|
| 268 |
+
the `index.json` hash (`release-v1.2.json` records it), say whether the
|
| 269 |
+
result is canonical, and give the counts you trained and tested on.
|
|
|
|
|
|
|
| 270 |
|
| 271 |
## What to know before training
|
| 272 |
|
|
|
|
| 274 |
solution** (Langtry–Menter transition SST, OpenFOAM 14), not converged
|
| 275 |
steady states and not ground truth. The `mean_stable` / `mean_unstable`
|
| 276 |
label says whether the two halves of the averaging window agree within
|
| 277 |
+
fixed tolerances. Both are valid samples; the canonical benchmark uses
|
| 278 |
+
only `mean_stable` ones.
|
| 279 |
- The release under-represents the largest meshes at the highest Reynolds
|
| 280 |
numbers: 230 of the 337 timed-out cases are in the 10⁷ to 10⁸ decade. The
|
| 281 |
manifest states this case by case.
|