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

More from Electricity & Magnetism

Other simulators in this category — or see all 56.

View category →
NewSchool

Cyclotron (Schematic)

B uniform, oscillating E in gap; spiral growth; ω_c = (q/m)B in sim units.

Launch Simulator
NewUniversity / research

Cherenkov Radiation Cone

Charged particle in a medium of refractive index n: spherical wavefronts of phase velocity c/n pile up on a Mach-like cone with half-angle cos θ_c = 1/(βn) once β > 1/n. Animated wavefronts, magenta cone envelope and material presets (water, glass, diamond) explain the blue glow of pool reactors and IceCube/Super-Kamiokande detection.

Launch Simulator
NewKids

Bar Magnet & Iron Filings

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

Launch Simulator
NewSchool

Biot–Savart Law

Infinite wire B ∝ 1/r; ring via segment sum; heatmap + probe.

Launch Simulator
NewSchool

Electric Dipole Field (2D)

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

Launch Simulator
NewSchool

Ideal Op-Amp (feedback)

Inverting, non-inverting, buffer; sine or DC; optional rail clipping.

Launch Simulator
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)

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

Look

0.75
7
0.55

Shortcuts

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

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.