Rahul Kumbhar
Ansys Employee

You should use tabular data to define spatially varying displacement. Using the APDL commands, you can then apply this table as displacement.