Numerical Simulation of Residual Stress in the Glass-to-Metal Diffusion Seals