Use of elastoplasticity to simulate cyclic sand behavior