script for computing pressure case failures given case parameters