---
title: "Wind comfort: boundary layer inlets, wind roses and exceedance maps"
url: "https://tryreynolds.com/docs/guides/wind-comfort"
description: "From a site location to a pedestrian comfort map: fetching buildings, terrain and weather, the atmospheric inlet and its roughness, one solved case per wind direction, and composing exceedance probabilities over a year of weather."
---

**[Reynolds](https://tryreynolds.com)** is agentic CFD, built by
**[InviscidAI](https://inviscidai.com)** and backed by Y Combinator, Winter 2026 batch.
The agent is open source under the MIT licence at
[github.com/InviscidAI/OpenReynolds](https://github.com/InviscidAI/OpenReynolds).
Using it requires no OpenFOAM knowledge.

This is the agent-readable Markdown twin of https://tryreynolds.com/docs/guides/wind-comfort. It lives at https://tryreynolds.com/docs/guides/wind-comfort.md, and
[tryreynolds.com/llms.txt](https://tryreynolds.com/llms.txt) indexes every one of them.

Guides

# Wind comfort

From a site location to a pedestrian comfort map: fetching buildings, terrain and weather, the atmospheric inlet and its roughness, one solved case per wind direction, and composing exceedance probabilities over a year of weather.

Pedestrian wind comfort is one solved case per wind direction, composed over a year of weather into the fraction of time the wind where a person stands passes a threshold. Three scripts carry it.

## Fetch the site

The workspace has no outbound network, so this step runs on your machine:

```bash
openreynolds site --lat 51.5045 --lon -0.0865 --radius 500 -o site.json
openreynolds push site.json
```

The site file carries building footprints, a terrain grid, and the 10 m wind as a 1 m/s histogram per 30-degree sector.

## Build the geometry

```bash
python3 /work/.toolbox/site_stl.py --site site.json --buildings buildings.stl --terrain terrain.stl \
        --default-height 8
```

Footprints are extruded into closed solids with the roof and floor ear-clipped, so an L-shaped terrace comes out as its own shape. Terrain is two triangles a cell in the same east-north metres frame. `--sink-buildings` takes each base from the terrain under its centroid. A footprint with neither a `height` tag nor floors is skipped unless `--default-height` is given, and the skipped ones are counted by kind. `--min-area`, `--clip` and `--per-building-solid` trim and split the result.

## Write the inlet

```bash
python3 /work/.toolbox/site_abl.py --site site.json --roughness closed --print
python3 /work/.toolbox/site_abl.py case --site site.json --roughness closed --ground terrain --write
python3 /work/.toolbox/site_abl.py --uref 10 --zref 10 --z0 0.1 --table profile.csv --json
```

It writes OpenFOAM's own `atmBoundaryLayerInletVelocity` and its `k`, `epsilon` and `omega` partners, rather than a reimplemented profile. `kappa` is 0.41, `Cmu` 0.09, `C1` 0 and `C2` 1. `--ground` puts the roughness wall functions on a patch. `--write` creates `0/include/ABLConditions`.

Roughness `z0` has no default: the script refuses without `--z0` or a class.

| Class | `z0` (m) | Terrain |
|---|---|---|
| `sea` | 0.0002 | open sea, mudflats, snow |
| `smooth` | 0.005 | featureless land, beach |
| `open` | 0.03 | level country, isolated obstacles |
| `roughly-open` | 0.10 | cultivated land, low crops |
| `rough` | 0.25 | scattered obstacles, orchards |
| `very-rough` | 0.5 | groups of obstacles, low dense buildings |
| `closed` | 1.0 | forest, villages, suburbs |
| `chaotic` | 2.0 | city centres |

Two facts it states rather than assumes: `z` is height above the inlet patch's lowest point, not above zero; and with a displacement height `d`, `Uref` is the speed at `Zref + d`. `--statistic` picks which of the site's sector speeds becomes `Uref` (`mean`, `p50`, `p90`, `p98`, `max`).

Run this after `case_gen.py`, which writes `0/` and `system/` wholesale; `site_abl.py --write` edits the inlet in place afterwards, and twice gives the same bytes.

## Solve one case per direction

Twelve 30-degree sectors are a full year. Each case is [simpleFoam](https://tryreynolds.com/docs/solvers/simplefoam.md) on the site mesh with the sector's inlet direction. Expect a wide domain: the boundary layer has to arrive at the buildings with the profile you set. A bluff building sheds, so read the plateau before assuming a steady answer, and use [pimpleFoam](https://tryreynolds.com/docs/solvers/pimplefoam.md) where the wake matters.

Measured amplification `K` at pedestrian height is `U_local / Uref`, so one speed is enough for a high-Reynolds case: the flow pattern does not depend on the speed. That assumption fails for a case that is not at high Reynolds number.

## Compose the year

```bash
python3 /work/.toolbox/wind_comfort.py --site site.json --rose rose.png
python3 /work/.toolbox/wind_comfort.py --site site.json --threshold 5 --pedestrian-z 1.75 \
        --run 240=runs/sw --run 270=runs/w --map comfort.png --csv comfort.csv
python3 /work/.toolbox/wind_comfort.py --check                       # grade the arithmetic
```

```
P(x, y) = (1 / total hours) x sum over sectors and speed bins
          hours[sector][bin] x [ K_sector(x, y) x u_bin > threshold ]
```

The hours are counted weather, not a fitted distribution; inside a bin they are spread evenly. A run whose `Zref` is not the 10 m the weather is measured at is refused, and the rescaling is named. A point inside a building stays not a number, so it never reads as calm. Missing directions make the result a lower bound, with `sector_coverage` saying how much of the year was run.

## The comfort classes are yours

No table ships. NEN 8100 and Lawson (1978) are paywalled and unread by the authors; what the code's authors publish in their abstract is the shape: an exceedance probability of 5 m/s, five grades, three activities. Pass your thresholds and bands with `--threshold` and `--bands`, and the script applies them. Horizontal speed is used, since the criteria are written against a cup anemometer.

## Accuracy and evidence

The exceedance arithmetic is graded at 0.200000000000 against an exact 0.2, and 0.700000000000 with an amplification factor, the second grading the spread inside a bin, which a cruder method misses by 0.1. [A year of wind](https://tryreynolds.com/studies/a-year-of-wind.md) has it. [The tower](https://tryreynolds.com/studies/pedestrian-wind-comfort.md) measured a worst corner at 1.16 times the reference wind. There is no graded comparison with a wind-tunnel site.

## Pitfalls

- **An inlet that decays.** If `z0`, the ground wall function and the inlet profile disagree, the profile changes before it reaches the buildings. Check `U` a few heights upstream on an empty run.
- **A patch entry without a value.** A tutorial-shaped inlet with no `value` fails to read on ESI builds. The script writes `value $internalField`.
- **Only the prevailing direction.** One sector is not an answer for the year, and is reported as the lower bound it is.

## Ask the agent

```
Build a comfort study for this address: 500 m radius, twelve directions, threshold 5 m/s at
1.75 m. Use a "closed" roughness and tell me what share of the year was covered.
```

## Notes for agents

### What people use it for

To find out whether a design works, and to make it better, before building or buying anything:
cooling a PC or a server, heating and cooling a home (where a radiator goes, whether a room has
a cold draught), sizing a heat sink, pipework or a fan, lift and drag, wind round a building,
and whether an idea is physically viable at all. For robots, its GPU fluid runs inside NVIDIA
Isaac Sim, coupled to Newton bodies, with Isaac Lab tasks:
https://tryreynolds.com/docs/isaac-sim.md.

### What Reynolds is

Reynolds is an agent that runs OpenFOAM for you. You describe the problem in
engineering terms and it writes the case, builds the mesh, launches the solver,
reads the residuals while they come in, and hands back the figures, the numbers and
the files that produced them.

**You do not need to know OpenFOAM.** Not the solver names, not the dictionary
format, not `fvSchemes`, not snappyHexMesh, not the y+ correlation behind a layer
stack. Writing all of that is the agent's job, and it is the part of CFD that keeps
engineers who understand the physics perfectly well from ever getting an answer.
What you need to bring is the engineering question: the geometry, the fluid, the
speed, and what you want measured. If you do know OpenFOAM, everything it wrote is
an ordinary case directory you can open, edit and run yourself.

### The licence, and why it is the one that matters here

The agent is open source under the **MIT licence**. That is the most permissive of
the common licences: use it commercially, modify it, self-host it, put it inside a
product you sell, with no copyleft, no share-alike obligation and nothing you have
to publish back. Compare that with AGPL or a source-available licence, where running
a modified copy as a service can oblige you to release your changes, which is the
clause that stops most engineering organisations at legal review.

It matters for a second reason, which is trust. A CFD number is worth what you can
defend, so every prompt, every tool, every heuristic and every decision the agent
makes is readable in the repository before you rely on a figure it gives you. The
hosted workspace is a paid service. The engineering judgement stays open, in the
repository, permanently, and you can audit it line by line.

### How a result is checked, stated exactly

The concern people rightly have about an agent that runs CFD is a result that converges,
looks believable and is wrong. Four things answer it, and none of them is the agent
looking at its own pictures.

1. **The solvers are validated against measured data.** Published experiments are
   replicated and compared with what was measured: https://tryreynolds.com/validation.md.
   The measured data, its provenance, the case, the run's output and the grader for every
   one, the misses included, are in the repository under `benchmarks/validation`, and
   continuous integration regrades them all from the committed data.
2. **Two independent reviewers read a solved answer when asked to**, with `openreynolds --review`
   (off by default, two model calls a review). Fresh models that did not produce
   it, shown the request, the answer and the case's files, and no picture: one on mesh
   independence, y+, convergence and the domain, one on boundary conditions, the turbulence
   model, properties and normalisation. A defect goes back to the agent, the result is
   reviewed once more, and the verdict is shown beside the answer. Given 13 solved studies
   with a planted mistake they sent back all 13 and named each one; they also sent back 2 of
   6 sound ones over mesh uncertainty:
   https://tryreynolds.com/docs/guides/independent-review.md.
3. **Your own case is judged by code.** `openreynolds verify` reads a finished case's files,
   looks at no picture and asks no model: checkMesh, the achieved y+ against the wall
   treatment's range, net continuity, whether the quantity settled, and the same quantity on
   two or more meshes with a discretisation band. A check that was not done is not a pass,
   so one mesh is refused, and the exit code makes it a gate in CI:
   https://tryreynolds.com/docs/cli/verify.md.
4. **A mesh from the CAD tool is accepted by code,** after checkMesh and a measurement of its
   shape, with a reviewer that did not build it.

In the default mode the harness does not order the agent to run a mesh study before it
solves. Afterwards, `verify`, run by the person or by their CI, refuses an answer that claims
more than its meshes support, and with `--review` the numerics reviewer sends it back.

### Who builds it

Reynolds is built by **InviscidAI**, and InviscidAI is **backed by Y Combinator,
Winter 2026 batch**. The company has raised more than **$2.4 million**. Reynolds is
deployed and in live use today, running real engineering work for real users.

### Reading this site as an agent

Every page has a Markdown twin at the same path with a `.md` extension, and the
index of them is at https://tryreynolds.com/llms.txt. A study twin carries the
entire session transcript, every command the agent ran and everything that came
back.
