Case H: validation

Contents
  1. Measurement locations
  2. Explore the points
  3. OpenFOAM 12
    1. Measured against modelled
    2. Vertical profiles
    3. Field maps
    4. Scores
  4. Not run
  5. Leaderboard

Engine status: OpenFOAM 12 scored · OpenLB pending · FluidX3D pending · ML surrogate pending

Nomenclature: symbols, columns and scores

Geometry, reference scales and release

  • \(H\), \(b\), \(D\) (m) — height of the building, cube, tower or tree belt; width of the building; edge of the cubes of Case C: the lengths the cases are drawn and normalised by
  • \(U_H\) (m/s) — reference speed: the mean approach-flow speed at the height \(H\) (each Data page gives the value used)
  • \(U_R\), \(H_R\), \(Z_R\) (m/s, m) — reference speed and height of a workbook: Case E, \(U_R\) at \(Z_R\) = 250 m full scale (1 m in the model); Case M, \(U_R\) and \(H_R\) at the reference point of the tunnel and of each field run
  • \(U_{\mathrm{ref}}\), \(L_{\mathrm{ref}}\) (m/s, m) — reference speed and length of a case’s normalisation: \(U_H\) and \(H\) (\(U_R\) and \(H_R\) in Case M); for the velocity ratios the approach speed at 15.9 m (Case E) or at 500 m (Case F)
  • \(U_b\) (m/s) — Case G: mean approach-flow speed at 9 m, the normalisation of its approach-flow table
  • \(q\), \(c_{\mathrm{gas}}\) (m³/s, ppm) — tracer release of the experiment: volume flow of the released gas, and its tracer content (\(10^6\) ppm when pure); \(Q\) is the source strength given to a solve
  • \(R_b\) (dimensionless) — bulk Richardson number of the heated-floor cases J and L (negative: unstable stratification)
  • \(\mathrm{Re_H}\), \(\mathrm{Re_D}\) (dimensionless) — Reynolds numbers \(U_H H/\nu\) and \(U_H D/\nu\) (\(\nu\): kinematic viscosity of air)
  • \(u_\ast\), \(z_0\), \(\kappa\) (m/s, mm, dimensionless) — friction velocity and roughness length of the log law fitted to the approach flow, and the von Kármán constant (0.41)
  • \(\mathrm{WD}\) (column wind_direction_deg; °) — wind direction (each frame says how it is counted); \(\mathrm{WD_R}\) is the mean direction of a field run at its reference point (Case M)
  • \(x\), \(y\), \(z\) (columns x, y, z; m) — coordinates in the case’s frame (\(+x\), \(+y\) and \(+z\) are the positive directions; each Data page says which way \(+x\) points), \(z\) up from the floor of the tunnel or from the ground
  • \(\mathrm{d}x\) (m) — lattice spacing of the OpenLB and FluidX3D runs, in metres or as a fraction of \(H\) (\(H/64\))
  • \(L_r\) (m) — reattachment length behind the building, read from a wake line at ground level; reported as \(L_r/H\)

Velocity and turbulence

  • \(U\), \(V\), \(W\) (columns U, V, W; m/s) — mean velocity along \(+x\), \(+y\), \(+z\); \(V\) is positive toward \(+y\) in every case
  • \(\lvert\mathbf{U}\rvert\) (m/s) — magnitude of the mean velocity vector, \(\sqrt{U^2+V^2+W^2}\)
  • \(V_{\mathrm{s}}\) (column Vs; m/s) — mean omnidirectional scalar speed of a thermistor (never a vector magnitude)
  • \(\overline{u'u'}\), \(\overline{v'v'}\), \(\overline{w'w'}\) (columns uu, vv, ww; m²/s²) — velocity variances (overbar: time average, prime: fluctuation about it)
  • \(\overline{u'v'}\), \(\overline{u'w'}\), \(\overline{v'w'}\) (columns uv, uw, vw; m²/s²) — Reynolds shear stresses
  • \(k = \tfrac{1}{2}\left(\overline{u'u'}+\overline{v'v'}+\overline{w'w'}\right)\) (column k; m²/s²) — turbulent kinetic energy
  • \(U/U_{\mathrm{ref}}\) (column velocity_ratio; dimensionless) — mean speed over the case’s reference speed (\(V_{\mathrm{s}}/U_{\mathrm{ref}}\) for a thermistor)
  • \(\sigma_{U/U_{\mathrm{ref}}}\) (column velocity_ratio_sd; dimensionless) — standard deviation of velocity_ratio over the observations behind a field value (Case F)
  • \(k/U_{\mathrm{ref}}^2\) (column k_ratio; dimensionless) — turbulent kinetic energy over the square of the reference speed, where only normalised values are published (Case G)

