Sie sind auf Seite 1von 3

finish /clear /title,Contact Elements /prep7 ! Top Beam X1=0 Y1=15 L1=100 H1=10 !

Bottom Beam X2=50 Y2=0 L2=100 H2=10 ! Create Geometry blc4,X1,Y1,L1,H1 blc4,X2,Y2,L2,H2 ! define element type ET,1,plane42 ! element type 1 keyopt,1,3,3 ! plane stress w/thick type,1 ! activate element type 1 R, 1, 10 ! thickness 0.01 ! define material properties MP,EX, 1, 200e3 ! Young's modulus MP,NUXY,1, 0.3 ! Poisson's ratio ! meshing esize,2 amesh,all ! set meshing size ! mesh area 1

! apply constraints to outside edges ! Constrain top beam nsel,s,loc,x,X1 nsel,r,loc,y,Y1,(Y1+H1) d,all,all nsel,all ! Constrain bottom beam nsel,s,loc,x,(X2+L2) nsel,r,loc,y,Y2,(Y2+H2) d,all,all nsel,all ! Apply load to node on top of upper beam nsel,s,loc,x,(L1/2+X1) nsel,r,loc,y,(Y1+H1) f,all,fy,-10000 nsel,all ! Create contact pair CM,_NODECM,NODE CM,_ELEMCM,ELEM CM" MP,MU,1,0 ! Select all the nodes and call this selection "_NODECM" ! Select all the elements and call this selection "_ELEM ! Set the material coefficient of friction

REAL,3 ET,2,169 ET,3,172 ! Apply real constants to set #3 R,3,,,1.0,0.1,0, RMORE,,,1.0E20,0.0,1.0, RMORE,0.0,0,1.0,,1.0,0.5 RMORE,0,1.0,1.0,0.0,,1.0

! Set element type #2 to be target ! Set element type #3 to be contact

! Generate the target surface LSEL,S,,,7 ! Select line number 7 CM,_TARGET,LINE ! Call the selection (made in the line above) "_TARGET" TYPE,2 ! Make the selection Type2 (which means target s urface) NSLL,S,1 ! Select the nodes of the selected lines ESLN,S,0 ! Select the elements attached to the selected n odes ESURF ! Generate contact elements on the free surfaces of the selected elements CMSEL,S,_ELEMCM ! Select the newly created elements and call them "_ELEM CM" ! Generate the contact surface LSEL,S,,,1 ! Select line number 1 CM,_CONTACT,LINE ! Call the selection (made in the line above) "_CONTACT" TYPE,3 ! Make the selection Type3 (which means contact surface) NSLL,S,1 ! Select the nodes of the selected lines ESLN,S,0 ! Select the elements attached to the selected n odes ESURF ! Generate contact elements on the free surfaces of the selected elements ESEL,S,TYPE,,2 ! Select just the target line ESEL,A,TYPE,,3 ! Select the contact line and add it to the current sele ction ESEL,R,REAL,,3 ! From the selected lines, select the real constant #3 CMSEL,A,_NODECM ! Add all the nodes to the current selection CMSEL,A,_ELEMCM ! Add the contact elements to the current selection ! End Contact pair creation FINISH /SOL NSUBST,100,1000,20 OUTRES,ERASE OUTRES,ALL,ALL AUTOTS,1 NEQIT,100 TIME,1 ANTYPE,0 NLGEOM,1 SOLVE /POST1 PLNSOL,S,EQV, 0,1.0 ! Non-linear solver on

https://production.ets-hosted.cybersource.com/ets-hop/payment

Das könnte Ihnen auch gefallen