Compression Only with added friction

APDL commands to add friction (mu = 0.01) to a compression only surface. The compression only surface is added as a named selection in Mechanical called ‘compsurf’. In the example figure below, the frictional stress is plotted without any friction (left) and with friction (right).

Transparent

!   Commands inserted into this file will be executed just prior to the ANSYS SOLVE command.
!   These commands may supersede command settings set by Workbench.

!   Active UNIT system in Workbench when this object was created:  Metric (mm, kg, N, s, mV, mA)
!   NOTE:  Any data that requires units (such as mass) is assumed to be in the consistent solver unit system.
!                See Solving Units in the help system for more information.

/PREP7
CMSEL,S,compsurf
ESLN
ESEL,R,ENAME,,174
*GET,max_mat,MAT,,NUM,MAX
modified = max_mat+1
EMODIF,ALL,MAT,modified
MP,MU,modified,0.01
ALLSEL
/SOLU