Computer simulation of the mechanical response of structurally complex clayey soils