本帖最后由 zilonglanbing 于 2018-3-12 21:00 编辑
# L5 R& u& p3 \8 _* ?( [5 k; W8 i4 n5 @5 Z3 K
下面这些命令流是从新浪的一个博客上复制过来的。在ansys中运行时却出现了图中提示的问题。我不知道如何修改命令流,请教一下,应该如何修改?谢谢。我刚开始学习命令流,是个菜鸟!
; a5 P% A; G, e# y- I! K' J/PREP7
) F$ _+ A" U: X4 |ET,1,BEAM188 !定义单元类型& a- H- E# Y) D+ U
MP,EX,1,2E8 !设杆的杨氏模量为G=200GPa(计算中长度单位m,力的单位kN); [" O# E! r9 a5 P7 d; {
SECTYPE,1,BEAM, CSOLID,,0 !定义截面形状,区圆形是心杆,截面积为A=3250mm2,半径为0.032m/ |* p) O7 s; j, B' G0 q
SECOFFSET,CENT, J" g+ M3 q% Z2 `/ f
SECDATA,0.032,0,0,0,0,0,0,0,0,07 E. K* \4 r; D
!建立杆的模型7 Y7 i4 F0 p' g6 z+ x1 c
K,1,0,0,0
3 Z0 H A2 ^6 w( t1 _/ o! dKGEN,4,1,,,3.60,,,2
2 D" `% m; g0 {6 Z1 @6 K# UKGEN,2,1,,,1.80,3.118,,1
8 J) m) _- w: g; _) n9 eKGEN,3,2,,,3.60,,,2
) h& c& ~4 J% `0 B; r3 Y. V7 gL,1:6,2:7& {2 N! w1 J/ b4 \* r$ K
L,1:5:2,3:7:2% t( U/ c7 s$ `# H) j
L,2:4,4:6
+ K" y; ~6 ]& y- X; y* i! m!约束点位移; s! U) `9 I+ q T, S- W
DK,1,UX,0
: f$ C' k7 j# _5 iDK,1,UY,0& z$ _; c, F# S5 J8 N
DK,1,UZ,0" z/ A4 p: |" }! k5 H- y
DK,7,UY,08 m3 S$ S$ I- m5 F: b. m
DK,7,UZ,0$ l9 D1 L% c1 l; H
!划分单元
6 W; c5 m3 ~8 }. f, X4 b% rLMESH,ALL8 c5 m* t5 j! Q; O- G/ P
!将个节点铰接& L) |3 P) C; P# Z
ENDRELEASE,,,BALL
+ I% r. x" a, N, R!施加载荷
8 R5 v$ ?- \8 o) y, ~FK,1,FY,-280
( x3 T, H9 _# N/ r: S5 j( BFK,3,FY,-2101 `# ~! w/ z+ R, P; B
FK,5,FY,-280
3 U+ Q. d3 c# HFK,7,FY,-360
! m5 w( J* m' ^!计算
0 X! q! |8 `( p2 X E/SOLU5 T# Q: S/ P" L
SOLVE- j" k1 M0 v1 n) v
!列表显示各节点位移值; c2 B2 M" H1 x: g
/post1- |+ d* e! g& [9 {; }
PRNSOL,U,COMP, U& V2 Y* X# _7 f. t" v' e8 O
8 N! @! D- n9 H* F: p& {+ Y7 o: |* ]! S" t, ?
% \* P% ]- e/ E* a. [1 y |