Ansys Learning Forum › Forums › Discuss Simulation › General Mechanical › Contour plot of stresses in a specific body of an assembly using APDL › Reply To: Contour plot of stresses in a specific body of an assembly using APDL
October 4, 2023 at 9:25 am
Erik Kostson
Ansys Employee
Hi
So say we have two parts and added them (elements) into a component (use CM,CMENA,ELEM, and CM,CMTWO,ELEM ) and so we can select them separately via cmsel, then this plots (using /contour) stress results of them separately:
/POST1
SET, LAST
CMSEL,S,CMENA
NSLE
PLNSOL, S,X,
/CONTOUR,,,-11000,100,0
/REPLOT
/RESET
ALLSEL,ALL
CMSEL,S,CMTWO
NSLE
PLNSOL, S,X,
/CONTOUR,,,-12000,100,0
/REPLOT
All the best
Erik