What is the best nonlinear setup and control method for simulating a compression test on a part such as foam specimen?

What is the best nonlinear setup and control method for simulating a compression test on a part such as foam specimen?

SolidworksSimulation