问题描述
理论模型 |
有限元模型 |
压缩后变形云图 |
采用单元包括plane182平面单元、Targe169和Conta171接触单元,读者可以自行将plane182单元换成plane183、solid185、solid186单元,或者Conta171分别换成Conta172、Cont173、Cont174单元进行尝试。分析一些这几种单元对计算收敛性的影响及结果的影响。
最终得到的力位移曲线如下,可以看到该变形过程是一个硬化的变形过程。
命令流解读
单元定义,注意u-P混合公式法的运用是具有一些其他前提条件的,比如说该方法只能用稀疏矩阵求解器或者波前求解器。
ET,1,PLANE182, , ,2 ! 2-D PLANE-STRAIN 4-NODE STRUCTURAL SOLID
KEYOPT,1,6,1 ! 打开u-P混合公式法
ET,2,TARGE169 ! 2-D TARGET ELEMENT
ET,3,CONTA171 ! 2-D CONTACT ELEMENT
KEYOPT,3,5,4
KEYOPT,3,10,1
材料定义,超弹性材料采用常用的mooney本构。
MP,EX,1,2.82 ! YOUNG'S MODULUS [MPA]
MP,NUXY,1,0.49967 ! POISSON'S RATIO
C10 = 0.293
C01 = 0.177
NU1 = 0.49967
DD = 2*(1-2*NU1)/(C10+C01)
TB,HYPER,1,1,2,MOONEY
TBDATA,1,C10,C01,DD
刚性接触面直接用TSHAP命令生成刚性线即可。
TSHAPE,LINE
完成的命令流如下,读者自取:
FINISH
/CLEAR
/PREP7
!关闭智能网格大小
VM211, RUBBER CYLINDER PRESSED BETWEEN TWO PLATES
, ,2 ! 2-D PLANE-STRAIN 4-NODE STRUCTURAL SOLID
! Mixed U-P FORMULATION
! 2-D TARGET ELEMENT
! 2-D CONTACT ELEMENT
KEYOPT,3,5,4
KEYOPT,3,10,1
! YOUNG'S MODULUS [MPA]
! POISSON'S RATIO
C10 = 0.293
C01 = 0.177
NU1 = 0.49967
DD = 2*(1-2*NU1)/(C10+C01)
TB,HYPER,1,1,2,MOONEY
TBDATA,1,C10,C01,DD
R = 200 ! RADIUS OF CYLINDER (mm)
! SWITCH TO CYLINDRICAL C.S.
! DEFINE KEYPOINTS
K,2,R,-90
K,3,R
K,4,(0.5*R),-90
K,5,(0.6*R),-45
K,6,(0.5*R)
K,7,R,-45
L,2,7
L,7,3
! SWITCH TO CARTESIAN C.S.
A,2,7,5,4
A,7,3,6,5
A,4,5,6,1
TSHAPE,LINE
K,1001,-2*R,-R
K,1002,2*R,-R
L,1002,1001
! SAVE MODEL FOR SECOND ANALYSIS
TYPE,1
! MESH ALL AREAS
REAL,2
TYPE,2
LMESH,10
LSEL,S,LINE,,1,2,1
TYPE,3
LMESH,ALL
save,cont171,db
FINI
! MACRO TO SOLVE MODEL
/SOLU
!SOLCONTROL,0
ANTYPE,STATIC
NSEL,S,LOC,X
D,ALL,UX
NSEL,S,LOC,Y
CP,1,UY,ALL
*GET,NCEN,NODE,,NUM,MIN
ALLSEL
!CNVTOL,F,,,,-1
! INCLUDE LARGE DEFORMATION EFFECTS
! SPECIFY NUMBER OF SUBSTEPS IN LOAD STEP
! WRITE SOLUTION FOR EVERY SUBSTEP
! APPLY DISPLACEMENT UY = -100 TO COUPLED NODES
!NROPT,FULL,,OFF
SOLVE
FINISH
*END
SOLV2D ! USE MACRO SOLVE2D
! MACRO FOR POST-PROCESSING
/POST1
!真实变形显示
! 变形结果和未变形结果显示
FINISH
/POST26
/AXLAB,Y,FORCE
/AXLAB,X,DISPLACEMENT
NSOL,2,NCEN,U,Y
RFORCE,3,NCEN,F,Y
PROD,2,2,,,,,,-2
PROD,3,3,,,,,,-2
XVAR,2
! PLOT DISPLACEMENT VS FORCE
! PRINT DISPLACEMENT, FORCE
!*GET,F1,VARI,3,RTIME,.5
!*GET,F2,VARI,3,RTIME,1
!*DIM,LABEL,CHAR,2,2
!*DIM,VALUE,,2,3
!LABEL(1,1) = 'F (N) @ ','F (N) @ '
!LABEL(1,2) = '.1','.2'
!*VFILL,VALUE(1,1),DATA,250,1400
!*VFILL,VALUE(1,2),DATA,F1,F2
!*VFILL,VALUE(1,3),DATA,ABS(F1/250),ABS(F2/1400)
FINISH
*END
PLOTS ! USE MACRO PLOTS
注:该案例参考来源于ANSYS帮助文件中验证案例vm211。
全文结束,感谢阅读。