MechSimulator

Phase Change & Latent Heat Simulator

Q = mcΔT + mL — Solid → Liquid → Gas • Simulate • Explore • Practice • Quiz

Mode
Units
View
📖 User Guide
Presets
Material A
Material B
Heat Input (Q) kJ
Mass (m) kg
Start Temp (T0) °C
Temp (A)
20.0 °C
Temp (B)
20.0 °C
Phase (A)
Solid
Phase (B)
Solid
Heat Added
500 kJ
Formula
Q = mcΔT + mL
📖 Learning panels
Σ Live equations — step-by-step energy budget for current state
Phase properties — melt/boil points & latent heats
💡 What-if coach — insights from current values
User Guide — Phase Change & Latent Heat Simulator
1 Overview

The Phase Change Simulator brings the three states of matter to life. Pick a material — water, ethanol, mercury, iron, lead, aluminium, nitrogen, or ammonia — set a starting temperature and heat input, and watch the substance travel through the full solid → liquid → gas journey. Animated particles switch from rigid lattice, to flowing liquid, to fast-moving gas as you cross each phase boundary, and the heating curve draws the characteristic step pattern with plateaus at the melting and boiling points.

Unlike the specific-heat simulator (where temperature rises linearly), this tool uses the full energy budget Q = mcΔT + mL. During a phase change the temperature stops rising even as heat keeps flowing, because every joule goes into breaking intermolecular bonds. The tool supports a single-material view and a side-by-side Material A vs Material B comparison, SI/Imperial units, presets, custom materials, and all the usual Simulate/Explore/Practice/Quiz modes.

2 Getting Started

The simulator opens in Simulate mode, Single view, with Water as Material A starting at -20°C (ice). Heat Input is 500 kJ, mass is 1 kg. Press 🔥 Simulate and over roughly twelve seconds you will see: ice warms from −20 to 0 °C (short sloped line); ice melts at 0 °C while the animation shows the lattice collapsing into a liquid (long horizontal plateau); water heats to 100 °C (sloped line); water boils at 100 °C (very long plateau — vaporization takes 6.8× the fusion energy!); steam rises above 100 °C (steep line because steam has a low specific heat).

Switch to Compare A vs B in the View pill to show two containers side-by-side. Great for comparing how quickly different materials melt, or for showing that mercury and water behave very differently under the same heat input.

3 Simulate Mode

The canvas shows an animated container heated by a gas flame. Particles visualise the current phase: in the solid phase they sit in a lattice and vibrate; in the liquid phase they detach and flow; in the gas phase they scatter above the liquid surface as fast-moving dots and steam wisps rise from the top. A thermometer tracks the instantaneous temperature. When a phase change is in progress, a banner labels which transition is happening (“Melting”, “Boiling”) and the thermometer reading holds steady.

The heating curve in the graph panel shows the full sensible-heat plus latent-heat path. Plateaus at the melting and boiling points are drawn automatically with their labels (“Tm” / “Tb”). In Compare mode, both curves are drawn with distinct colours and a legend appears. The red rolling marker tracks your current heat input position; dots on each curve show where each material is in its phase journey.

4 Explore Mode

Explore has four categories. Phase Basics covers the three states of matter, melting, boiling, sublimation, and phase diagrams. Latent Heat teaches Q = mL, the distinction between fusion and vaporization, why the L values differ, and how latent heat is measured in a calorimetry experiment.

Heating Curve explains how to read the classic temperature-vs-heat graph, why the plateaus are flat, and how their length reflects L×m. Applications covers real-world use cases: refrigeration cycles, sweating and evaporative cooling, steam power, metal casting, cryogenics, weather (why hurricanes get power from evaporated water), and phase-change materials in building insulation.

5 Practice & Quiz

Practice asks randomised problems: energy to melt ice, total energy to turn water into steam, latent heat of fusion from experimental data, final phase of a mixture, and power required to vaporise a given mass in a given time. Enter your numeric answer or click Show Solution for the full step-by-step derivation.

Quiz is five mixed questions per round on definitions (what is latent heat?), values (Lf and Lv for water), reading a heating curve, and applications (why evaporation cools, why steam burns are worse than water burns). You receive a star rating at the end.

6 Features & Power Tools

Single / Compare view: The View pill at the top flips between a single material (centre-stage) and a side-by-side A vs B comparison.

Units (SI / Imperial): Every readout, slider label, axis, and modal step converts between SI (kJ, kg, °C, J/(kg·K), kJ/kg) and Imperial (BTU, lb, °F). Calculations stay in SI internally for accuracy.

Presets: One-click scenarios along the top — Ice to Steam, Melting Lead, Boiling Ethanol, Mercury Thermometer, Liquid Nitrogen, Iron Foundry, Ammonia Refrigerant, Evaporative Cooling, Ice vs Lead, Water vs Mercury.

