Quarter Car on Rough Surface

This simulation was part of my MS thesis. I wrote a script that generate surface profile using the PSD data of various terrains*. A quarter car model traverse on the surface and gets excited by the surface elevation.

* Sun, Lu. "Simulation of pavement roughness and IRI based on power spectral density." Mathematics and computers in simulation 61.2 (2003): 77-88.

Note: The animation uses a Matlab script provided here. I modified the script to work with my code.

Zoomed-in view of a section of road profile and displacements