再附上他的命令流TXT ,
new
title 两点荷载简支梁
sel beam id=1 begin 0 0 0 end 3 0 0 nseg 3
sel beam id=1 begin 3 0 0 end 6 0 0 nseg 4
sel beam id=1 begin 6 0 0 end 9 0 0 nseg 3
sel beam id=1 prop emod 2e11 nu 0.3 xcarea 6e-3 xcj 0 xciy 200e-6 xciz 200e-6
sel node fix z xr yr
sel node fix y range id=1 any id=9 any
sel node apply force 0 -1e4 0 range id=2 any id=5 any
hist id=10 sel node ydisp id=7
hist id=30 sel beamsel moment mz end2 cid=1
hist id=31 sel beamsel moment mz end1 cid=2
plot create geomdisp
plot set title text 模型几何形状
plot set cap size 25
plot set rot 90 0 0
plot add sel geom black black
plot add axes yellow
plot add sel disp blue
plot show
plot create shearforce
plot set title text 剪力图
plot set cap size 25
plot set rot 90 0 0
plot add sel geom black black node=off
plot add axes yellow
plot add sel beam force fy scale=0.06
plot show
plot create moment1
plot set title text 弯矩图
plot set cap size 25
plot set rot 90 0 0
plot add sel geom black black node=off
plot add sel beam moment mz scale=0.06
plot add axes yellow
plot show
plot create momentat
plot set title text
X=1处的弯矩计算痕迹
plot set cap size 25
plot add hist 30 31
plot show
solve ratio=1e-7
print sel beam force
print sel beam moment
print sel node disp range id=7
save beam0.sav
return