Adding a Second Component to a Single-Component Vapor-Liquid Equilibrium (VLE) Mixture
Initially, 20 mol of liquid and 0.1 mol of vapor are in equilibrium in a cylinder with a movable piston. The system initially contains only n-hexane and n-octane is injected when the "inject isothermally" play button is pressed, or it starts with n-octane and n-hexane is injected. Change the number of moles injected at constant temperature and pressure with a slider. The system is modeled by Raoult's law. The P-x-y diagram explains why the final state is all liquid or vapor. Use the "reset" button to start the process again.

Download the CDF file to view the simulation using the free Wolfram CDF player.