Presets
Playback
Gas blend
Pipe wall
Camera
Layers
Quality
Model check
The science
Gas quality: Wobbe Index
Burners care about heat delivered through a fixed nozzle, which scales as W = HHV / sqrt(d), where HHV is the gross heating value per normal cubic metre and d the density relative to air (M / 28.96). Mixing by volume: HHV = (1 - x) 39.82 + x 12.745 MJ/Nm3 and M = (1 - x) 16.043 + x 2.016 g/mol. Hydrogen lowers the energy per cubic metre by two thirds but also lowers the density, so W falls only a little: about 5 % at 20 % hydrogen.
Pipeline capacity
For a fixed pressure drop the Darcy velocity is v = sqrt(2 dP D / (f L rho)). The standard volume flow is v A rho / rho_n and the energy flow is that times HHV. Because rho and rho_n are both proportional to M, the energy flow is proportional to HHV / sqrt(M), which is exactly the Wobbe ratio. The page recomputes it from the Darcy form as an independent check.
Carbon savings are small
Only the methane burns to CO2. Per MJ the CO2 is (1 - x) / (HHV / HHV_CH4) of the natural-gas value, so 20 % hydrogen by volume cuts CO2 per MJ by only about 7 %.
Kinetic picture
The chamber is a 2D hard-disk gas with elastic collisions and masses 2.016 and 16.043. Starting energies are drawn from the 2D Maxwell distribution (exponential with mean kT), so every species keeps mean kinetic energy kT (equipartition), and mean speeds scale as 1 / sqrt(m): hydrogen is sqrt(16.043 / 2.016) = 2.82 times faster. The wall-hit rate of a species is the 2D kinetic flux n<v>/pi times the wall height. Number density follows the pressure slider, so more molecules hit the wall per second at higher pressure.
Hydrogen in the wall
Dissolved hydrogen obeys Fick's second law, dC/dt = D d2C/dx2, with C = Cs on the gas side and C = 0 outside. For steel Sieverts' law gives Cs proportional to sqrt(pH2), for a polymer Henry's law gives Cs proportional to pH2. The solver is Crank-Nicolson on 64 nodes and is compared with the analytic series C = Cs [1 - x/L - (2/pi) sum sin(k pi x/L) exp(-k2 pi2 D t / L2) / k]. The time constant L2 / (pi2 D) is about a day for a 12 mm steel wall, so the page lets you speed time up.
What is simplified
The gas is an ideal mixture (no fugacity, no compressibility factor, no friction-factor change with hydrogen). Natural gas is taken as pure methane. D values (2e-10 m2/s for effectively trapped steel, 6e-10 m2/s for polymer) are order-of-magnitude figures, concentrations are normalised to a reference of 20 bar hydrogen partial pressure, and the Low / Moderate / High labels are illustrative, not an engineering code limit. Real embrittlement depends on steel grade, microstructure, stress and cycling. Do not use the numbers for design.
What you see in 3D
Yellow is the natural-gas main, blue the hydrogen branch from the tank. Molecules are instanced spheres whose numbers per second follow the blend, so the share counted at the outlet gate should converge on the slider value (sixth check). The slab on the right is the pipe wall cut into 40 layers coloured by the live Fick concentration.