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?
July 16, 2024 at 3:51 pm
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