Binary Phase Diagram Back
Materials Science

Binary Alloy Phase Diagram & Solidification Simulator

Explore Cu-Ni isomorphous, Sn-Pb eutectic, and Fe-C peritectic phase diagrams interactively. Lever rule computes solid fraction instantly; compare equilibrium vs Scheil solidification paths.

Alloy System & Conditions
Alloy System
Composition C₀ (mol% B) 40%
Temperature T (°C) 1200°C
Lever Rule Results
Liquid + Solid
Solid fraction fs
Liquid fraction fl
Solid compos. Cs (%)
Liquid compos. CL (%)
View Mode

Lever Rule

$$f_s = \frac{C_0 - C_L}{C_S - C_L}$$

$f_s + f_L = 1$ (mass balance)

Valid in the two-phase (L+S) region only. Assumes equilibrium solidification.

What is a Phase Diagram & the Lever Rule?

🧑‍🎓
What exactly is a phase diagram? I see the simulator has different alloy systems like Cu-Ni and Fe-C, but I'm not sure what the lines mean.
🎓
Basically, it's a map for materials scientists. It tells you what phases—like solid (S) or liquid (L)—are stable at a given temperature and composition. The lines are phase boundaries. In this simulator, try selecting "Cu-Ni" and moving the Temperature slider. You'll see the red dot cross a line, changing the phase field from "Liquid" to "L+S" (Liquid + Solid). That line is the liquidus.
🧑‍🎓
Wait, really? So in the "L+S" region, both liquid and solid exist at the same time? How do I know how much of each there is?
🎓
Exactly! That's where the lever rule comes in. It's the key calculation this simulator does for you. When your red dot is in the two-phase region, the tool reads the compositions of the solid ($C_S$) and liquid ($C_L$) from the diagram boundaries. Then, it uses the lever rule to compute the solid fraction $f_s$. Try changing the Composition $C_0$ slider and watch how $f_s$ updates instantly.
🧑‍🎓
So the lever rule is like a mass balance? Why is it called a "lever"?
🎓
Great intuition! It is a mass balance. Imagine the two-phase region as a see-saw. The overall composition $C_0$ is the fulcrum. The distances from $C_0$ to $C_L$ and $C_S$ are the lever arms. The fraction of solid is proportional to the "lever arm" on the liquid side. In practice, if you set $C_0$ very close to $C_S$ on the diagram, you'll see $f_s$ approach 1—almost all solid!

Physical Model & Key Equations

The core principle is conservation of mass. For an alloy of overall composition $C_0$ that has separated into a solid of composition $C_S$ and a liquid of composition $C_L$, the total amount of component B must be conserved. This leads to the lever rule.

$$f_s = \frac{C_0 - C_L}{C_S - C_L}$$

$f_s$: Mass fraction of solid phase.
$C_0$: Overall composition of the alloy (set by the slider).
$C_L$: Composition of the liquid phase (read from the liquidus line).
$C_S$: Composition of the solid phase (read from the solidus line).

The lever rule is only valid under the assumption of equilibrium solidification, meaning diffusion in both solid and liquid is infinitely fast. This ensures the phases maintain uniform compositions ($C_S$ and $C_L$) as defined by the phase boundaries at each temperature.

$$f_s + f_L = 1$$

This simple sum rule states that the mass fractions of all phases must add to one. Combined with the lever rule, it allows you to also solve for the liquid fraction $f_L$.

Real-World Applications

Casting & Foundry Engineering: Predicting how much solid forms at a given temperature is crucial for designing casting processes. For instance, using the Sn-Pb diagram helps control the solidification of solder to avoid defects like shrinkage pores, which form in the last liquid to freeze.

Alloy Design & Heat Treatment: The Fe-C (steel) phase diagram is the foundation of metallurgy. Engineers use it to design heat treatments like annealing or quenching. By understanding the phases present at different temperatures and carbon contents, they can tailor a steel's strength, hardness, and toughness.

Microstructure Prediction: The lever rule gives the phase fractions, but the assumption of equilibrium solidification often leads to a uniform microstructure. In real, non-equilibrium cooling (like in welding), different microstructures form, but the equilibrium diagram provides the essential starting point for analysis.

