OpenFOAM simpleFoam (Eddy3D Outdoor case writer) 12

Self-reported inputs, scored by this repository’s build (method). The submitted values are under submissions/eddy3d-of12-mesh2x-measured-inlet/ and served as /api/submissions/eddy3d-of12-mesh2x-measured-inlet.json.

Field Value
solver OpenFOAM simpleFoam (Eddy3D Outdoor case writer)
version 12
url https://openfoam.org
author Sustainable Urban Systems Lab
licence CC-BY-4.0
contact https://github.com/Eddy3D-Dev/AIJ-Data-Validation/discussions
inlet the measured approach profile (\(U\) and \(k\) of AF_caseA.csv as fixedProfile tables, epsilon by local equilibrium), rough floor
mesh snappyHexMesh, 1:100 scale, one level finer than the served run on box, building and ground (1,113,756 cells), numerics level 3
turbulence_model realizable k-epsilon
compute 3000 iterations, steady, 71 min on 5 ranks of an Apple M-series laptop
units normalised
notes the mesh alone (log-law inlet) moved \(U\)'s agreement from 0.586 to 0.597 and nothing else; the combination is the sweep's best steady set-up. Eddy3D fixture TestAijCaseAContainerE2E with EDDY3D_VALIDATION_REFINE=1 EDDY3D_VALIDATION_INLET=measured EDDY3D_VALIDATION_FLOOR=rough.
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)

Case A — 1:1:2 building

Score R FAC2 FB Hit rate n coverage
\(U\) +0.958 0.812 +0.150 0.651 186 186/186
\(V\) +0.961 0.349 — 0.887 186 186/186
\(W\) +0.733 0.376 -1.619 0.833 186 186/186
\(\lvert\mathbf{U}\rvert\) +0.946 0.876 +0.111 0.677 186 186/186
\(k\) +0.460 0.688 +0.374 0.317 186 186/186