Sheath and presheath in a collisionless open-field plasma