In the book Divergent there are a lot of literary devices. Some of the literary devices I found are personification, metaphor, onomatopoeia, setting and many more.
Divergent takes place in a futuristic Chicago. It's divided into five factions in hopes of creating a better city. The city of Chicago in the past was abandoned and torn apart. There plan is to rebuild the city by using these factions to keep more organized and peaceful. All events in the book take place in the five factions, Amity, Erudite, Candor, Abnegation, and Dauntless. These factions are all located in different parts of the city of Chicago, but the majority of the book takes place in the Dauntless faction. This is where Tris is going through an initiation