Phyein Usul← Numa Koudsie

A thesis and four studies

Projects.

Projects of months rather than afternoons: a question from research, a model rebuilt and checked step by step, a solver you can run, and results you can reproduce. Each project keeps its own pages; this page introduces them.

01

Bachelor thesis, Leipzig 2022 · rebuilt as lecture notes

cloud physics · stochastic collection · numerical methods

Droplet Collection

How cloud droplets become rain

A cloud droplet is ten micrometres across and sinks a centimetre a second; a raindrop holds a million of them. Gravity gathers them: a drop a little larger than its neighbours falls a little faster, overtakes the droplets below it and swallows some of them. These lecture notes rebuild Numa Koudsie’s Bachelor thesis, Collisional Ice Multiplication Processes in Clouds (Leipzig, 2022), from first principles, one physical effect at a time: Stokes’ drag derived from the stream function, a drag balance for every size, droplet trajectories around a falling drop, the energy that decides whether touching drops merge, the collection equation for a whole population, the exact random process behind it, turbulence, and ice. Every number not attributed to a source is computed by the model that runs in the page, and checked.

5.8 / 13.5 min
to half and nine tenths of the water in drops above 40 µm; with the collision efficiency’s uncertainty, nine tenths at 10.5 to 13.5 min
1 min
to the first drizzle drop in a cubic metre, ten times sooner than half the water: luck
50–1600×
less new ice from ice–ice collisions than the thesis’s rule assumed
2.1 %
largest fall-speed error against measurement, from 0.3 mm up

1.1The cloud and the three questions

The test case is the thesis’s warm cloud: \(300\ \mathrm{cm^{-3}}\) droplets around \(8\ \mathrm{\mu m}\) and \(1\ \mathrm{cm^{-3}}\) collectors around \(40\ \mathrm{\mu m}\), at \(10\,{}^{\circ}\mathrm{C}\) and \(850\ \mathrm{hPa}\), in a closed, well-mixed box. The notes ask how long until most of the water sits in large drops, how long until the very first drizzle drop appears in a given volume, and whether collisions in a cold cloud make new ice. A ladder of models answers them, each rung adding one effect with a computed number that shows it matters.

1.2What the rebuild found, one line each

  1. Fall speed. Stokes’ law breaks its own assumption at \(41\ \mathrm{\mu m}\), where its Reynolds number reaches 1. A drag balance through the Davies number matches the measurements of Gunn and Kinzer within 2.1 % from 0.3 mm up, and in the full population it slows growth by a factor 1.76, far more than for a single drop.
  2. Collision efficiency. Only a third of the droplets in a \(40\ \mathrm{\mu m}\) drop’s path touch it (\(E = 0.344\)); the rest ride round on the air it pushes aside. The trajectory solver reproduces the critical Stokes numbers \(1/12\) and \(1.21194\). The efficiency is the largest single change of the ladder, and the least certain: it moves the time to nine tenths of the water from 13.5 to 10.5 min.
  3. Coalescence. For cloud droplets the collision energy is \(10^{-5}\) of the surface energy, so touching drops merge; with Stokes speeds, large drops hit so hard that the thesis kernel stops merging them below a millimetre.
  4. Luck. The exact random process, sampled drop by drop in volumes up to a litre, makes the first \(100\ \mathrm{\mu m}\) drop through mergers of collectors with each other, in every one of 230 runs; a Poisson argument carries it to a cubic metre.
  5. Ice. At \(-10\,{}^{\circ}\mathrm{C}\) rime splintering is off, ice–ice breakup of the thesis’s small ice spheres makes almost nothing, and only the shattering of freezing drops could matter, between none and a few new particles per cm³ and minute: the measurements scatter that much.

1.3Four figures from the notes

Terminal speed of water drops against size: Stokes’ law, the drag balance and the measurements of Gunn and Kinzer.
Figure 1How fast a drop falls: Stokes’ law runs away above 40 µm; the drag balance follows the measurements (chapter 2).
Collision efficiency against collector radius from droplet trajectories, with Hall’s compiled values.
Figure 2Which droplets touch: collision efficiency from trajectories, against Hall’s (1980) table (chapter 3).
Share of the water in drops of 40 µm or more against time, for the thesis kernel and the extended kernel.
Figure 3The whole cloud: water in drops of 40 µm or more, for two kernels and two kinds of bookkeeping (chapter 5).
Share of volumes holding a drop of 100 µm against time: exact runs and the Poisson prediction.
Figure 4The first drizzle: exact runs against the Poisson prediction from the collection equation (chapter 6).