Custom material: Click + Custom to add your own substance — enter name, specific heats (solid/liquid/gas), latent heats (Lf, Lv), melting and boiling points. Range-checked, SI-internal.

Start temperature: The T0 slider lets you start the simulation anywhere from −50 to 120 °C (or the equivalent in Imperial). Perfect for demonstrating “what if we start with liquid water instead of ice?”

Canvas toggles: Hide/show Flames, Particles, Graph, Equation, or enable Keep Traces to layer multiple runs onto the same chart for comparison.

Show Calculations (🔢): Opens a step-by-step modal that walks through sensible heating, melting, liquid heating, vaporization, and final-state identification with all substitutions.

Learning panels: Three collapsible cards below the readouts show live equations, a full table of phase properties for all materials, and a what-if coach with contextual tips.

Export: CSV for heating-curve data, PNG for the labelled canvas. Also available via right-click.

Undo / Redo: Ctrl+Z and Ctrl+Shift+Z step through recent changes.

7 Tips & Best Practices
  • The longest plateau on a water heating curve is vaporization, not melting — Lv (2260 kJ/kg) is about 6.8× Lf (334 kJ/kg). This is why a kettle takes much longer to boil dry than to reach boiling.
  • Steam at 100 °C contains far more energy than water at 100 °C because of the latent heat released when it condenses on your skin — that is why steam burns are so dangerous.
  • Evaporation cools because the escaping molecules carry away Lv joules per kilogram. This is the physics behind sweating, clay pots that cool water, and every air conditioner ever built.
  • The specific heats of the solid and liquid phase are often different: ice c = 2090 J/(kg·K), liquid water c = 4186 J/(kg·K), steam c ≈ 2010 J/(kg·K). The simulator uses the correct value for each region of the curve.
  • For mercury and most pure metals, the liquid and solid specific heats are nearly equal, so the sloped sections look symmetric — only the plateau lengths carry information about Lf and Lv.
  • Pair this simulator with the Specific Heat Capacity Simulator (single-phase heating) and the Thermodynamics Cycles Simulator to complete your thermodynamics toolkit.

Understanding Phase Change and Latent Heat

Every time a substance changes between solid, liquid, and gas, an enormous amount of energy flows in or out without any change in temperature. That hidden energy is called latent heat, and it governs everything from the weather to your kettle, from industrial steam turbines to the liquid nitrogen in a cryogenic lab. The simulator above lets you watch the full journey unfold in real time while every joule is tracked on the heating curve.

Latent Heat of Common Substances

SubstanceMelting (°C)Boiling (°C)Lf (kJ/kg)Lv (kJ/kg)
Water01003342260
Ethanol−11478108855
Ammonia−78−333321371
Mercury−3935711294
Lead327174923871
Aluminium660251939710900
Iron153828622476340
Nitrogen−210−19626199

The Energy Budget: Q = mcΔT + mL

To heat a substance from well below its melting point to well above its boiling point, the total energy is the sum of five separate contributions: (1) sensible heat in the solid phase, m·cs·ΔT; (2) latent heat of fusion, m·Lf; (3) sensible heat in the liquid phase, m·cl·ΔT; (4) latent heat of vaporization, m·Lv; (5) sensible heat in the gas phase, m·cg·ΔT. The graph in the simulator shows all five as alternating slopes and plateaus, with the plateau lengths scaling with m·L.

Why Temperature Stays Constant During a Phase Change

Temperature measures the average kinetic energy of molecules. During melting or boiling, every joule of heat goes into breaking the intermolecular bonds (hydrogen bonds for water, metallic bonds for iron, van der Waals for noble gases) that hold the current phase together. Once all the bonds for a given phase are broken, the molecules can finally move more freely and the temperature starts rising again. This is why ice-water mixtures sit at exactly 0 °C until the last ice cube is gone, and why a rolling boil stays at 100 °C no matter how hard you crank the stove.

Where Latent Heat Matters

Latent heat powers refrigeration and air conditioning (a working fluid evaporates inside the cold coil, absorbing Lv, and condenses outside, releasing it). It drives weather (hurricanes are latent-heat engines — warm ocean water evaporates, releases Lv when it condenses at altitude, and that released energy drives the storm). It enables steam power plants, metal casting foundries, cryogenic medicine, evaporative cooling towers, and phase-change materials that buffer temperature swings in buildings and spacecraft.

Who Uses This Simulator?

This simulator is designed for high-school physics and chemistry students, first-year engineering students, HVAC trainees, and teachers who need a visual way to demonstrate that a phase change is not just a colour swap but a genuine energy transaction. It is also useful for vocational instructors explaining why refrigerants behave the way they do, and for materials-engineering students studying casting, soldering, and heat treatment.

Explore Related Simulators

If you found this phase change simulator helpful, explore our Specific Heat Capacity Simulator, Thermal Expansion Simulator, Heat Transfer Simulator, Refrigeration Cycle Simulator, and Thermodynamics Cycles Simulator for more hands-on practice.