This document describes an efficient tangent scheme for solving phase-change problems using finite element methods. The key points are:
1. The method derives an exact expression for the tangent matrix, which includes an additional "interface capacity matrix" term to account for the discontinuous change in enthalpy at the phase change interface.
2. For one-dimensional elements, the interface capacity matrix reduces to a simple expression involving the temperature gradient and shape functions evaluated at the interface.
3. For two-dimensional quadrilateral elements, the interface capacity matrix is derived by transforming to a coordinate system defined by isothermal and flux lines and applying the Dirac delta function.
4. Numerical examples demonstrate the method has good