← Back to the lab

Simulation

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.

By ·

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.

The OpenFOAM case ladle, in sectionØ 3.2 mBath 2.63 mFreeboard 0.4 mDepth h = 2.0 m1234567Tip height above the floor: 0.63 m
  1. Gas outlet: fixed pressure, argon leaves and hot metal does not
  2. Bath surface
  3. Walls and lance: no slip (u = 0)
  4. Lance 0.2 × 0.2 m
  5. Argon plume
  6. Hot-metal recirculation
  7. Two Ø 20 mm nozzles at 45°: argon at fixed velocity
© Gersaín Barrón Velázquez · gersadesign.com

Two fluids in the same place

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\alpha_g and a liquid fraction αl\alpha_l, with αg+αl=1\alpha_g + \alpha_l = 1, and each phase has its own velocity.

For each phase we write conservation of mass and of momentum:

∂(αkρk)∂t+∇⋅(αkρkuk)=0\frac{\partial(\alpha_k\rho_k)}{\partial t} + \nabla\cdot(\alpha_k\rho_k\mathbf{u}_k) = 0 ∂(αkρkuk)∂t+∇⋅(αkρkukuk)=−αk∇p+∇⋅(αkτk)+αkρkg+Mk\frac{\partial(\alpha_k\rho_k\mathbf{u}_k)}{\partial t} + \nabla\cdot(\alpha_k\rho_k\mathbf{u}_k\mathbf{u}_k) = -\alpha_k\nabla p + \nabla\cdot(\alpha_k\boldsymbol{\tau}_k) + \alpha_k\rho_k\mathbf{g} + \mathbf{M}_k

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\mathbf{M}_l = -\mathbf{M}_g. 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\mathbf{M} is drag. Per unit volume:

MD=34 CD αg ρl ∣ur∣db ur\mathbf{M}_D = \frac{3}{4}\,C_D\,\frac{\alpha_g\,\rho_l\,|\mathbf{u}_r|}{d_b}\,\mathbf{u}_r

The coefficient CDC_D comes from the Schiller–Naumann correlation, which corrects Stokes’ law as the Reynolds number grows:

CD={24Re(1+0.15 Re0.687)Re≤10000.44Re>1000Re=ρl ∣ur∣ dbμlC_D = \begin{cases} \dfrac{24}{Re}\left(1 + 0.15\,Re^{0.687}\right) & Re \le 1000 \\[6pt] 0.44 & Re > 1000 \end{cases} \qquad Re = \frac{\rho_l\,|\mathbf{u}_r|\,d_b}{\mu_l}

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, kk, and the rate at which it dissipates, ε\varepsilon. From them you get a turbulent viscosity that adds to the metal’s own:

νt=Cμ k2ε,Cμ=0.09\nu_t = C_\mu\,\frac{k^2}{\varepsilon},\qquad C_\mu = 0.09

I used the mixtureKEpsilon version, which solves kk and ε\varepsilon 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=∣u∣ ΔtΔx≤0.5Co = \frac{|\mathbf{u}|\,\Delta t}{\Delta x} \le 0.5

The solver adjusts Δt\Delta 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′\mathbf{u} = \bar{\mathbf{u}} + \mathbf{u}', and keep the mean over the window where the flow is already statistically steady:

uˉ(x)=140 s∫20 s60 su(x,t) dt\bar{\mathbf{u}}(\mathbf{x}) = \frac{1}{40\ \text{s}}\int_{20\ \text{s}}^{60\ \text{s}} \mathbf{u}(\mathbf{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.