osamah.fyi A personal universe

Curiosity, in motion

FYI, I’m Osamah.Drawn towhat’s next.

A little about me. A collection of things I’m building.
Always something new on the horizon.

02 — Selected explorations

A few things in my orbit.

AeroSim simulation demo
01 / SIMULATION

AeroSim

C / OpenGL · Fluid simulation

GitHub ↗
AEROSIM / UNDER THE HOOD

From airflow to drag.

AeroSim moves air through a 3D lattice with 19 discrete directions per cell. When a flow population hits a solid boundary, it bounces back. That change in momentum gives the force on the body.

Air flows right toward a stationary wing. At the surface, incoming momentum reverses; its reaction pushes the wing right, in the direction of drag.Incoming air →Bounce-backDrag on bodyStationary wing · schematic
  1. Measure the momentum change. Reversing a population doubles its momentum transfer. For each fluid–solid link, the solver adds −2 f e to the body force: f is the reflected population and e points back into the fluid.
  2. Sum over the surface. Add every boundary contribution. The x component, along the incoming flow, is the drag force Fx, in lattice units.
  3. Normalize for comparison. Divide the drag by dynamic pressure times reference area to obtain the dimensionless drag coefficient.
CD = Fx / (½ ρ Uref² S)

ρ is the reference air density (1 in lattice units), Uref is the inlet speed with a 0.02 minimum, and S is the reference area. Imported meshes use a frontal-area proxy. The displayed coefficient is smoothed over time.

These are interactive simulation estimates; the project has no benchmark validation or grid-convergence study.

Read the solver on GitHub ↗

An interactive 2D and 3D wind tunnel. Explore airflow around wings and imported models, with live pressure, velocity, lift, and drag estimates.

Engine3D simulation demo
02 / RENDERER

Engine3D

C++ / SDL2 · Software rendering

An experimental 3D engine that renders on the CPU. Built in C++ with SDL2, with scene objects you can position, scale, and color through code.

03 / EXPLORATION

Project Nova

Coming soon

Small tools for making things move on screen the way they move in the head.

04 / EXPLORATION

Project Aether

Coming soon

An experiment in ambient software: things that are there when you look, and quiet when you do not.