{
 "$schema": "https://aij.eddy3d.com/api/schemas/case.schema.json",
 "schema_version": "2.6.0",
 "data_version": "7ee0afb7cec8197e7edde0e7c282c8e6e9670b7cef003e6aa218c5a536817f48",
 "license": "CC-BY-4.0",
 "id": "D",
 "slug": "case-d",
 "title": "Case D — high-rise among city blocks",
 "summary": "1:1:4 tower in a regular array of 82 low blocks, pedestrian-height scalar speed (thermistor, 3 wind directions) plus a 33-point split-fibre velocity field at WD = 0.",
 "configuration": {
  "tower": "0.25H x 0.25H x H = 62.5 x 62.5 x 250 mm (1:1:4)",
  "H_m": 0.25,
  "blocks": "82 blocks of 0.4H x 0.4H x 0.1H = 100 x 100 x 25 mm",
  "roads": "0.1H / 0.2H / 0.3H = 25 / 50 / 75 mm; 9 columns in x (pitch alternating 175 / 150 mm), 11 rows in y (pitch 125 mm); corners cut by the turntable circle",
  "array_extent_m": {
   "x": [
    -0.7,
    0.7
   ],
   "y": [
    -0.675,
    0.675
   ],
   "z": [
    0,
    0.25
   ]
  },
  "scale": "1:400 (H = 100 m full scale; the 5 mm measurement plane = 2 m)",
  "Re_H": 110000,
  "U_H_m_s": 6.65,
  "wind_directions_deg": [
   0,
   22.5,
   45
  ],
  "measurement_height_m": 0.005,
  "instrument": "thermistor anemometer (78 points x 3 directions; 66 measured per direction, 12 points in the band around the tower unmeasured) and split-fibre probe (33 points at WD = 0: U, V, W, variances, k)",
  "tunnel": "see the data paper (Kikumoto et al. 2026, section 3.4)"
 },
 "configurations": [
  {
   "instrument": "thermistor",
   "wind_direction_deg": 0.0,
   "points": 78,
   "measured": 66
  },
  {
   "instrument": "thermistor",
   "wind_direction_deg": 22.5,
   "points": 78,
   "measured": 66
  },
  {
   "instrument": "thermistor",
   "wind_direction_deg": 45.0,
   "points": 78,
   "measured": 66
  },
  {
   "instrument": "split_fibre",
   "wind_direction_deg": 0.0,
   "points": 33,
   "measured": 33
  }
 ],
 "quantities": [
  "Vs",
  "U",
  "V",
  "W",
  "uu",
  "vv",
  "ww",
  "k"
 ],
 "units": {
  "length": "m (model scale; converted from the workbook's millimetres)",
  "velocity": "m/s",
  "variance": "m^2/s^2",
  "k": "m^2/s^2"
 },
 "frame": {
  "origin": "tower centre on the ground plane (the array's bounding box is centred on it)",
  "x": "+x streamwise at WD = 0 (the 0 deg thermistor field is exactly y-mirror symmetric; the split-fibre U is positive at the stream-like points and negative in the tower's windward horseshoe)",
  "y": "+y lateral",
  "z": "+z up; all points at z = 0.005",
  "wind_direction_rotation": "+x toward +y, read from Figure 4 of the data paper. The array is exactly y-mirror symmetric, so the measurements alone cannot settle the rotation sense (headings +theta and -theta give exact mirror fields); solved Eddy3D fields score R 0.80 (22.5 deg) and 0.85 (45 deg) in Figure 4's sense, 0.40 and 0.17 mirrored.",
  "lateral_sign_applied": 1,
  "coordinate_scale_applied": 0.001
 },
 "inflow_fit": {
  "method": "log law, kappa = 0.41, least squares on the workbook's 13-point profile (z = 5 ... 1200 mm); two windows, because the measurement plane z/H = 0.02 sits below the 0.02 ... 2H window used for Cases A and B",
  "windows": [
   {
    "z_range": "0.005 ... 2H",
    "u_star_m_s": 0.3418,
    "z0_mm": 0.0859,
    "error_at_z_5mm": "-11.2 %",
    "profile_rms": "7.9 %",
    "inlet_k_m2_s2": 0.3895,
    "inlet_k_vs_tunnel": "-26 % to -48 %"
   },
   {
    "z_range": "0.02 ... 2H",
    "u_star_m_s": 0.424,
    "z0_mm": 0.4033,
    "error_at_z_5mm": "-30.0 %",
    "profile_rms": "12.5 % / 4.7 %",
    "inlet_k_m2_s2": 0.5991,
    "inlet_k_vs_tunnel": "+13 % to -20 %"
   }
  ],
  "power_law_exponent_fitted": 0.189,
  "power_law_exponent_paper": 0.25,
  "note": "derived during scoping, not published by AIJ; a log-law inlet cannot be right at both the measurement plane and the upper profile"
 },
 "approach_flow": {
  "source": "raw/cases/case-d/LF_caseD.xls [sheet Inflow]",
  "units": {
   "z": "m",
   "U": "m/s",
   "k": "m^2/s^2"
  },
  "rows": [
   {
    "z": 0.005,
    "U": 3.833055975794251,
    "k": 0.5288428857848444
   },
   {
    "z": 0.01,
    "U": 4.120786686838124,
    "k": 0.6057654873535491
   },
   {
    "z": 0.02,
    "U": 4.320990922844175,
    "k": 0.6669999267602152
   },
   {
    "z": 0.03,
    "U": 4.475922844175491,
    "k": 0.6659877872658901
   },
   {
    "z": 0.05,
    "U": 4.739508320726173,
    "k": 0.7297525754083691
   },
   {
    "z": 0.1,
    "U": 5.32,
    "k": 0.7499953652948702
   },
   {
    "z": 0.2,
    "U": 6.28178517397882,
    "k": 0.7444285980760824
   },
   {
    "z": 0.3,
    "U": 6.981996974281392,
    "k": 0.6938216233598293
   },
   {
    "z": 0.4,
    "U": 7.550416036308624,
    "k": 0.6346114629418133
   },
   {
    "z": 0.6,
    "U": 8.67819969742814,
    "k": 0.4564749119406025
   },
   {
    "z": 0.8,
    "U": 9.525295007564297,
    "k": 0.281374779422367
   },
   {
    "z": 1.0,
    "U": 10.0242965204236,
    "k": 0.1260113670434701
   },
   {
    "z": 1.2,
    "U": 10.070574886535551,
    "k": 0.0678133461197791
   }
  ],
  "csv": {
   "url": "https://aij.eddy3d.com/api/cases/D/approach_flow.csv?v=c8239428b9b9",
   "path": "cases/D/approach_flow.csv",
   "media_type": "text/csv",
   "bytes": 529,
   "sha256": "c8239428b9b9ae37e33a2b35226b2519ebf6ae9fa5d1f3b3f8ea0733ae6da5dc"
  }
 },
 "inflow": {
  "benchmark_data": {
   "approach_flow_csv": {
    "url": "https://aij.eddy3d.com/api/cases/D/approach_flow.csv?v=c8239428b9b9",
    "path": "cases/D/approach_flow.csv",
    "media_type": "text/csv",
    "bytes": 529,
    "sha256": "c8239428b9b9ae37e33a2b35226b2519ebf6ae9fa5d1f3b3f8ea0733ae6da5dc"
   },
   "columns": [
    "z",
    "U",
    "k"
   ],
   "units": {
    "z": "m",
    "U": "m/s",
    "k": "m^2/s^2"
   },
   "rows": 13,
   "fit": {
    "method": "log law, kappa = 0.41, least squares on the workbook's 13-point profile (z = 5 ... 1200 mm); two windows, because the measurement plane z/H = 0.02 sits below the 0.02 ... 2H window used for Cases A and B",
    "windows": [
     {
      "z_range": "0.005 ... 2H",
      "u_star_m_s": 0.3418,
      "z0_mm": 0.0859,
      "error_at_z_5mm": "-11.2 %",
      "profile_rms": "7.9 %",
      "inlet_k_m2_s2": 0.3895,
      "inlet_k_vs_tunnel": "-26 % to -48 %"
     },
     {
      "z_range": "0.02 ... 2H",
      "u_star_m_s": 0.424,
      "z0_mm": 0.4033,
      "error_at_z_5mm": "-30.0 %",
      "profile_rms": "12.5 % / 4.7 %",
      "inlet_k_m2_s2": 0.5991,
      "inlet_k_vs_tunnel": "+13 % to -20 %"
     }
    ],
    "power_law_exponent_fitted": 0.189,
    "power_law_exponent_paper": 0.25,
    "note": "derived during scoping, not published by AIJ; a log-law inlet cannot be right at both the measurement plane and the upper profile"
   },
   "note": "the measured profile and the fit of it are the benchmark's data as cleaned here; everything under `recommended` is a choice"
  },
  "recommended": {
   "status": "RECOMMENDED by this repository (not part of the benchmark): a log-law inlet fitted to the case's own approach-flow file, with k and epsilon from the standard neutral ABL relations. Any inlet may be submitted; say which in submission.yaml",
   "profile": "U(z) = u*/kappa ln((z + z0)/z0); k = u*^2 / sqrt(Cmu); epsilon = u*^3 / (kappa (z + z0))",
   "u_star_m_s": 0.3418,
   "z0_m": 8.59e-05,
   "kappa": 0.41,
   "Cmu": 0.09,
   "k_m2_s2": 0.38942413333333337,
   "fit": "log law, kappa = 0.41, least squares on the workbook's 13-point profile (z = 5 ... 1200 mm); two windows, because the measurement plane z/H = 0.02 sits below the 0.02 ... 2H window used for Cases A and B; the first window, 0.005 ... 2H",
   "U_ref_m_s": 6.65,
   "z_ref_m": 0.25,
   "openfoam": "atmBoundaryLayerInletVelocity / atmBoundaryLayerInletK / atmBoundaryLayerInletEpsilon with Uref, Zref, z0 and d = 0; nutkAtmRoughWallFunction with the same z0 on the ground: cases/{id}/inflow_openfoam.txt holds them"
  },
  "flow_direction": {
   "convention": "along_x",
   "meaning": "+x is along the wind at WD = 0: flowDir (1 0 0); another WD rotates it about +z by the case's rotation sense (frame.wind_direction_rotation)",
   "wind_directions_deg": [
    0.0,
    22.5,
    45.0
   ]
  },
  "eddy3d_runs": [
   {
    "run_id": "D.openfoam12-realizableKE",
    "engine": "openfoam12-realizableKE",
    "scale": 400,
    "z0.model.m": 8.59e-05,
    "z0.full.m": 0.03436,
    "mesh.cells": 3627568,
    "Uh": 6.65
   },
   {
    "run_id": "D.ml-surrogate",
    "engine": "ml-surrogate",
    "scale": 360
   }
  ],
  "domain": "the extents, blockage and cell sizes of Eddy3D's domains are not in its snapshots and are not stated here; mesh.cells and the scale are, where the snapshot has them"
 },
 "points": {
  "url": "https://aij.eddy3d.com/api/cases/D/points.json",
  "csv": {
   "url": "https://aij.eddy3d.com/api/cases/D/points.csv?v=596246341e73",
   "path": "cases/D/points.csv",
   "media_type": "text/csv",
   "bytes": 20257,
   "sha256": "596246341e73398b75fb76c9eebfab38d34e4c2dcf161a8c6e3f7c7d5e1ee570"
  },
  "source": "clean/cases/D/points.csv",
  "rows": 267,
  "distinct_points": 78,
  "columns": [
   "point_id",
   "config",
   "instrument",
   "wind_direction_deg",
   "x",
   "y",
   "z",
   "U",
   "V",
   "W",
   "uu",
   "vv",
   "ww",
   "k",
   "Vs",
   "campaign"
  ],
  "counts": {
   "config": {
    "default": 267
   },
   "instrument": {
    "split_fibre": 33,
    "thermistor": 234
   },
   "wind_direction_deg": {
    "0.0": 111,
    "22.5": 78,
    "45.0": 78
   }
  },
  "nulls": {
   "U": 234,
   "V": 234,
   "W": 234,
   "uu": 234,
   "vv": 234,
   "ww": 234,
   "k": 234,
   "Vs": 69
  },
  "bbox_min": [
   -0.1375,
   -0.1125,
   0.005
  ],
  "bbox_max": [
   0.1625,
   0.1125,
   0.005
  ]
 },
 "probes": {
  "csv": {
   "url": "https://aij.eddy3d.com/api/cases/D/probes.csv?v=4617e9e0d4e1",
   "path": "cases/D/probes.csv",
   "media_type": "text/csv",
   "bytes": 18025,
   "sha256": "4617e9e0d4e1d18a4a2fe2f1b5c5c0c9b2c6ba5605932fd4315864b4ea70dc46"
  },
  "rows": 231,
  "columns": [
   "point_id",
   "config",
   "campaign",
   "instrument",
   "run",
   "wind_direction_deg",
   "x",
   "y",
   "z",
   "scored_as"
  ],
  "columns_meaning": "the key columns of a scored file (point_id with config, campaign, instrument, run and wind_direction_deg as the case has them), x, y, z in m (case frame), and scored_as: the families the row is scored in (vector, k, thermistor_bracket, concentration, theta, joined by +)"
 },
 "scoring": {
  "U_ref_m_s": 6.65,
  "U_ref_meaning": "U_H, the approach speed at the tower height",
  "theta": null,
  "scored_as": {
   "vector": "U, V, W and the speed |U| against the split-fibre, LDV or hot-wire components (velocity.U, velocity.V, velocity.W, speed)",
   "k": "the turbulent kinetic energy (k)",
   "thermistor_bracket": "a mean scalar speed (thermistor, cup or sonic anemometer) against |U| (vs.vector) and sqrt(|U|^2 + 2k) (vs.scalar)",
   "concentration": "the dimensionless concentration c* = C/c0 (cstar)",
   "theta": "the floor-referenced temperature fraction (theta)"
  },
  "value_columns": [
   "U",
   "V",
   "W",
   "speed",
   "k",
   "cstar",
   "theta",
   "T"
  ],
  "key_columns": [
   "config",
   "campaign",
   "instrument",
   "run",
   "wind_direction_deg",
   "point_id"
  ],
  "conventions": "velocities and the speed over U_ref, k over U_ref^2 (Cases E, F and G publish ratios already); U, V, W, |U| and the thermistor bracket scored as signed velocities (FAC2's ratio keeps the sign; hit rate D = 0.25, W = 0.05); k by the plain definitions (D = 0.25 only); a thermistor, cup or sonic reading (a mean scalar speed) scored against |U| (vs.vector) and sqrt(|U|^2 + 2k) (vs.scalar), the two ends of its bracket; c* = C/c0 with one detection limit per case, 1e-3 of the largest measured value; theta = (T_floor - T)/(T_floor - T_H) scored like a positive velocity. The same conventions score the served Eddy3D results (docs/validation/method.md).",
  "tool": "uv run python validation/score_submissions.py <folder>, from a checkout of the repository (pyproject.toml)",
  "metric_meaning": {
   "Count": "number of measured points scored",
   "MeanObserved": "mean of the measured, normalised quantity",
   "MeanPredicted": "mean of the modelled, normalised quantity",
   "Fb": "fractional bias, 2 (mean_obs - mean_pred) / (mean_obs + mean_pred); positive = model low",
   "Nmse": "normalised mean square error",
   "Nad": "normalised absolute difference",
   "Fac2": "fraction of points within a factor of two (harsh near zero for sign-changing V and W)",
   "HitRate": "fraction of points within D = 0.25 relative or W = 0.05 U_H absolute",
   "Mg": "geometric mean bias",
   "Vg": "geometric variance",
   "GeometricPairs": "pairs with both values positive (used for Mg/Vg)",
   "R": "Pearson correlation coefficient",
   "null": "a metric that is undefined for the data (for example Mg and Vg when no pair has both values positive; Fb, Nmse and Nad of a signed velocity component of Case H or I whose observed and predicted means are not both positive)"
  }
 },
 "geometry": {
  "url": "https://aij.eddy3d.com/api/cases/D/geometry.json",
  "files": [
   {
    "configuration": "default",
    "url": "https://aij.eddy3d.com/api/cases/D/geometry.stl?v=531895531271",
    "triangles": 996,
    "watertight": true
   }
  ]
 },
 "validation": {
  "url": "https://aij.eddy3d.com/api/cases/D/validation.json",
  "status": "scored",
  "engines": {
   "openfoam12-realizableKE": "scored",
   "openlb": "not comparable",
   "fluidx3d": "pending",
   "ml-surrogate": "scored"
  }
 },
 "known_issues": [
  "All of Case D's data lives in LF_caseD.xls, an OLE2/BIFF8 workbook (read it with xlrd 2.x; openpyxl cannot). Sheets: 'Geometry&Points', 'Inflow', 'Results (Exp_S)' (split fibre, WD = 0), 'Results (Exp_T)' (thermistor, 0 / 22.5 / 45 deg).",
  "Coordinates are millimetres in the workbook; the API serves metres.",
  "The shipped BD_caseD.stl has 1572 facets of which 576 are duplicates, and all 83 roofs are wound inward (signed volume 0.011159 m^3 against the true 0.021477 m^3). The API's geometry.stl is rebuilt from the 83 shells' bounding boxes: 996 facets, watertight, volume 0.021477 m^3.",
  "The thermistor reads a SCALAR speed. Over the 33 points where both instruments overlap at WD = 0, the ratio of mean thermistor speed to mean |U| is 1.342 (the mean of the per-point ratios is 1.50). sqrt(|U|^2 + 2k) from the split-fibre data matches the thermistor to FB +0.058, R 0.947; |U| alone to FB +0.292, R 0.872.",
  "Unmeasured thermistor cells are '-' in the workbook (null here). At WD = 0 the 66 measured values are 33 exact mirror pairs, so only 33 are independent; at 22.5 and 45 deg all 66 are independent.",
  "A prior Eddy3D comparison kept in the folder (case-d-eddy3d-prior-comparison.xlsx) scores R = +0.096 against the thermistor. The score comes from a frame or geometry error; do not use it as a validation."
 ],
 "people": {
  "data_collectors": [
   "Yoshihide Tominaga (Niigata Institute of Technology)"
  ],
  "editors_distributors": [
   "Hideki Kikumoto (The University of Tokyo)",
   "Tsubasa Okaze (Institute of Science Tokyo)"
  ],
  "contact": "Yoshihide Tominaga <tominaga@abe.niit.ac.jp>"
 },
 "doi": "10.5281/zenodo.15402668",
 "doi_note": "The case folder ships without the Zenodo record's readme and CSVs; they are mirrored byte for byte under clean/sources/zenodo_caseD/ (people and DOI from that readme and the data paper's reference 50).",
 "citation_requested": "Kikumoto, H. et al. (2026). Japan Architectural Review 9(1), e70083, section 3.4.",
 "citation": {
  "apa": "Tominaga, Y., Kikumoto, H., & Okaze, T. (2025). AIJ UWE Benchmark Dataset – Case D (Highrise): Wind Tunnel Experiment for Flow around a High-rise Building in City Blocks [Data set]. Zenodo. https://doi.org/10.5281/zenodo.15402668",
  "bibtex": "@misc{aijuwe_case_d,\n  author    = \"Tominaga, Yoshihide and Kikumoto, Hideki and Okaze, Tsubasa\",\n  title     = \"{AIJ UWE Benchmark Dataset -- Case D (Highrise): Wind Tunnel Experiment for Flow around a High-rise Building in City Blocks}\",\n  year      = \"2025\",\n  publisher = \"Zenodo\",\n  doi       = \"10.5281/zenodo.15402668\",\n  url       = \"https://doi.org/10.5281/zenodo.15402668\",\n  note      = \"Data set\"\n}"
 },
 "files_in_repository": {
  "folder": "https://github.com/Eddy3D-Dev/AIJ-Data-Validation/tree/main/raw/cases/case-d",
  "reference": "raw/cases/case-d/LF_caseD.xls",
  "approach_flow": "raw/cases/case-d/LF_caseD.xls [sheet Inflow]",
  "readme": null
 },
 "render": "https://aij.eddy3d.com/assets/geometry/case-d.png",
 "page": "https://aij.eddy3d.com/cases/case-d/"
}