1.4The project’s own pages

02

Lecture notes and a simulation · from first principles · 2026

rotating mechanics · energy harvesting · nonlinear dynamics

Rotor Pendula

Can a second blade, hinged at the tip of a turbine blade, power a sensor, and can chaos or the wind help?

Hinge a light second blade, 1 kg and 1 m long, at the 63 m tip of a turning wind-turbine blade, free to turn in the rotor plane. The turning holds it straight out like a stiff spring, and gravity, which seen from the blade goes round once per turn, pushes it first one way and then the other, like a child on a swing pushed once per pass; a generator in the hinge brakes that swing and turns it into electricity. The lecture notes tell it as a double pendulum whose first arm the wind holds to a steady turning, and build everything from its Lagrangian: the chaos that holding the arm takes away, the best brake \(\kappa^* = R-1\), the trail that is the rotor’s bill, where the mass sits, a real motor and gearbox from a catalogue, then a turbulent wind over the rotor, gusts, the air on the second blade, the blade’s sag and shaking, and a ceiling on random shaking. Every number in the notes is computed by the models; a simulation page solves the full equations in your browser, and a wind page swings the second blade in a turbulent wind.

161–267 mW
mechanical harvest, 1 kg on 1 m, at 10 and 6 m/s
57–106 mW
to the wires, with a real motor and gearbox
37.6 µW
what a blade sensor node needs
2.0×
the same mass in a lump at the end, against a uniform blade

2.1The answer in five lines

  1. There is enough power. The second blade gives 161–267 mW of mechanical power at steady winds of 10 and 6 m/s, more in weak wind, and the rotor pays for every joule through the blade’s trail, at most \(3.4\times10^{-7}\) of the turbine’s output.
  2. Where the mass sits matters. The power grows with the second blade’s first moment, its mass times the distance of its centre of mass from the hinge: the same mass in a lump at the end would give 2.0 times as much.
  3. Chaos does not help. Every start, at every wind and brake tried, ends on one regular swing: the centrifugal spring is 3 to 9 times stronger than gravity’s push, and resonance is out of reach.
  4. The wind’s disorder hardly helps. Random shaking has a hard ceiling set by the blade’s mass; gusts change the power by a few per cent; the mother blade’s sag at its tip adds 2.2–3.5 %; its shaking adds a little at a tip vibration of 5 mm.
  5. A real generator still delivers. A catalogue motor behind its gearhead’s largest ratio, 492 : 1, brings 57–106 mW to the wires, at least 1 522 times the sensor’s need, and still 811 times if the gearbox is twice as draggy and only 50 % efficient. The air on the second blade, left out of these notes, is the open problem.

2.2What was checked

The equations are derived twice, by Lagrange with the kinetic energy integrated along the blade and by Newton summed over it, and solved with an implicit solver that agrees with an independent one to \(2\times10^{-12}\). A referee checked each derivation, and the notes say where a model was corrected: a smoothing band in the geared generator, set on gravity’s scale, was a thousand times too wide and made the power the rotor pays 16 % low; it now sits on the gear’s own power scale. An independent script, with every constant typed again, re-derives the main formulas in SymPy and re-integrates the runs with SciPy.

2.3The project’s own pages

Everything is computed fresh in your browser, and nothing is stored.

03

An interactive study · from first principles · 2026

fluid power · digital control · numerical simulation

Hydraulic Press Study

How a digital controller makes 12 MPa of oil press with 60 kN, and hold it

Push a small piston and a large one lifts a car: Pascal’s principle, the oldest trick in hydraulics. A modern press adds a servo valve and a computer, and the trick becomes a control problem. This study builds one such press from first principles: a pump held at 12 MPa, a four-way servo valve, two metres of hose, a cylinder carrying a 160 kg ram, and a specimen to squeeze, in a nonlinear model with eight state variables. A PID controller, sampled every millisecond, drives the ram to the specimen in position control, switches to force control at contact, ramps to 60 kN, holds and lets go. You watch every step with the oil coloured by its pressure, change any setting and see the whole cycle recomputed, and ask the linearized loop, with Bode, Nyquist and z-plane plots, whether it survives. A 23-chapter companion text derives every equation the animation integrates, starting from Pascal’s press.

