Materials Science β˜…β˜…β˜† Moderate

πŸŒ€ Shape Memory Alloy: Martensitic Phase Transition

Bend a Nitinol wire while it is cold β€” the low-symmetry martensite phase absorbs the strain by reversible twinning, not permanent slip. Heat it past its transformation temperature and watch the crystal lattice revert to austenite, snapping the wire back to its trained shape. Switch to superelastic mode to load and unload the wire at constant temperature and trace a real stress–strain hysteresis loop.

Drag the purple handles to bend the wire Β· Click and drag empty space to orbit Β· Scroll to zoom

20 Β°C

Twin microstructure β€” martensite variants

Stress–strain hysteresis loop

Phase
Martensite
Martensite fraction
100%
Current strain
0.0%
Temperature
20 Β°C
Applied stress
0 MPa
Ms / Mf / As / Af
45 / 15 / 55 / 80 Β°C

Cold: Martensite (twinned)

Below Mf the alloy is fully martensitic. This low-symmetry phase accommodates large strains by twinning β€” reversible reorientation of martensite variants β€” rather than by permanent dislocation slip, so the wire deforms "easily" and stays bent until it is heated.

Thermal Shape-Memory vs. Superelasticity

Martensitic transformation β€” A diffusionless, shear-dominated change in crystal structure between a low-symmetry martensite phase (stable when cold) and a high-symmetry austenite phase (stable when hot). No atoms swap chemical neighbours the way they would in a chemical reaction; the lattice simply shears into a new shape almost instantly, moving at close to the speed of sound through the material.

Twinning β€” Martensite forms as many small, differently oriented "variants". Applying stress does not break bonds; it reorients variants relative to one another (detwinning), which is fully reversible β€” unlike dislocation slip in ordinary metals, which permanently rearranges the lattice and cannot undo itself on heating.

Ms / Mf / As / Af β€” On cooling, martensite starts forming at Ms and finishes at Mf. On heating, austenite starts re-forming at As and finishes at Af. Because the forward and reverse transformations follow different stress/temperature paths, Af is always above Ms β€” this gap is the transformation hysteresis you can trace in the simulation.

Superelasticity β€” Above Af the alloy is fully austenitic and elastically stiff, but applying enough stress alone can force a local, stress-induced martensitic transformation. This lets the alloy strain far beyond an ordinary metal's elastic limit (several percent versus a fraction of a percent) and spring back fully once the stress is removed, tracing a loading/unloading hysteresis loop rather than a straight elastic line.

Real devices β€” Nitinol (NiTi) stents expand from a compressed, cold shape to their working diameter at body temperature; eyeglass frames bend and spring back instead of staying bent; thermal actuators and couplings use trained shape recovery to do mechanical work as they are heated.

About the Shape Memory Alloy Simulation

This simulation renders a real 3D wire, bent by hand into a trained "hook" shape, so you can explore both signature behaviours of a shape-memory alloy such as Nitinol (NiTi). In Thermal Shape-Memory mode, drag the handles to bend the wire while it is cold β€” the martensite phase accommodates the strain by twinning, so it deforms easily and holds the new shape. Raise the temperature slider through the austenite start (As) and finish (Af) temperatures and the crystal lattice reverts to its high-symmetry austenite structure, pulling the wire back to its original trained shape in real time. In Superelastic mode the temperature is held fixed above Af; loading and unloading the wire with the stress slider traces a genuine loading/unloading hysteresis loop on the stress-strain chart, showing large recoverable strain driven by stress alone.

A small inset lattice viewer shows simplified unit cells flipping between two twin variants as the wire is deformed in the cold phase, and settling into a single, higher-symmetry arrangement once the material is heated into austenite β€” a miniature picture of the same diffusionless, shear-dominated transformation happening throughout the wire.

Frequently Asked Questions

What is a shape-memory alloy and how does it "remember" its shape?

A shape-memory alloy such as Nitinol (NiTi) can be deformed while cold, in its martensite phase, and then return spontaneously to a previously "trained" shape when heated above its transformation temperature. The memory is not chemical β€” it comes from a diffusionless martensitic transformation between a low-symmetry martensite crystal structure and a high-symmetry austenite structure. Heating drives the lattice back to austenite, which only has one possible high-symmetry shape, so the wire is pulled back to the shape it had the last time it was fully austenitic.

How is deforming martensite different from bending an ordinary metal?

Bending an ordinary metal permanently rearranges its atoms through dislocation slip, which cannot spontaneously undo itself. Cold shape-memory alloy deforms mainly by twinning β€” martensite variants reorient relative to one another without breaking atomic bonds. Twinning is fully reversible, which is exactly why heating the alloy back into austenite can undo the deformation instead of leaving it permanently bent.

How do I use this simulation?

In Thermal Shape-Memory mode, drag the purple handle spheres to bend the wire while it is cold (below Ms), then move the temperature slider up through As and Af to watch it spring back to its trained hook shape. Switch to Superelastic mode to fix the temperature above Af and drag the stress slider up and down instead β€” the wire bends under load and springs back as you release stress, tracing a hysteresis loop on the stress-strain chart. Reset restores the trained shape, zero stress and room temperature.

What are Ms, Mf, As and Af, and why is there hysteresis?

Ms and Mf are the martensite start and finish temperatures reached on cooling; As and Af are the austenite start and finish temperatures reached on heating. Because nucleating each phase requires overcoming a small energy barrier, the heating path and cooling path never coincide β€” Af always sits above Ms. That temperature gap is the transformation hysteresis, and it is a real, measurable property of every shape-memory alloy, not a simulation artefact.

What is superelasticity and how is it different from shape-memory?

Superelasticity happens at a constant temperature above Af, where the alloy starts fully austenitic. Applying stress alone (no temperature change) can force a local, stress-induced martensitic transformation, producing several percent of recoverable strain β€” far beyond an ordinary metal's roughly 0.2% elastic limit. Because the stress needed to induce martensite on loading is higher than the stress at which it reverts on unloading, the process traces a loading/unloading hysteresis loop instead of a single straight elastic line, even though the material fully recovers its shape at zero stress.

What is Nitinol and why is it the most common shape-memory alloy?

Nitinol is a roughly equiatomic alloy of nickel and titanium (NiTi), discovered at the US Naval Ordnance Laboratory in 1959-1963. It combines a usefully large recoverable strain (up to about 8% superelastic strain), good biocompatibility, and a transformation temperature range that can be tuned close to body temperature by small composition changes, which is why it dominates medical and consumer shape-memory applications over other alloy systems such as CuAlNi or CuZnAl.

What real-world devices use shape-memory alloys?

Self-expanding Nitinol stents are compressed cold onto a catheter, then warm to body temperature once deployed and spring open to hold a blood vessel open. Superelastic Nitinol eyeglass frames and orthodontic archwires bend around an obstruction and spring back instead of staying bent. Thermal shape-memory actuators, couplings, and fire-safety valves use the shape-recovery force generated on heating to do mechanical work without any motor.

What is an active research frontier in shape-memory alloy science?

Researchers are developing high-temperature shape-memory alloys (NiTiHf, NiTiPd) for aerospace actuators that must operate well above Nitinol's normal range, elastocaloric alloys that exploit the latent heat absorbed and released during the stress-induced transformation for solid-state, refrigerant-free cooling and heat pumps, and additively manufactured (3D-printed) NiTi lattices whose transformation behaviour can be tuned locally within a single printed part.