Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Eulerian — forward demo

Eulerian 3-D dispersion (L2) — forward-model demo

This notebook exercises plumax.les_fvm.simulate_eulerian_dispersion on two scenarios: (a) a steady uniform wind, and (b) a time-varying wind described by a gauss_puff.wind.WindSchedule. We plot horizontal and vertical slices of the methane concentration and the column-integrated tracer as sanity checks. For the underlying math and numerical scheme see 00_eulerian_dispersion_derivation.md.

1. Scenario A — steady uniform wind (5 m/s from the west)

A single point source at (xs,ys,zs)=(100,250,20)(x_s, y_s, z_s) = (100, 250, 20) m emits methane at 0.1 kg/s. The wind blows uniformly from the west at 5 m/s, with zero vertical component and a PG stability class C (neutral). The domain is 1 km × 500 m × 200 m.

Loading...

1a. Horizontal slice at source height

At the final save the plume has travelled ~1200 m down-wind (5 m/s × 240 s). We plot the concentration at z=zsz = z_s to see the classic downwind plume.

<Figure size 1600x320 with 5 Axes>

1b. Vertical slice along the centreline

Slicing at y=ysy = y_s exposes the vertical structure: ground-trapped Gaussian profile in the near field, growing vertical extent with downwind distance.

<Figure size 1600x300 with 5 Axes>

1c. Column integrated concentration

For airborne remote sensing, the column-integrated concentration ([kg/m²], summed over z) is what matters. The plume takes the expected comet-tail shape.

<Figure size 1600x320 with 5 Axes>

2. Scenario B — time-varying wind direction

We now sweep the wind direction linearly from 270° (from west) to 200° (from SSW) over 300 s, with constant 5 m/s speed. The plume should bend away from the x-axis as the wind rotates, tracing a curved downwind path.

Loading...
<Figure size 1600x320 with 5 Axes>

The curved plume tracks the integrated wind trajectory — the last-save plume points roughly north-east of the source, consistent with a wind rotating from 270° to 200° (i.e. from due-west to south-south-west).

3. Mass budget

As a closure check, we plot the total mass in the domain over time. Under a constant emission rate 0.1 kg/s with outflow downstream, mass should grow roughly linearly early on, then saturate as the plume front starts leaving the domain.

<Figure size 700x400 with 1 Axes>

Both runs track the emitted mass q·t at early times; the steady-wind run peels below the line once the plume front reaches the outflow boundary (around t ≈ 200 s). Early deviation is from the low-order first-step accuracy of the adaptive solver.