-
-
November 30, 2018 at 10:28 am
shinetutor
SubscriberI'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 and I have below error in solution phase.Â
Â
I have added the capture image and code source for the contact stress simulation procedure.
Â
Thanks.Â
-
November 30, 2018 at 10:29 am
shinetutor
SubscriberI'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 and  I have below error in solution phase.Â
// Error //
"There are no contact elements in the database. Please send the data leading to this operation to your technical support provider, ..."Â
Â
What is wrong ? Is there a problem related to making contact element due to ANSYS student version?
I have added the capture image and code source for the contact stress simulation procedure.
Â
Thanks.Â
-
November 30, 2018 at 10:29 am
shinetutor
Subscriber[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,CONTA175Â
!*Â
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!!!!!!!!!!
NPLOTÂ
Â
 !!!!!!!!!! Cylinder Btm surface contact point near area selection/!!!!!!!!!!
FLST,5,41,1,ORDE,3Â
FITEM,5,242
FITEM,5,11043Â Â
FITEM,5,-11082Â
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 !!!!!!!!!!!!!
Â
!!!!!!!!!! Contact element attach on cylinder btm surface / !!!!!!!!!!!!!
FLST,5,41,1,ORDE,3Â
FITEM,5,242
FITEM,5,11043Â Â
FITEM,5,-11082Â
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 !!!!!!!!!!!!!
Â
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!!!!!!!!!!
NPLOT
Â
!!!!!!!!!! Flat plate Top surface contact point near area selection/ !!!!!!!!!!
FLST,5,61,1,ORDE,3Â
FITEM,5,242
FITEM,5,302
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, Â
ESYS,      0 Â
SECNUM,
TSHAP,LINE
!!!!!!!!!! /Target element define on Flat plate Top surface !!!!!!!!!!!!!
Â
!!!!!!!!!! Target element attach on Flat plate Top surface/ !!!!!!!!!!!!!
FLST,5,61,1,ORDE,3Â
FITEM,5,242
FITEM,5,302
FITEM,5,-361
CM,_Y,NODEÂ
NSEL, , , ,P51X
CM,_Y1,NODE
CMSEL,S,_YÂ
!*Â
CMSEL,,_Y1Â
ESURF, ,TOP,
CMSEL,,_YÂ Â
CMDELE,_YÂ Â
CMDELE,_Y1Â
!!!!!!!!!! /Target element attach on Flat plate Top surface !!!!!!!!!!!!!
Â
!!!!!!!!!!/boundary condition!!!!!!!!!!!
/SOL
FLST,2,2,4,ORDE,2Â Â
FITEM,2,4Â Â
FITEM,2,9Â Â
!*Â
/GO
DL,P51X, ,UX, Â
FLST,2,1,4,ORDE,1Â Â
FITEM,2,1Â Â
!*Â
/GO
DL,P51X, ,UY, Â
FLST,2,1,4,ORDE,1Â Â
FITEM,2,6Â Â
November 30, 2018 at 10:33 amNovember 30, 2018 at 7:21 pmjpasquerell
Ansys EmployeeSee ANSYS Verification Manual sample model VM211 which is a contact analysis with similar geometry for an example set of commands.
November 30, 2018 at 7:58 pmjpasquerell
Ansys EmployeeI looked over your input and do see two items that need addressed. 1) There are two lines with real, that should have a value after the comma. Try changing both to real,1. 2) The other issue is that everything needs selected prior to the solve command so add an allsel command just before the solve.
December 2, 2018 at 8:21 pmshinetutor
Subscriber Thanks jpasquerell !!
Thanks to your comment, I could solve my 1'st problem. (Real, 1Â and ALLSEL ALL )
But, I have still encountered another 2 problems.
Problem 1. : timestep problem
Problem 2. : penetration problem
Â
[Solution from Text]Â No penetration
Â
What is wrong ?
Â
Â
Â
[Input file]Â
Â
/PREP7Â
BLC4,0,0,500,-500Â Â
CYL4,0,500,500,-90,500,0
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,PLANE82Â
KEYOPT,1,1,0
KEYOPT,1,3,2
KEYOPT,1,6,0
ET,2,TARGE169Â Â
ET,3,CONTA172                !!!!!!!!!!!   contact element type !!!!!!!!!!!!
KEYOPT,3,1,0
KEYOPT,3,2,0
KEYOPT,3,3,0
KEYOPT,3,4,0
KEYOPT,3,5,1
KEYOPT,3,6,0
KEYOPT,3,7,0
KEYOPT,3,8,0
KEYOPT,3,9,0
KEYOPT,3,10,0Â Â
KEYOPT,3,11,0Â Â
KEYOPT,3,12,0Â Â
KEYOPT,3,14,0Â Â
KEYOPT,3,15,0Â Â
KEYOPT,3,18,0
R,1,,,4, ,,
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!!!!!!!!!!
NPLOTÂ
Â
!!!!!!!!!!  Cylinder Btm surface contact point  near area selection/!!!!!!!!!!
FLST,5,41,1,ORDE,3Â
FITEM,5,242
FITEM,5,11043Â Â
FITEM,5,-11082Â
NSEL,R, , ,P51X
!!!!!!!!!!  /Cylinder Btm surface contact point  near area selection!!!!!!!!!!
Â
!!!!!!!!!!  Contact element define of cylinder btm surface/ !!!!!!!!!!!!!
TYPE,   3 Â
MAT,       1
REAL,   1
ESYS,       0 Â
SECNUM,
TSHAP,LINE
!!!!!!!!!!  /Contact element define of cylinder btm surface !!!!!!!!!!!!!
Â
!!!!!!!!!!  Contact element attach on cylinder btm surface / !!!!!!!!!!!!!
FLST,5,41,1,ORDE,3Â
FITEM,5,242
FITEM,5,11043Â Â
FITEM,5,-11082Â
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 !!!!!!!!!!!!!
Â
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!!!!!!!!!!
NPLOT
Â
!!!!!!!!!!  Flat plate Top surface contact point  near area selection/ !!!!!!!!!!
FLST,5,61,1,ORDE,3Â
FITEM,5,242
FITEM,5,302
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,   1
ESYS,       0 Â
SECNUM,
TSHAP,LINE
!!!!!!!!!!  /Target element define on Flat plate Top surface !!!!!!!!!!!!!
Â
!!!!!!!!!!  Target element attach on Flat plate
December 3, 2018 at 10:35 amjj77
SubscriberAs someone mentioned, there is a similar example in the verification manual (VM191). Have a look there.
Â
Also as you will see there, first impose a small enforced displacement to active the contacts, and then remove it as you apply the pressure. Otherwise if you apply a pressure it can be difficult to catch the contact. Finally you can do it in workbench which is easier, and then export the .dat file for reading into the APDL. Attached is the apdl code from WB.Â
December 23, 2020 at 8:29 amjonathangol
SubscriberI have the same problem. Am am new at ansys. Can someone explain me how to solve the problem:n/ Error /nThere are no contact elements in the database. Please send the data leading to this operation to your technical support provider, ... nDecember 23, 2020 at 11:10 amkrada
Subscriberregarding your problem 2 related to penetration i think it is just the magnication of result you can set true value option in post-processsing while plotting nodal solution. but one thing is strange to me why there is Time,0 mentioned in the coloured picture while Time,1 in the black-white picture. please check that as wellnDecember 23, 2020 at 11:11 amkrada
Subscriberyou can find same example in ANSYS verification manual.Viewing 10 reply threads- The topic ‘How to simulate contact stress using ANSYS student 19.1 APDL’ is closed to new replies.
-
-
3572
-
1188
-
1076
-
1063
-
952
© 2025 Copyright ANSYS, Inc. All rights reserved.