63.6 kN
peak force for a 60 kN set-point
64° · 11 dB
phase and gain margin of the position loop
93 %
of the pump’s work turned into heat in the valve
52
numbers in the text, each recomputed from the model

3.1One press cycle, 4.4 seconds

  1. Approach. From 0.1 s the position law moves the ram up along a smooth path, the spool opening to 94 % on the way; at 1.1 s it slows to a 10 mm/s creep for the last 2 mm.
  2. Contact and press. At 1.316 s the load cell feels the specimen and the controller hands over to its force law, which ramps to 60 kN in 0.25 s, overshoots to 63.6 kN and settles while it holds for 0.5 s.
  3. Release and retract. From 2.066 s the force ramps back down; at 2.316 s the position law takes the ram home, and the cycle is done at 4.116 s.
  4. Where the energy goes. The pump does 26.3 kJ of work; the valve turns 24.4 kJ of it into heat, because a valve throttling a constant-pressure supply is a brake. The energy books close to \(2\times10^{-14}\) of the pump’s work.

3.2What the model keeps

Every block is a physical law with its own derivation. The valve’s metering edges are sharp-edged orifices whose jet contracts to 0.61 of the opening, as the free-streamline theory of Helmholtz and Kirchhoff predicts; the spool answers the controller as a mass on a spring at 60 Hz. The two metres of hose are a slug of oil with inertia and friction, laminar and turbulent. The oil itself is a spring whose stiffness depends on its pressure, through the 0.5 % of air it carries as bubbles. The cylinder has two chambers of different area, seal friction and end stops; the specimen is a spring with damping. The controller sees the world only once a millisecond, through a zero-order hold, and the model is integrated with fourth-order Runge–Kutta at 10 µs, a hundred steps per sample. An independent Python model, with SciPy for the numbers and SymPy for the derivatives, recomputes the equilibria, the linearization, the closed-loop poles, the margins and the whole nonlinear cycle, and agrees with the page.

3.3Four figures from the study

The servo press drawn in section during the press phase: the controller panel, the pump, the servo valve, the hose and the cylinder pressing the specimen, with the oil coloured by pressure.
Figure 1The press at 1.45 s, under the force law: set-point 32.6 kN on its way to 60, spool 6.4 % open, oil coloured by pressure.
Six time plots of one press cycle: position, force, the three pressures, valve command and spool position, the energy books, and the tracking error.
Figure 2One cycle in six traces: position, force, pressures, valve, energy and tracking error, shaded by phase.
Bode plot of the sampled position loop up to 500 Hz, and its Nyquist plot passing the point minus one at a safe distance.
Figure 3The sampled position loop up to the Nyquist frequency of 500 Hz: crossover at 9.7 Hz with 64° of phase margin.
Block diagram of the servo press: controller, torque motor and spool, valve edges, hose, cap chamber, ram, rod chamber, pump, specimen and sensors, joined by arrows.
Figure 4The machine as ten blocks, from chapter 0 of the text: between two blocks, a flow goes one way and a pressure or speed answers back.

3.4The project’s own pages

One self-contained page, generated from its source in this site’s repository, portfolios-src/hydraulics. Everything is computed in your browser, and nothing is stored.

04

An interactive study · English, German and Arabic · 2026

impact mechanics · interatomic bonds · fibre networks

Iron, Cotton and the Head

Why an iron ball hurts and a cotton ball of the same mass does not

Drop two balls of exactly 1 kg from 10 m onto a head: one of iron, one of cotton. They bring the same energy, and on the head’s scale they settle to the same weight, 9.81 N. The blow is another matter. The iron ball does not give way, so the head must stop it within the few millimetres a skull can yield, and a short stop needs a large force. The cotton ball gives way itself and burns the energy inside its own fibres. The study builds both balls from their bonds: iron as a lattice of atoms held by Morse potentials with iron’s shape, cotton as a tangle of fibres that stretch, bend, cling where they cross and rub. Newton’s law moves every particle, a peak-hold force gauge reads the impact, and the energy books show where every joule goes. The text derives each step, from the fall with air drag to van Wyk’s law for fibre masses and the way real force sensors work, and compares the model with a real skull.

639 N
peak force of the iron ball on the model head
188 N
peak force of the cotton ball, same mass and speed
9.81 N
the weight both scales settle on: 1.000 kg each
19.8 kN
a real 0.5 kg iron ball from 10 m on a skull, against an 11.9 kN failure load

