Test of a system with 2 cylinders (with same volume):
A force is applied that presses from 0.25 s to 0.50 s with 1 Nm on piston1. Due to the ratio of areas 10:1
At piston2 a mass is mounted which is moved and presses the springDamper. When the force at piston1 is removed, the springDamper pushes back the mass and a damped oscillation occurs.
Note: Take care of the initial conditions. The unstretched spring length is cylinder2.L/2, i.e. when piston2 is the middle of its cylinder the spring applies no force to the mass (and piston2).