Ansys Learning Forum Forums Discuss Simulation General Mechanical How to Retrieve Contact Area as Elemental Values in Ansys Mechanical? Reply To: How to Retrieve Contact Area as Elemental Values in Ansys Mechanical?

Deepak
Ansys Employee

 

Hi, 

If you are looking for contact area calculation, please feel free to this forum discussion: Contact Area Calculation in Mechanical

or if you are looking at contact areas by individual elements, please try this scprit:

 

Allsel,all
/SOLU
SOLVE

/POST1
SET,LAST
cmsel,s,contact_side            !Define the name selection of contact side
ESLN,,

ESEL,R,TYPE,,3                     !selects contact elements (target elements would be 4, see solver information)
ETABLE,ELSTAT,CONT,STAT             !stores contact status
ESEL,S,ETAB,ELSTAT,2,3             !selects element in contact (stat=2 sliding,stat=3 sticking)
ETABLE,CONT_AREA,VOLU                 !selects contact element area (volume is calculated for unite thickness for 2D elements)
SSUM                             !sum area
*GET,TOT_AREA,SSUM,0,ITEM,CONT_AREA     !store result in parameter
MY_AREA=TOT_AREA                 !print area as result

/output,res_sp,txt                !Opens results file stores the Contact area and Status
PRETAB,ELSTAT,CONT_AREA,
/out

 

Regards,

Deepak K.

Guidelines for Posting on Ansys Learning Forum

 

How to access the ANSYS Online Help