Interactive G-X Phase Diagrams (ERTH 602 Final Project)
Published:
I wrote this code to explore how different phases’ Gibbs free energy (G) curves interact to create stable phase equilibria.
Adjust the sliders below to change the height, curvature, and position of three parabolic G curves. Black lines show common tangents selected by the notebook’s solver; dashed lines mark their contact compositions. Each curve has the form G = curvature × (X₂ − position)² + height.
Loading Python and plotting libraries. The first load may take a minute.
Open the original Jupyter notebook · View the Python plotting code