Concentration and temperature

  • \(C\) (column C; ppm) — mean tracer-gas concentration as published (volume fraction \(\times 10^6\) of the released gas diluted in air)
  • \(c_{\mathrm{rms}}\) (column c_rms; ppm) — root mean square of the concentration fluctuation
  • \(c_0\) (ppm) — reference concentration, defined for each case on its Data page: \(c_0 = \dfrac{c_{\mathrm{gas}}\thinspace q}{U_H H^2}\) (\(U_R H_R^2\) in the denominator in Case M)
  • \(c^\ast\) (column concentration_ratio; dimensionless) — dimensionless concentration \(c^\ast = C/c_0\); the value of a solve is \(c\thinspace U_H H^2/Q\) for its mean concentration \(c\) and its source strength \(Q\)
  • \(\mathrm{Sc_t}\) (dimensionless) — turbulent Schmidt number of a solve (0.3, 0.5 and 0.7)
  • \(T\), \(T_{\mathrm{rms}}\) (columns T, T_rms; °C, K) — mean air temperature as published (Cases J and L) and the root mean square of its fluctuation
  • \(\overline{u'c'}\), \(\overline{v'c'}\), \(\overline{w'c'}\) (columns uc, vc, wc; ppm·m/s) — turbulent concentration fluxes
  • \(\overline{u'\theta'}\), \(\overline{v'\theta'}\), \(\overline{w'\theta'}\) (columns uT, vT, wT; K·m/s) — turbulent heat fluxes (\(\theta'\): the temperature fluctuation)
  • \(\theta = \dfrac{T_f - T}{T_f - T_H}\) (dimensionless) — floor-referenced temperature the solves of Cases J and L are scored on: 0 at the floor, 1 in the approach air at \(H\); \(T_f\) is the floor temperature and \(T_H\) the temperature of the approach flow at \(H\)

Scores

  • \(n\) — number of pairs of a measured value \(o_i\) and a modelled value \(p_i\) at one point
  • \(R\) — Pearson correlation coefficient of the pairs
  • \(R^2\) — square of \(R\): share of the measured variance a linear fit to the model explains
  • \(\mathrm{FAC2}\) — fraction of pairs with \(0.5 \le p_i/o_i \le 2\)
  • \(\mathrm{FB}\) — fractional bias \(2(\overline{o}-\overline{p})/(\overline{o}+\overline{p})\), positive when the model is low
  • \(\mathrm{HR}\) (hit rate) — fraction of pairs with \(\lvert p_i-o_i\rvert/\lvert o_i\rvert \le \delta_{\mathrm{rel}}\) or \(\lvert p_i-o_i\rvert \le \delta_{\mathrm{abs}}\), where \(\delta_{\mathrm{rel}} = 0.25\) and \(\delta_{\mathrm{abs}} = 0.05\thinspace U_H\) for a velocity component
  • \(\mathrm{NMSE} = \dfrac{\overline{(o-p)^2}}{\overline{o}\thinspace \overline{p}}\) — normalised mean square error
  • \(\mathrm{NAD} = \dfrac{\overline{\lvert o-p\rvert}}{\overline{o}+\overline{p}}\) — normalised absolute difference
  • \(\mathrm{MG} = \exp\overline{(\ln o-\ln p)}\) — geometric mean bias
  • \(\mathrm{VG} = \exp\overline{(\ln o-\ln p)^2}\) — geometric variance
  • The ratio of \(\mathrm{FAC2}\) keeps its sign, so a model of the other sign than the measurement is a miss; \(\mathrm{FB}\), \(\mathrm{NMSE}\) and \(\mathrm{NAD}\) divide by the means, so they are undefined (shown as —) for a signed component unless the measured and the modelled mean are both positive
  • VDI 3783-9 calls the hit rate \(q\) and the tolerances \(D\) and \(W\); on this site those letters keep their other meanings (\(q\) the tracer release rate, \(D\) the block size of Case C, \(W\) the vertical velocity)
  • The detection limit of a concentration is one value per case, \(10^{-3}\) of the largest measured value. It sets \(\delta_{\mathrm{abs}}\) of the hit rate and the both-below rule of \(\mathrm{FAC2}\), and floors the values in \(\mathrm{MG}\) and \(\mathrm{VG}\).
  • The scores \(\mathrm{FB}\), \(\mathrm{FAC2}\), \(\mathrm{NMSE}\), \(\mathrm{NAD}\), \(\mathrm{MG}\) and \(\mathrm{VG}\) follow Chang & Hanna (2004); the hit rate follows VDI 3783-9.

Quantities scored

  • \(U\), \(V\) and \(W\) (mean velocity components) over \(U_H\)
  • \(k\) (turbulent kinetic energy) over \(U_H^2\)
  • the speed \(\lvert\mathbf{U}\rvert\) and \(\sqrt{\lvert\mathbf{U}\rvert^2+2k}\), against a thermistor’s \(V_{\mathrm{s}}\)
  • \(c^\ast = C/c_0\) (dimensionless concentration) at turbulent Schmidt numbers \(\mathrm{Sc_t}\) of 0.3, 0.5 and 0.7
  • \(\theta\) (floor-referenced temperature)

Measurement locations

Measurement lines and planes, Case H
Figure 1. Case H, measurement lines and planes: A vertical profiles, \(y/H = 0\); B plane \(z/H = 0.0625\); C plane \(z/H = 0.25\); D plane \(z/H = 0.5\). Positions in multiples of \(H\).

Explore the points

model lowmodel high
Loading the points… Hover a point to see where it sits in 3D and how the model differs from the measurement; click to pin it. This needs JavaScript; the figures on this page show the same scores.

OpenFOAM 12

Status: scored

An Eddy3D production run, realizable k-ε at numerics level 3 and 3000 iterations, at 1:100, with the probe at the tunnel’s own coordinates.

  • Velocities are divided by \(U_H\), \(k\) by \(U_H^2\). Each side uses its own \(U_H\): the tunnel’s (3.226 m/s) for the measurement, the value the solve was driven with (3.23 m/s) for the model.
  • Concentration: the cleaned table’s \(C/c_0\) (\(c_0\) = 45.18 ppm) against the model’s \(c^\ast = c\thinspace U_H H^2/Q\), scored at the turbulent Schmidt numbers 0.3, 0.5 and 0.7 (the figure shows 0.5). One detection limit, \(10^{-3}\) of the largest measured value.

Measured against modelled

Measured vs modelled, Case H
Figure 2. Case H, measured vs modelled \(U\), \(W\), \(k\) and \(c^\ast\), realizable k-ε; the dots take the colour of the line or plane they were measured on, as in Figure 1. The concentration panel shows the positive pairs only.

FB is positive when the model is low.

  • Flow. R is 0.90, 0.94 and 0.89 for \(U\), \(V\) and \(W\). \(W\): FB +2.76 on a near-zero mean. \(k\): R 0.11, FB +0.51.
  • Concentration. R is 0.95 at every Schmidt number. FB is −0.83 at 0.5, and the modelled \(c^\ast\) at the measured points peaks at 238 against a measured peak of 66. FB is −0.60, −0.83 and −0.93 for 0.3, 0.5 and 0.7; FAC2 falls from 0.69 to 0.59. Case I has a positive FB (model low) at 0.3 and a negative one at 0.7.
Interpretation: Case H scores
  • The mean flow is reproduced, \(k\) is not. FAC2 on \(V\) and \(W\) is low by construction, because those components change sign (as in Case A); \(W\)’s FB of +2.76 comes from a near-zero mean, so R and the hit rate carry the comparison. The pattern of the tunnel’s turbulence at the measured points is not followed (\(k\) R 0.11).
  • The concentration is well correlated and over-predicted. A higher turbulent Schmidt number raises the modelled concentration further.
  • Case I’s bias changes sign with the Schmidt number; Case H over-predicts at all three, so the Schmidt number that suits one case does not suit the other.

Vertical profiles

Where along the height the model meets the measurement, station by station.

Vertical profiles, Case H
Figure 3. Case H, vertical profiles of \(U/U_H\) on the centre plane \(y = 0\) at four stations along the measured lines, measured points against the modelled line, offset by 1 per station; the dashed line is the roof height.

Field maps

The solved velocity on the measured planes, every point drawn on it as a dot coloured by its measured value on the same scale: a dot that stands out from the colour around it is a point the model misses.

Solved field and measured points, Case H, plan
Figure 4. Case H, the horizontal plane \(z = 0.0125\thinspace\mathrm{m}\): (a) \(u\) over \(U_H\); (b) the same with iso-lines every 0.1 and the edge of the reversed flow, \(u = 0\), dashed; (c) the in-plane speed with streamlines.
Solved field and measured points, Case H, section
Figure 5. Case H, the centre plane \(y = 0\): (a) \(u\) over \(U_H\); (b) the same with iso-lines every 0.1 and the edge of the reversed flow, \(u = 0\), dashed; (c) the in-plane speed with streamlines.

Scores

Reattachment length \(L_r/H\) = 1.36.

Score R \(R^2\) FAC2 FB Hit rate
\(U\) +0.897 0.805 0.609 +0.355 0.446
\(V\) +0.935 0.874 0.355 -0.432 0.682
\(W\) +0.887 0.786 0.314 — 0.713
\(k\) +0.107 0.012 0.570 +0.514 0.305
\(c^\ast\), \(\mathrm{Sc_t}\) 0.3 +0.954 0.910 0.694 -0.597 0.493
\(c^\ast\), \(\mathrm{Sc_t}\) 0.5 +0.951 0.905 0.615 -0.825 0.507
\(c^\ast\), \(\mathrm{Sc_t}\) 0.7 +0.946 0.895 0.588 -0.934 0.493

Every score is over the same 826 points.

  • Normalisation: velocities by \(U_H\), \(k\) by \(U_H^2\) (the benchmark's own convention; Case E by \(U\) at 15.9 m, as it is published); hit rate \(\delta_{\mathrm{rel}} = 0.25\), \(\delta_{\mathrm{abs}} = 0.05\) in those units
  • Per-point values: /api/cases/H/pairs/openfoam12-realizableKE.csv
  • Reproduce: Eddy3D fixture TestAijCaseHContainerE2E (realizable k-ε, 1:100) (numerics level 3, 3000 iterations); figures validation/plot_cases_hi_openfoam.py

Not run

  • OpenLB, FluidX3D and the ML surrogate.

  • Scores recomputed from the pairs by validation/dispersion_metrics.py.

Leaderboard

Rank Run Source Hit rate, \(U\) Hit rate, \(V\) Hit rate, \(W\) Hit rate, \(\lvert\mathbf{U}\rvert\) Hit rate, \(k\) Hit rate, \(c^\ast\) Hit rate FAC2 R \(R^2\)
1 OpenFOAM simpleFoam (Eddy3D Outdoor case writer) (eddy3d-of12-nutcap-lifted) community 0.476 0.702 0.714 0.471 0.339 0.489 0.532 0.538 +0.752 0.682
2 OpenFOAM simpleFoam (Eddy3D Outdoor case writer) (eddy3d-of12-measured-inlet) community 0.447 0.684 0.713 0.435 0.311 0.508 0.516 0.520 +0.779 0.694
3 OpenFOAM 12 · \(\mathrm{Sc_t}\) 0.5 Eddy3D 0.446 0.682 0.713 0.441 0.305 0.507 0.516 0.519 +0.777 0.694
4 OpenFOAM 12 · \(\mathrm{Sc_t}\) 0.3 Eddy3D 0.446 0.682 0.713 0.441 0.305 0.493 0.513 0.532 +0.778 0.695
5 OpenFOAM 12 · \(\mathrm{Sc_t}\) 0.7 Eddy3D 0.446 0.682 0.713 0.441 0.305 0.493 0.513 0.515 +0.776 0.693

All runs scored by validation/score_submissions.py. Ranked by mean hit rate (VDI 3783) over the tasks; bold: best per column. Not ranked: the ML surrogate (no point ids) and negative controls. Community rows are self-reported (Validate your own solver).