Effects of differently shaped obstacles on a rapid stream expansion