scripts for computing failure for a cylindrical pressure case