Perseus Sepahi

Perseus Sepahi

I study turbulence in the night-time atmosphere, and I write software: simulation tools, engineering systems, and apps for Mac, iPhone and Apple Watch.

Research

The atmospheric boundary layer is the lowest part of the atmosphere, the part that feels the ground. Its turbulence carries heat, moisture, momentum and pollution between the surface and the air above, and it changes character over every day. Sunshine heats the ground and drives a convective layer a kilometre or two deep; after sunset the ground cools, the air above it becomes stably stratified, and the turbulent layer shrinks to a few tens or hundreds of metres.

I study how that turbulence responds to stratification, above all at night. With enough wind it stays continuous and follows similarity theory. With weak wind and strong cooling it turns patchy and intermittent, the air near the ground can decouple from the flow above, and the usual models stop working. Large-eddy simulation, which resolves the energy-carrying eddies and models only the smallest ones, is the main tool for studying that transition.

The flow at the top of this page follows the same physics. The resolved wind obeys the filtered Navier–Stokes equations in the Boussinesq approximation, (1)–(3), and the kinetic energy of the turbulence obeys the budget (4).

∇·ũ = 0
∂ũ∂t + (ũ·∇)ũ = −1ρ0∇p̃ + g θ̃ − θ0θ0 k̂ − f k̂ × (ũ − Ug) − ∇·τ
∂θ̃∂t + ũ·∇θ̃ = −∇·q
∂e∂t = −u′w′ ∂U∂z − v′w′ ∂V∂zP + gθ0 w′θ′B − ∂∂z(w′e + 1ρ0w′p′)T − ε

Here ũ is the resolved wind, θ̃ the potential temperature, f the Coriolis parameter, Ug the geostrophic wind, and τ and q the stress and heat flux of the eddies too small for the grid. In (4), primes are fluctuations about the mean and bars are averages. Shear in the wind produces turbulence (P); buoyancy adds energy when the ground heats the air and removes it when the ground cools it (B); transport and pressure work move it up and down (T); and dissipation turns it into heat (ε). The contest between P and B is measured by the gradient Richardson number, Ri = N2/S2: where it is large, stratification wins and the turbulence fades.

In the flow above Stable (clear night): the heat flux at the ground is downward, so B < 0 and buoyancy takes energy from the turbulence.

Read my thesis

Software

Papers

  1. 2026

    Stratification and Vertical Turbulence Structure in the Atmospheric Boundary Layer: A Large-Eddy Simulation Study

    Perseus Sepahi

    Master of Mathematics thesis, Department of Applied Mathematics, University of Waterloo

    UWSpace

  2. 2023

    Obstacle-induced lateral dispersion and nontrivial trapping of flexible fibers settling in a viscous fluid

    Ursy Makanga, Mohammadreza Sepahi, Camille Duprat, Blaise Delmotte

    Physical Review Fluids, 8(4), 044303

    DOI

  3. 2023

    Sedimentation of Flexible Fibers in Structured Environments

    Ursy Makanga, Mohammadreza Sepahi, Camille Duprat, Blaise Delmotte

    SIAM Conference on Computational Science and Engineering (CSE23)

    HAL record

All papers

About

I hold an M.Math in Applied Mathematics from the University of Waterloo (Fluid Mechanics Group). My thesis used large-eddy simulation with WRF to study how the stable night-time boundary layer responds to surface cooling and wind forcing.

Before Waterloo I completed an M.Sc. in Mechanical Engineering at Amirkabir University of Technology and spent a summer at LadHyX (École Polytechnique) on flexible fibers settling in viscous fluids, which led to a paper in Physical Review Fluids.

I now work as a quality engineering contractor at Westport Fuel Systems, where I also built the quality team’s reject-tracking and NCMR software. On my own time I write native apps for macOS, iOS and watchOS. Everything I publish here is free.

Now
Quality engineering at Westport Fuel Systems, and shipping my own apps in the evenings.
Interests
  • Atmospheric boundary layers and large-eddy simulation
  • Stratified turbulence and geophysical fluid dynamics
  • Wind energy and offshore wind turbines
  • Scientific machine learning for fluid problems
  • Native Apple platform development
Tools
WRF / LES, OpenFOAM, COMSOL, Gmsh, Python, MATLAB, Swift / SwiftUI, JavaScript, SQL, Linux, LaTeX

Open the CV