This example shows the use of a double-acting hydraulic cylinder. The clamping structure is simulated with the spring and damper installed between the cylinder case and the reference. The cylinder performs forward and return strokes caused by the change of pressures at ports A and B. The cylinder load consists of inertia, viscous friction, and constant opposing load of 400 N.
The plots below show the pressures in the cylinder and the position of the piston.