4.1One drop, 9 seconds

  1. The fall. Both balls are held 10 m above the head and fall under gravity alone; the first touch comes at 1.428 s, as Newton’s \(\sqrt{2h/g}\) predicts, at 14.0 m/s.
  2. The blow. The iron ball barely deforms and the head’s spring takes the whole stop: 639 N within about 50 ms, and the ball bounces. The cotton ball crushes through much of its size and peaks at 188 N.
  3. The weight. When the shaking has died away, both scales read 9.81 N, which is 1.000 kg: same mass, very different blows.
  4. Where the energy goes. The iron ball turns about 98 J into heat in the head; the cotton ball turns about 104 J into heat inside its own fibres. The energy books close to within half a joule.

4.2What the model keeps

Iron is 91 atoms on a triangular lattice, each bonded to its neighbours by a Morse valley with the shape Girifalco and Weizer fitted to iron in 1959. Cotton is 18 fibres of 34 beads: stretch springs along each fibre, bending springs on the angle between segments, breakable junctions where fibres cross, and soft contact with friction where they touch, which gives the stiffening of van Wyk’s law. The head is a plate on a spring and a damper and is also the scale. The model is two-dimensional, leaves out air and is tuned for clarity, so its force ratio is about 3.4, where real iron against real cotton gives about 120; the text says so and gives the real-world numbers beside the model’s.

4.3Four figures from the study

The two balls side by side at the instant of the iron ball’s peak: the iron lattice pressing its plate down, the cotton tangle just touching its plate, and below each a force gauge, iron reading 639 N at peak, cotton 35 N.
Figure 1The iron ball’s peak, 1.447 s: its scale holds 639 N while the cotton has only begun to press.
Both balls at rest on their plates after 9 s; both gauges read a weight of 9.81 N and a mass of 1.000 kg, with peaks of 639 N and 188 N kept by the peak-hold pointers.
Figure 2At rest: both scales read 9.81 N, 1.000 kg, and keep their very different peaks.
Force on the head against time around the impact: a tall narrow spike for iron reaching 639 N, a low wide hump for cotton reaching 188 N, and the dashed weight line at 9.81 N.
Figure 3The same blow twice: iron as a tall spike, cotton as a low, wide hump.
Energy bars for each ball: the energy given by the fall above, and below it where it went, almost all heat in the head for iron and almost all heat in the cotton for cotton.
Figure 4The energy books at the end: iron heats the head, cotton heats itself.

4.4The study’s own pages

Two self-contained pages, generated from their source in this site’s repository, portfolios-src/impact. The drop is computed in your browser when the page opens, and nothing is stored.

05

An interactive study · from first principles · 2026

Lagrangian mechanics · sampled-data LQR · swing-up

Balancing Two Rods on a Cart

Holding two stacked rods upright by pushing only the cart below them

Two rods stand one on the other on a cart, hinged and free to fall; the only help is a motor that pushes the cart along its rail. The study derives the equations of motion with Lagrange’s method, finds how fast the rods fall, and builds the balancer by minimising a cost. It then treats the controller as a real computer does: it looks only every Ts, so the note derives the exact model between two looks and the gains that fit the loop period. When the rods fall anyway, the cart drains their energy, plans a swing-up, tracks it and hands over where a certified test says the balancer is sure to win, even with the cart still rolling.

34
ms: the longest loop period the continuous gains survive
260
ms: the same with gains designed for the period
40/40
random falls swung back up and caught in tests
06

An interactive study · from first principles · 2026

Fluid drag · added mass · swing-up planning · flow-aware control

Balancing Two Rods in a Liquid

The machine of project 05 rebuilt to swing its rods up under water, glycerol and honey

Under a liquid the cart of project 05 cannot lift its rods: a 0.75 m rod turns through water too slowly to swing over the top, and nine tenths of the motor’s work heat the liquid round the cart. This study measures why, and builds a machine that can: shorter rods of 3 kg, a 400 N motor and a slim carriage. In the page it hangs its rods down, swings them up, catches them and carries them to a target in all three liquids. The controller is told the flow, from a river to a double gyre and the slow waves of the deep sea, and holds the rods where the flow and gravity balance.

3/3
liquids in which the rods are swung up from hanging and caught, about 6 s after the button
0.74
the rods’ turning rate allowed by honey over the rate a swing-up needs (0.08 for project 05’s rods)
¼
of the old cart’s face meets the liquid
07

