how to simulate pneumatic double cylinder in catia or solidwork?

i want to simulate cylinder in catia or solidwork