Saumadeep
Ansys Employee
!

This analysis can be undertaken in 2 parts (mentioned below) and then the two separate solutions can be combined using Solution Combination (ansys.com) to get the final combined solution.
Applying pressure at the piston head and constraining the piston end.
Applying force at the piston end and constraining the piston head.

Regards Saumadeep