Lecture notes with simulations · from first principles · 2026

Charged-particle optics · field emission · vacuum · measurement

The Electron Beam, from Tip to Measurement

How a beam of electrons is made, focused and used to measure the width of a line a few nanometres wide

Chips carry lines a few nanometres wide, and light cannot resolve them: its wavelength is tens of nanometres, an electron’s at a kilovolt is picometres. This project follows one electron from a sharp tungsten tip to a measured line width, in chapters that each start from a physical picture, derive every formula step by step, check it with symbolic algebra and an independent Python program, and end in a simulation whose sliders are the symbols of the formulas. Measured data are laid over the model with the source named and the gap stated: Thomson’s 1897 cathode-ray tubes, the current of a real tungsten tip against its voltage, measured backscattering from silicon to gold, and published stopping powers and secondary-electron yields. The last chapters join every stage into one machine and ask which input matters most.

1.8 %
rms gap between the field-emission model and a measured tungsten tip, over a factor 752 in current
0.215 eV
energy spread of the model cold field emitter at 4 V/nm
1.26
Thomson’s 1897 charge-to-mass ratio (tubes 1 and 2) over today’s value

7.1What the notes follow

  1. Why electrons. Abbe’s limit for light against the electron wavelength, and what a measuring machine must deliver at once: a thin spot, enough current, a gentle beam and speed.
  2. A free electron in fields. The relativistic Lagrangian, the Lorentz force, the helix in a magnetic field, and two integrators (Boris and fourth-order Runge–Kutta) tested against the exact helix.
  3. The source. The image-charge barrier, tunnelling, the Fowler–Nordheim law, the energy spread and brightness of cold and Schottky emitters, and the vacuum physics that makes a cold tip bright and fragile.
  4. Acceleration and brightness. The relativistic wavelength, a retarding field before the wafer, and the brightness that Liouville’s theorem conserves.
  5. The lens. Busch’s twist and the paraxial ray equation, Glaser’s exact lens, and its spherical and chromatic aberration found by tracing rays and checked against the aberration integrals.
  6. The spot. Four blurs and the beam angle that makes the probe smallest for a given current.
  7. Scan and hit. A Monte Carlo simulation of electrons scattering in the wafer, compared with measured backscattering and secondary-electron yields.
  8. Detect and measure. The line profile, its shot noise, and how precisely a width can be read, by error propagation and by Monte Carlo.
  9. The whole machine. All stages in one chain: a table of sensitivities, a tolerance study and a measurement window.

7.2What the model keeps and leaves out

Fields are analytic: there is no finite-element field solver, no aberration-corrected optics, and no interaction between the electrons of the beam. The scattering model is simple and is shown where it fails: it overstates the backscattering of heavy elements at low voltage. Constants are CODATA 2018. Every number in the text is computed by the project’s code and checked against an independent Python version, and every chapter was read by two independent reviewers. The project is independent: it does not model any company’s instrument, and statements by manufacturers are quoted as public claims with their source.

7.3Four figures from the notes

Lengths on a logarithmic axis from one picometre to one micrometre: the smallest period light resolves (71.5, 20.5 and 12.3 nanometres), the 20 nanometre metal pitch and the 543 picometre silicon cell, and the electron wavelength, 38.8 picometres at 1 kilovolt and 6.98 at 30.
Figure 1Light, the structures and the electron on one ruler.
Six electron helices in a uniform magnetic field, leaving one point at different angles and meeting again on the axis one turn later; the end view shows six circles through the axis.
Figure 2A magnetic field brings electrons back to the axis after one turn: the first hint of a lens.
Drawing of the emitter tip: a tapered shank ending in a round apex of 50 nanometres, dashed field lines to the anode, emitted electrons and a few adsorbed atoms on the apex.
Figure 3The cold field-emission tip of the live figure in chapter 2.
Left: Fowler–Nordheim plot of a measured tungsten tip with the model line through the points. Right: the residuals, within a few per cent, one point near 6 per cent.
Figure 4The model against a measured tungsten tip (Ayari et al. 2023, CC BY 4.0).

7.4The page

One page in English, generated from its source in this site’s repository, portfolios-src/electron-beam: the lecture notes, the physics in JavaScript that runs in your browser, the Python reference and the symbolic checks. Nothing is stored.