|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
就ANSYS子结构分析一个简单例子中的一些问题向各位请教(问题夹在程序中)
这个例子是网上下载的
! Bottom-Up Substructuring
! GENERATION PASS - Build the superelement portion of the model
FINISH
/CLEAR, START
/FILNAME,GEN ! Change jobname
/PREP7
! Create Geometry
blc4,0,40,100,100 ! Creates rectangle
! Define material properties of wood section
ET,1,PLANE42 ! Element type
MP,EX,1, 10000 ! Young's Modulus
MP,PRXY,1,0.29 ! Poisson's ratio
! meshing
AESIZE,1,10, ! Element size
amesh,1 ! Mesh area
FINISH
/SOLU
ANTYPE,SUBST ! SUBSTRUCTURE GENERATION PASS
SEOPT,GEN,,2 ! Name = GEN and no printed output
NSEL,S,EXT ! Select all external nodes
M,ALL,ALL ! Make all selected nodes master DOF's
NSEL,ALL ! Reselect all nodes
NSEL,S,LOC,Y,140 ! Select the corner node
NSEL,R,LOC,X,0
F,ALL,FX,5 ! Load it
NSEL,ALL ! Reselect all nodes
SAVE ! Saves file to jobname.db
SOLVE ! GEN.SUB created
FINISH
! USE PASS
FINISH
/CLEAR
/FILNAME,USE ! Change jobname to use
/PREP7
! Create Geometry of non superelements
blc4,0,0,100,40 ! Creates rectangle
! Define material properties
ET,2,PLANE42 ! Element type
TYPE,2 ! Turns on element type 2
MP,EX,2, 2.5 ! Second material property set for silicon
MP,PRXY,2,0.41
! Meshing
AESIZE,1,10, ! Element size
mat,2 ! Turns on Material 2
real,2 ! Turns on real constants 2
amesh,1 ! Mesh the area
! Superelement
ET,1,MATRIX50 ! MATRIX50 is the superelement type
TYPE,1 ! Turns on element type 1
*GET,MaxNode,NODE,,NUM,MAX ! determine the max number of nodes
SETRAN,GEN,,MaxNode,GEN2 ! node number offset
SE,GEN2 ! Read in superelement matrix
NSEL,S,LOC,Y,40 ! Select nodes at interface
CPINTF,ALL ! Couple node pairs at interface
NSEL,ALL
FINISH
/SOLU
ANTYPE,STATIC ! Static analysis
NSEL,S,LOC,Y,0 ! Select all nodes at y = 0
D,ALL,ALL,0 ! Constrain those nodes
NSEL,ALL ! Reselect all nodes
ESEL,S,TYPE,,1 ! Element select
SFE,ALL,1,SELV,,1 ! Apply super-element load vector
问题1:这两个命令是施加作用于超单元上的荷载吧,我有两个疑问,一是在前面施加了集中荷载,然后save了,那这个作用于超单元上的荷载应该保存了,在se, GEN时就应该一起读入了啊?我是这么人为地;二是假如说我的超单元上没有施加外部荷载,外部荷载是作用于非超单元上,那就不用这两个命令了吧?
ESEL,ALL ! Reselect all elements
SAVE
SOLVE
FINISH
/POST1 ! Enter post processing
PLNSOL,U,SUM,0,1 ! Plot deflection contour
FINISH
! EXPANSION PASS
/CLEAR ! Clear database
/FILNAME,GEN ! Change jobname back to generation pass jobname
RESUME ! Restore generation pass database
/SOLU ! Enter SOLUTION
EXPASS,ON,YES ! Activate expansion pass
SEEXP,GEN2,USE ! Superelement name to be expanded
问题2:这个命令的确切含义是什么?我有点疑惑,是将USE阶段的计算结果(文件)赋予GEN结果(文件)还是怎样的?就是不清楚这个原理。
EXPSOL,1,1, ! Expansion pass info
SOLVE ! Initiate expansion pass solution. Full superelement sol
FINISH
/POST1
PLNSOL,U,SUM,0,1 ! Plot deflection contour
|
|