Design of Double-Curvature Arch Dams in Terms of Geometric and Stress Constraints by Using Script-Based Finite Element Modelling