/title, Sample input for generating general axisymmetric solid elements
/prep7
!
et,1,272,,12 !define general axisymmetric SOLID272 with 12 nodes along circumferential direction
et,2,272,,12
!
sect,1,axis !define general axisymmetric section
secd,2,0,2 !use pattern 2 with global cartesian coordinate system (0)and y as axis of symmetry (2)
!
mp,ex,1,2.0e5 !define elastic material properties
mp,nuxy,1,0.3
!
!
! Create 2D geometry of thread connection (bolt/nut)
!
k,1,1.0,0
k,2,4.0,0
k,3,4,1.5
k,4,5.0,2.5
k,5,5.0,3.5
k,6,4.0,4.5
k,7,4.0,5.5
k,8,5.0,6.5
k,9,5.0,7.5
k,10,4.0,8.5
k,11,4.0,10
k,12,1.0,10
k,13,7.0,0
k,14,7.0,10
!
k,15,4.0,0
k,16,4,1.5
k,17,5.0,2.5
k,18,5.0,3.5
k,19,4.0,4.5
k,20,4.0,5.5
k,21,5.0,6.5
k,22,5.0,7.5
k,23,4.0,8.5
k,24,4.0,10
!
a,1,2,3,4,5,6,7,8,9,10,11,12
a,15,16,17,18,19,20,21,22,23,24,14,13
!
!
!Mesh 2D geometry
!
esize,0.5
type,1 !use type 1 for bolt component
mat,1
secn,1 !use general axisymmetric section
amesh,1 !generate the master plane nodes and elements for bolt component
!
esize,1 !use different mesh
type,2 !use type 2 for nut component
mat,1
secn,1 !use general axisymmetric section
amesh,2 !generate the master plane nodes and elements for nut component
!
/PNUM,TYPE,1 !display element type numbers
/NUMBER,1 !numbering shown with colors only
eplot !visualise the 2D model
!
!
!Generate full 3D axisymmetric model of bolt and nut using 12 planes
!
naxis
!
/view,1,1,1,1 !isometric view
!
nplot !display the 12 nodal planes along circumferential direction
!
/eshape,1 !display elements with general axisymmetric shape
!
esel,s,type,,1 !display 3D axisymmetric model of bolt
eplot
!
esel,s,type,,2 !display 3D axisymmetric model of nut
eplot
!
esel,all
!
eplot !display full 3D axisymmetric model of bolt and nut
!
fini
以上命令流完全拷贝自ANSYS文档,help文档结果是:48个扇形
![【已完结】效果出不来啊]()
而我的ANSYS14.5结果是:24个扇形
![【已完结】效果出不来啊-1]()
[ Last edited by 1592203609 on 2014-6-6 at 20:34 ] |