Modeling and simulating three phases of steel