Regular packaging Styrofoam has worked well for me. I make sure it's thick enough to fill the gap between the PCB and case bottom (i.e. makes contact with PCB and the case when assembled) and cut out holes for screw posts, protruding components, etc.