Irrigation and drainage design