MAGNETOFLOWLIQUID METAL OBSERVATORY
QUASI-STATIC MHD SOLVER / GALINSTAN · 293 K
SEED 0xD1492A605D6F793C LOCAL LAB
EXPERIMENT 01RECTANGULAR DUCT

Hartmann flow atlas

Map the velocity field as a transverse magnetic field suppresses motion and forms thin Hartmann boundary layers.

LIVE FIELDx · FLOW AXIS   /   B ⊙ z
DRAG TO ORBIT · SCROLL TO ZOOM · CLICK SLICE TO PROBE
AXIAL VELOCITY
0mm/s
PROBE · LOCAL SAMPLE0.000 mm/s
y 0 · z 0
MAGNETOFLOW · 3D CROSS-SECTION FIELD
SIM TIME0.00 s
HARTMANN NUMBER4.56Ha = B b √(σ/μ)
PEAK AXIAL SPEED0.000 mm/smax |U| in section
VOLUMETRIC FLOW0.000 mL/sQ = ∫U dA
REYNOLDS NUMBER—Dh-based, laminar model
DATA FROM SOLVER · NOT SYNTHETIC
SPATIAL RESPONSE · MID-PLANE

Hartmann velocity profile

U mm/s
Across z at y = 0HOVER TO INSPECT
TRANSIENT RESPONSE · HISTORY

Centreline and mean velocity

U mm/s
Centreline Mean HOVER TO INSPECT
EXPERIMENTAL RECORD

Saved measurements

Capture operating conditions and derived quantities. Export the complete record as CSV.

#Time (s)B (mT)HaG (Pa/m)Umax (mm/s)Q (mL/s)Joule (mW/m)Energy residual (%)
No measurements saved yet. Use “Save measurement” to record the current experiment.
SCIENTIFIC MISSIONS

Test your MHD intuition

Ten auto-checked investigations. Each answer is checked against the physical model and the boundary conditions used in this laboratory.

0 / 10 complete
MISSION 01 / 10FOUNDATION

What happens to the Hartmann number when the magnetic field doubles?

THE SCIENCE · FIELD NOTES 01

When a magnetic field reshapes a liquid metal

Magnetohydrodynamics couples fluid motion to electric currents. In a conducting liquid, a magnetic field can act as a distributed brake — without a moving mechanical part touching the fluid.

01 · The physical picture

This laboratory models a fully developed, laminar flow of Galinstan through a rectangular duct. The axial velocity is U(y,z), the imposed magnetic field points across the duct along +z, and the pressure gradient drives the liquid along +x. Motion through the field induces electric currents in the cross-section. Those currents experience a Lorentz force, J × B, whose axial component opposes the pressure-driven motion.

The liquid is treated as incompressible, Newtonian and electrically conducting, with constant density, viscosity and conductivity. The duct walls are no-slip and electrically insulating. The model is quasi-static: magnetic induction by the flow is neglected, appropriate when the magnetic Reynolds number is small.

02 · Equations in the solver

The axial momentum balance is ρ ∂U/∂t = G + μ∇²U + (J × B)ₓ. Ohm’s law is J = σ(−∇φ + u × B), and charge conservation requires ∇ · J = 0. Together they give the cross-sectional potential equation ∇²φ = −B ∂U/∂y. The normal current is zero at every insulating wall.

The Hartmann number Ha = B b √(σ/μ) compares magnetic damping with viscous diffusion using the half-height b. Larger Ha produces a flatter core and thinner Hartmann layers at the walls perpendicular to B. The Reynolds number shown here uses the hydraulic diameter; the flow solver itself is a laminar model, not a turbulence closure.

03 · Run an experiment

Start in Hartmann Atlas. Increase B and watch the velocity field contract toward a flatter central profile. Switch to Current Closure to inspect the electric potential and induced-current vectors. The gold probe can be dragged across the cross-section; its readouts are interpolated from the numerical cell values.

In Magnetic Startup, reset the flow and watch the centreline accelerate toward its new equilibrium. Shercliff Layers changes the duct aspect ratio and exposes sidewall effects. In Energy Calorimeter, compare pressure work with viscous and Joule dissipation. Finally, Magnetic Braking lets you reverse field polarity: current direction changes, but the braking force depends on B².

04 · Energy and applications

At steady state, pressure power per unit duct length balances viscous dissipation plus Joule heating: G ∫U dA = μ ∫|∇U|² dA + ∫|J|²/σ dA. During startup, the kinetic-energy growth term must also be included. The notebook reports these terms from the computed field, so a non-zero residual is a useful indicator of discretisation and iterative-solver error rather than a hidden correction.

MHD braking is used in continuous casting, electromagnetic flow control and some liquid-metal processing systems. Related physics appears in fusion blankets, liquid-metal cooling loops, metallurgical pumps and geophysical flows in planetary interiors.

05 · Model limits and assumptions

The solver uses a 56 × 32 cell-centred finite-volume cross-section, a forward-Euler transient update and an SOR solution of the electric-potential Poisson equation. It assumes a straight, constant-area duct; fully developed axial flow; uniform transverse B; constant material properties; negligible induced magnetic field; and perfectly insulating, no-slip walls. Entrance effects, turbulence, temperature-dependent properties, free surfaces, conducting-wall currents and three-dimensional end effects are not represented. Hartmann layers become under-resolved at the strongest fields and shallowest aspect ratios; treat those extremes as qualitative grid-limited predictions.

06 · Glossary and further questions

Hartmann layer: thin velocity boundary layer on a wall normal to the magnetic field. Shercliff layer: sidewall layer parallel to the imposed field. Quasi-static MHD: low-magnetic-Reynolds-number approximation where the induced field is neglected. Joule heating: electrical energy converted to heat at rate J²/σ. Insulating wall: boundary with zero normal current.

Try these hypotheses: Does reversing B change the velocity profile? How does the Joule fraction of total power vary with Ha? At fixed B, does a taller duct weaken or strengthen the sidewall influence? Which numerical resolution would be needed to resolve a Hartmann layer with at least five cells?

Made with 🤖 ChatGPT · Three.js