Materials Selection: When choosing a corrosion-resistant alloy like Cu-Ni for marine applications, the phase diagram ensures the selected composition will be a single, uniform solid solution at operating temperatures, preventing the formation of weak or corrosive secondary phases.

Common Misconceptions and Points to Note

First, understand that this simulator deals with an equilibrium state. The composition and amount of solid and liquid phases calculated by the lever rule describe an ideal case of "infinitely slow cooling." In actual casting or welding, the cooling rate is faster, so atomic diffusion within the solid cannot keep up, leading to non-equilibrium solidification that differs from the calculation. For example, rapidly cooling a Sn-Pb alloy results in a phenomenon called coring, where the composition differs significantly between the center and surface, rather than the uniform microstructure predicted by the calculation.

Next, be cautious of the oversimplified notion that "a solid fraction of 50% means half of the total is solid." The lever rule yields mass fractions. For alloys where the density of the solid phase and liquid phase differ significantly (like many cast irons), the volume fractions do not match. Since volume change is crucial for predicting shrinkage cavities, confusing these can lead to discrepancies in actual design.

Finally, pay attention to how the behavior changes when you adjust the "initial composition C₀" parameter in the tool. Moving C₀ away from the eutectic point (e.g., 61.9 wt% Sn for Sn-Pb) creates a difference between the temperature where solidification starts (liquidus) and where it ends (solidus). Alloys with a wider temperature range (solidification temperature range) will have a more gradual slope in the solidification curve, making it easier to form a broad, "mushroom-shaped" mushy zone. This means shrinkage porosity tends to be dispersed, making riser design more challenging. The quickest way to understand this is to actually try changing C₀ in the simulator and observe how the shape of the solidification curve changes.

Related Engineering Fields

The core concepts of this tool—"phase equilibrium and thermodynamics" and "prediction of solidification processes"—are your gateway to the vast world of CAE. The most direct connection is to casting simulation (casting CAE). Commercial software precisely combines this lever rule with heat transfer calculations to predict in detail where and when solidification occurs within a mold and where shrinkage defects will form. Learning to read the solidification curve in NovaSolver builds the foundational skills needed to understand those complex CAE results.

Another major application is welding and joining engineering. A weld zone can be thought of as a miniature "casting site." Because the molten pool undergoes rapid heating and cooling, the non-equilibrium solidification mentioned earlier becomes pronounced, leading to cracking (solidification cracking) and precipitation of brittle phases. Knowledge of phase diagrams forms the basis for selecting appropriate welding materials and determining preheat and postheat temperatures.

Looking further ahead, this connects to additive manufacturing (3D printing) as well. The process of melting and layering metal powder with a laser involves repeated, extremely localized and rapid solidification. Here, in addition to the phase diagram, the relationship between solidification speed and microstructure (cellular, dendritic, etc.) becomes critically important. NovaSolver's visualization of microstructures will help you visualize the first steps in this area.

For Further Learning

If you're interested in the calculations behind this tool and want to learn more, consider taking the next step. Mathematically, start by learning the law of mass conservation and the condition for phase equilibrium (equality of chemical potential) underlying the derivation of the lever rule. Understanding this will reveal why extending the concept to ternary alloys (three components) is "so difficult." For ternary systems, you can't calculate with a simple ratio like the lever principle; it evolves into a concept called the center of gravity rule.

For learning closer to practical applications, I recommend looking into the "Scheil model," a classic model for non-equilibrium solidification. This model, which assumes no diffusion in the solid and perfect mixing in the liquid, allows for simple calculation of the coring phenomenon mentioned earlier. By slightly modifying the equilibrium lever rule equation, it can be expressed as $$ f_s = \frac{C_0 - C_L}{C_S^* - C_L} $$ (where $C_S^*$ is the composition at the solid surface), helping you understand how the solidification range expands.

Ultimately, it's good to be aware of the world of "thermodynamic calculation software (CALPHAD method)." This is a powerful tool that predicts phase diagrams for virtually any multicomponent alloy system from a fundamental thermodynamic database. By cultivating your intuition with educational tools like NovaSolver and then learning about the existence of such practical computational tools, you should gain insight into the cutting edge of materials design.