-
-
September 19, 2018 at 2:10 pm
shinetutor
SubscriberHello~
I'm beginner of ANSYS APDL.
I'm interested in contact stress.
I have been trying for it with the text "ENGINEERING ANALYSIS with ANSYS SOFTWARE (Author: Y. Nakasone and S. Yoshimoto)".
The Contact stress problem is described in 120page ~138page in the text.
I have followed the text, But I can't get the solution.
What is wrong ?
I have added the capture image for the contact stress problem from the text.
Plz, refer to the link below for details.
https://drive.google.com/file/d/16KlDF9rfwiavOuHUf8gOBvPjTIbJ4Nb6/view?usp=sharing
Â
Plz, refer to the link below with Input fileÂ
https://drive.google.com/file/d/1mdRnHIxMYPpS_o5oCdPq5f_w6h13CSvv/view?usp=sharing
Â
Â
Â
Â
Thanks.
Â
-
September 19, 2018 at 3:40 pm
-
September 19, 2018 at 4:34 pm
shinetutor
Subscriber [My Input File]
/PREP7Â
BLC4,0,0,500,-500Â Â
CYL4,0,500,500,-90,500,0
SAVE
SAVE
FLST,2,2,5,ORDE,2Â Â
FITEM,2,1Â Â
FITEM,2,-2Â
AGLUE,P51XÂ
!*Â
MPTEMP,,,,,,,,Â
MPTEMP,1,0Â
MPDATA,EX,1,,2.1E5Â
MPDATA,PRXY,1,,0.3Â
!*Â
ET,1,PLANE183Â Â
!*Â
KEYOPT,1,1,0
KEYOPT,1,3,2
KEYOPT,1,6,0
!*Â
ET,2,TARGE169Â Â
!*Â
ET,3,CONTA172Â Â
!*Â
FLST,5,2,4,ORDE,2Â Â
FITEM,5,2Â Â
FITEM,5,-3Â
CM,_Y,LINEÂ
LSEL, , , ,P51X
CM,_Y1,LINE
CMSEL,,_YÂ Â
!*Â
LESIZE,_Y1, , ,60,1/10, , , ,1Â
!*Â
FLST,5,2,4,ORDE,2Â Â
FITEM,5,1Â Â
FITEM,5,4Â Â
CM,_Y,LINEÂ
LSEL, , , ,P51X
CM,_Y1,LINE
CMSEL,,_YÂ Â
!*Â
LESIZE,_Y1, , ,60,10, , , ,1
!*Â
FLST,5,2,4,ORDE,2Â Â
FITEM,5,8Â Â
FITEM,5,-9Â
CM,_Y,LINEÂ
LSEL, , , ,P51X
CM,_Y1,LINE
CMSEL,,_YÂ Â
!*Â
LESIZE,_Y1, , ,40,10, , , ,1
!*Â
FLST,5,1,4,ORDE,1Â Â
FITEM,5,6Â Â
CM,_Y,LINEÂ
LSEL, , , ,P51X
CM,_Y1,LINE
CMSEL,,_YÂ Â
!*Â
LESIZE,_Y1, , ,40,1/10, , , ,1Â
!*Â
MSHKEY,0
FLST,5,2,5,ORDE,2Â Â
FITEM,5,1Â Â
FITEM,5,3Â Â
CM,_Y,AREAÂ
ASEL, , , ,P51X
CM,_Y1,AREA
CHKMSH,'AREA'Â Â
CMSEL,S,_YÂ
!*Â
AMESH,_Y1Â Â
!*Â
CMDELE,_YÂ Â
CMDELE,_Y1Â
CMDELE,_Y2
!*Â
Â
!!!!!!!!!! Â Cylinder btm surface line selection/!!!!!!!!!!
LSEL,S, , ,      8
!!!!!!!!!! Â /Cylinder btm surface line selection!!!!!!!!!!
!!!!!!!!!! Â Cylinder btm surface node selection/!!!!!!!!!!
NSLL,R,1
!!!!!!!!!! Â / Cylinder btm surface node selection!!!!!!!!!!
Â
Â
!!!!!!!!!! Â Cylinder Btm surface contact point near area selection/!!!!!!!!!!
FLST,5,14,1,ORDE,3Â
FITEM,5,242
FITEM,5,11043Â Â
FITEM,5,-11055Â
NSEL,R, , ,P51X
!!!!!!!!!!  /Cylinder Btm surface contact point near area selection/!!!!!!!!!!
Â
!!!!!!!!!! Contact element define of cylinder btm surface /!!!!!!!!!!!!!
TYPE,  3 Â
MAT,      1
REAL, Â
ESYS,      0 Â
SECNUM,
TSHAP,LINEÂ
!*Â
!!!!!!!!!! /Contact element define of cylinder btm surface !!!!!!!!!!!!!
save
!!!!!!!!!! Contact element attach on cylinder btm surface /!!!!!!!!!!!!!
FLST,5,14,1,ORDE,3Â
FITEM,5,242
FITEM,5,11043Â Â
FITEM,5,-11055Â
CM,_Y,NODEÂ
NSEL, , , ,P51X
CM,_Y1,NODE
CMSEL,S,_YÂ
!*Â
CMSEL,,_Y1Â
ESURF, ,BOT,
CMSEL,,_YÂ Â
CMDELE,_YÂ Â
CMDELE,_Y1Â
!!!!!!!!!! /Contact element attach on cylinder btm surface !!!!!!!!!!!!!
save
ALLSEL,ALL
Â
!!!!!!!!!! Â Flat plate Top surface line selection/!!!!!!!!!!
LSEL,S, , ,      3
!!!!!!!!!! Â /Flat plate Top surface line selection!!!!!!!!!!
!!!!!!!!!! Â Flat plate Top surface node selection/!!!!!!!!!!
NSLL,R,1
!!!!!!!!!! Â /Flat plate Top surface node selection!!!!!!!!!!
Â
!!!!!!!!!!  Flat plate Top surface contact point near area selection/!!!!!!!!!!
FLST,5,23,1,ORDE,3Â
FITEM,5,242
FITEM,5,340
FITEM,5,-361
NSEL,R, , ,P51X
!!!!!!!!!!  /Flat plate Top surface contact point near area selection!!!!!!!!!!
!!!!!!!!!! Target element define on Flat plate Top surface/!!!!!!!!!!!!!
TYPE,  2 Â
MAT,      1
REAL, Â
September 19, 2018 at 6:38 pmSandeep Medikonda
Ansys EmployeeHi Nuno kon,
You are missing contact...not sure how it got that way, but the message suggests database corruption. If you cannot add in the contact to the existing model, you should just start over.Â
cdwrite/cdread sometimes resolves db corruption issues.
Regards,
Sandeep
Viewing 3 reply threads- The topic ‘How to simulate contact stress using ANSYS APDL?’ is closed to new replies.
-
-
6379
-
1906
-
1457
-
1308
-
1022
© 2026 Copyright ANSYS, Inc. All rights reserved.





