spice representation for mechanical problems
One option is to  convert the mechanical system to an electrical analogue, and then simulate the circuit.  Example at http://lpsa.swarthmore.edu/Analogs/ElectricalMechanicalAnalogs.html

Ofcourse, the grunt approach is just to work out your diffeqs and numerically solve with matlab or octave.