Desulfurization digital twin (3/5): inside the ladle with CFD
A 3D simulation of the 150-tonne ladle with OpenFOAM. The equations of two interpenetrating fluids, the drag on each bubble, turbulence, and why the flow is averaged between 20 and 60 seconds.
The model in the first two posts treats the ladle as a single number: one rate constant for 150 tonnes of metal. It works, but it hides a question: does the powder reach all of the metal, or only part of it? To answer that you have to solve the flow inside the ladle. That is computational fluid dynamics, or CFD.
The original paper ran a 2D simulation. I ran a 3D one, of the whole ladle, with open-source software: OpenFOAM to solve the flow, ParaView to extract the fields, and Blender and three.js to look at them.
Section of the ladle through the lance during the simulation: hot-metal speed and streamlines. My own CFD in OpenFOAM, rendered in Blender.
The geometry
From the paper I took the metal mass, the lance depth, the two 20 mm nozzles at 45° and the gas velocity. What the paper does not give (the ladle diameter, the lance size) I assumed with typical values and recorded in the repository with its origin.
Gas outlet: fixed pressure, argon leaves and hot metal does not
Bath surface
Walls and lance: no slip (u = 0)
Lance 0.2 × 0.2 m
Argon plume
Hot-metal recirculation
Two Ø 20 mm nozzles at 45°: argon at fixed velocity
Tracking each bubble one by one would be impossible: there are millions. The Euler–Euler method treats them as a second fluid that occupies a fraction of the volume at each point. Each mesh cell holds a gas fraction αg and a liquid fraction αl, with αg+αl=1, and each phase has its own velocity.
For each phase we write conservation of mass and of momentum:
Read left to right: change in time, transport by the flow itself, pressure push, friction (viscous and turbulent), weight, and the force the phases exert on each other. What the gas receives from the liquid, the liquid loses: Ml=−Mg. That term is what drives the ladle: bubbles rise, drag metal along and set it circulating.
Drag on a bubble
The main force in M is drag. Per unit volume:
MD=43CDdbαgρl∣ur∣ur
The coefficient CD comes from the Schiller–Naumann correlation, which corrects Stokes’ law as the Reynolds number grows:
The model also includes the virtual-mass force (an accelerating bubble has to push the liquid around it), with the settings from OpenFOAM’s bubbleColumn tutorial.
Turbulence
The gas plume makes the metal flow turbulent: eddies of every size, too small for the mesh to resolve. The k-ε model represents them with two more fields: the energy of the eddies, k, and the rate at which it dissipates, ε. From them you get a turbulent viscosity that adds to the metal’s own:
νt=Cμεk2,Cμ=0.09
I used the mixtureKEpsilon version, which solves k and ε for the mixture of both phases.
Stepping through time
OpenFOAM splits the ladle into cells and advances the solution in small time steps. The step cannot be just anything: if the fluid crosses more than one cell in a step, information “jumps” cells and the solution blows up. The condition is measured by the Courant number:
Co=Δx∣u∣Δt≤0.5
The solver adjusts Δt at every step to keep it.
Why average between 20 and 60 seconds
When the simulation starts, the metal is at rest; the plume takes time to form and to get the whole ladle circulating. Those first seconds are a transient that does not represent operation. Besides, even once the ladle is circulating, the plume wobbles and the flow changes from one instant to the next.
So I split the velocity into a mean part and a fluctuation, u=uˉ+u′, and keep the mean over the window where the flow is already statistically steady:
uˉ(x)=40s1∫20s60su(x,t)dt
That mean field feeds the streamlines, the dye and the dead zones of the fifth post.
What lives inside the twin
The twin’s visualizations come from the mean flow: the animated section in the video, the 3D explorer and the isometric figure of the station, where bubbles rise with the model’s residence time and the metal moves along the CFD streamlines.
Interactive figure of the station, sectioned through the lance. You can rotate and explore it.
3D explorer of the CFD: base case on the fine mesh, with streamlines. Rotate the cut, turn on the slice and hover to read the speed. · Open full screen
What comes next
One simulation is not enough: you need to know whether the result depends on the mesh and how it changes with operation. In the next post I run the same ladle on three meshes, compute the grid convergence index and sweep gas flow against lance depth, ending in a power law.
The full twin, with the 3D explorer, is on this page.