The first sentence, "When I get home, the warm smell from the kitchen greets me at the door," is an example of personification. This is because it attributes human qualities (greeting) to an inanimate idea (the smell).
The second sentence, "The soup gurgles and splats on the stove when it boils over," is an example of onomatopoeia. This is because it uses words that phonetically imitate the sounds they describe (gurgles and splats).