PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 65 in Electricity & Magnetism.

View category →
NewKids

Bar Magnet & Iron Filings

Launch Simulator

Drag-and-drop bar magnet on a card of iron-filing rods; each filing aligns with the local two-pole B field.

NewSchool

Electric Dipole Field (2D)

Launch Simulator

±q on axis: V heatmap, equipotentials, E field lines; formulas.

NewKids

Plasma Ball (Stylized)

Launch Simulator

Glass sphere, center electrode, streamers toward cursor — visual only.

NewSchool

Parallel-Plate Capacitor

Launch Simulator

C = ε₀εᵣA/d, E = V/d, Q and energy; plates and C vs d.

NewUniversity / research

Alfvén Wave on a Magnetic Field Line

Launch Simulator

Transverse MHD Alfvén wave: v_A = B/√(μ₀ρ), animated field-line displacement, standing modes and pulse reflections at fixed boundaries.

NewUniversity / research

Parker Spiral Solar Wind

Launch Simulator

Rotating Sun plus radial solar wind: interplanetary B spirals with tan ψ = Ωr/v_sw, animated field lines (top view), ψ(r) and |B| falloff.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Electricity & Magnetism/Ferrofluid (Stylized)

Ferrofluid (Stylized)

Purple metaball pool, spikes, field-line hints — visual only, not MHD.

Look

0.75
7
0.55

Shortcuts

  • •Move the mouse horizontally to slide the magnet
  • •Tune field strength and spike count

About this model

Ferrofluids are colloidal liquids containing nanoscale ferromagnetic particles suspended in a carrier fluid. This interactive visualization focuses on their most striking property: the formation of sharp, spike-like structures in the presence of a magnetic field. The core principle at work is the minimization of total potential energy in the system. The magnetic potential energy is reduced when the fluid is drawn into regions of strongest field, but this is balanced against the opposing forces of surface tension and gravity, which work to keep the fluid's surface smooth and flat. The spikes, known as the normal-field instability or Rosensweig instability, appear when the magnetic force overcomes the stabilizing surface tension. The simulator visually represents this using a stylized, purple 'metaball' model, where the fluid surface deforms according to the strength and direction of an underlying magnetic field, hinted at by field lines. It simplifies the complex magnetohydrodynamics (MHD) by treating the fluid as a single, continuous magnetic medium responding instantaneously to the field, ignoring fluid viscosity, particle interactions, and detailed field calculations. By manipulating the virtual magnet, students can observe how field strength and geometry directly influence the pattern and height of the spikes, reinforcing concepts of magnetic force, field lines, and energy minimization.

Who it's for: High school and introductory undergraduate physics students learning about magnetism, magnetic fields, and material properties, as well as educators seeking a visual demonstration of magnetic field interactions.

Key terms

  • Ferrofluid
  • Magnetic Field
  • Magnetic Force
  • Field Lines
  • Normal-Field Instability
  • Surface Tension
  • Potential Energy
  • Colloid

How it works

Not a real ferrofluid or Maxwell solve — a purple–black stylization: metaball-like glow, Gaussian spikes, and curved field-line hints toward a bar magnet. Mouse x moves the magnet; sliders change contrast and cluster count. Use it as visual vocabulary before a serious Rosensweig / demagnetizing lecture.

Key equations

Real: magnetic energy, surface tension, gravity — here: radial gradients + exp(−r²) spikes.

Frequently asked questions

Why do the spikes form only at certain points?
Spikes form where the magnetic field is strongest and most perpendicular to the fluid's surface. The fluid is pulled toward these high-field regions to minimize the system's magnetic energy. The pattern of spikes mirrors the underlying pattern of the magnetic field lines emanating from the magnet's poles.
Is this how real ferrofluids work?
Yes, the core physics is accurate. Real ferrofluids form similar Rosensweig instability patterns when a strong enough vertical magnetic field is applied. This simulator is a stylized visualization; real experiments involve more complex factors like fluid viscosity and the precise strength of the applied field needed to trigger the instability.
Could I make a ferrofluid at home?
Simple demonstrations can be made using fine iron filings in oil, but true, stable ferrofluids require nanoscale magnetic particles coated with a surfactant to prevent clumping. These are complex chemical engineering products used in loudspeakers, hard drives, and medical applications.
Why doesn't the simulator show the fluid being permanently magnetized?
Ferrofluids are superparamagnetic. Their tiny particles become strongly magnetized only while in an external magnetic field. When the field is removed, thermal motion randomizes the particle magnets, and the fluid loses its bulk magnetization, returning to a smooth liquid. This simulator models this responsive, non-permanent behavior.