A 3D model for earthquake-induced liquefaction triggering and post-liquefaction response