Ansys Learning Forum Forums Discuss Simulation General Mechanical How to prescribe displacements for a set of multiple nodes simulteanouly? Reply To: How to prescribe displacements for a set of multiple nodes simulteanouly?

dlooman
Ansys Employee

It might be possible if you have a value for each node in the named selection in a two column text file of node and values separated by a space or comma.  DLIST can be used afterward to check if it worked.  Mid-side nodes might interfere with this process.

*dim,d_vals,table,100,,,node         ! For 100 values 

*tread,d_vals(1),filename,txt          ! read node and displacement values from file

cmsel,s,named_selection 

d,all,ux,%d_vals% 

allsel 

dlist