Preliminary design of autonomous underwater vehicles