Three-dimensional elliptic grid generations using a multi-block method