A simple algorithm to calculate the maximum torsional load for a cylindrical shaft is presented. The algorithm is based on the notion of viscosity solutions to the eikonal equation, and is not restricted to simply-connected cross-sections. Applications to other, related problems, such as ferromagnetic thin lms, and elastic buckling of thin lm blisters are also discussed. 1. Introduction A class...