Breishit 6:16 says that there were three levels in Noach's ark. Rash"I explains that the top level was for Noach and his family; the middle for the animals, and the bottom for waste.
That implies that all the animals were together in the same level. Some animals are predators of other animals. Did Noach attempt to separate the species so that they wouldn't harm each other? If so, how would he have known about animal behavior for every species? Or was it just miraculous that animals didn't eat or harm each other?