声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2400|回复: 6

[前后处理] 如何在多载荷步中导出一些计算结果

[复制链接]
发表于 2007-1-24 00:03 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
比如在一个多载荷步计算中,每个子步都通过计算得出一个A,A非应力应变等在后处理能够直接得到的数据,如果想在每次载荷步计算后都输出A,要怎么办才行?望高手指教
回复
分享到:

使用道具 举报

发表于 2007-1-25 20:35 | 显示全部楼层
用命令流应该可以吧
发表于 2007-1-26 10:38 | 显示全部楼层
原帖由 realyyy 于 2007-1-25 20:35 发表
用命令流应该可以吧


转一段程序:
/post1file,'ppp01','rst',
set,1,1    载荷步1
lcdef,1,1,1,lcwrite,1,result1,, !写出load case文件到工作目录
reset
 楼主| 发表于 2007-1-29 12:42 | 显示全部楼层
感谢楼上的朋友
发表于 2007-3-23 14:57 | 显示全部楼层
3楼能否给出全部命令流?
我正愁这事情呢
看看吧
SET命令根本不好使
/prep7
/title,the ansys of kongxinban bridge
qmpz=2*0.08625*3.5*23000
rxdlg=8000
g1=(2*8000+qmpz)/9
jfarea=0.01*0.6
g2=jfarea*24000
kxbarea=0.3123
g3=kxbarea*25000
g=g1+g2+g3
et,1,solid45
et,2,solid45
et,3,82
mp,dens,1,2400
mp,ex,1,3e10
mp,prxy,1,0.1667
mp,dens,2,0.1*g/(kxbarea+jfarea)
mp.ex,2,3.3e10
mp,ex,2,3.3e10
mp,prxy,2,0.1667
k,1,0.99,0,0
k,2,1,0,0
k,3,1,0.6,0
k,4,0.99,0.6,0
a,1,2,3,4
rectng,0,0.99,0,0.6
cyl4,0.27,0.26,0.19,-180
cyl4,0.27,0.34,0.19,180
rectng,0.08,0.46,0.26,0.34
agen,2,3,5,1,0.45,0,0,100
asel,s,,,3,8,1
cm,ar,area
allsel
asba,2,ar
sllsel
allsel
vext,1,9,8,0,0,12.6
vatt,2,2,2
allsel
vsel,s,loc,x,0.99,1
vatt,1,1,1
wpave,0,0,2.54
vsbw,all
wpave,0,0,6.54
vsbw,all
wpave,0,0,7.94
vsbw,all
vsel
vsel,all
wpave,0,0,3.1
vsbw,all
wpave,0,0,4.3
vsbw,all
wpave,0,0,8.3
vsbw,all
wpave,0,0,9.5
vsbw,all
vsel,all
wpave,0,0,6.3
vsbw,all
vsel,all
vglue,all
vsel,2
vsel,13,14,1
asel,s,loc,z,0
asel,r,loc,x,0,1
esize,0.05
amesh,all
esize,0.5
vsweep,all
vgen,9,all,,,1,0,0,1000
allsel
nummrg,all
numcmp,all
!进行约束
nsel,s,loc,z,0
nsel,r,loc,y,o
d,all,all
nsel,r,loc,y,0
nsel,s,loc,z,0
nsel,r,loc,y,0
d,all,all
allsel
nsel,s,loc,z,12.6
nsel,r,loc,y,0
d,all,ux,,,,,uy
allsel
/solu

!工况1恒载(二期恒载)即自重
allsel
acel,,10
solve


!挂车100偏载(纵向最不利布载)+人群荷载
allsel
acel,,,
fdele,all,all
nsel,s,loc,2
nsel,s,loc,x,2
nsel,r,loc,y,0.6
nsel,r,loc,z,3.1
f,all,fy,-62500
allsel
nsel,s,loc,2.9
nsel,s,loc,x,2.9
nsel,r,loc,y,0.6
nsel,r,loc,z,3.1
f,all,fy,-62500
allsel
nsel,s,loc,x,3.8
nsel,r,loc,y,0.6
nsel,r,loc,z,3.1
f,all,fy,-62500
allsel
nsel,s,loc,x,4.7
nsel,r,loc,y,0.6
nsel,r,loc,z,3.1
f,all,fy,-62500
allsel
!4.3m处
nsel,s,loc,2
nsel,s,loc,x,2
nsel,r,loc,y,0.6
nsel,r,loc,z,4.3
f,all,fy,-62500
allsel
nsel,s,loc,2.9
nsel,s,loc,x,2.9
nsel,r,loc,y,0.6
nsel,r,loc,z,4.3
f,all,fy,-62500
allsel
nsel,s,loc,x,3.8
nsel,r,loc,y,0.6
nsel,r,loc,z,4.3
f,all,fy,-62500
allsel
nsel,s,loc,x,4.7
nsel,r,loc,y,0.6
nsel,r,loc,z,4.3
f,all,fy,-62500
allsel
!8.3m处
nsel,s,loc,2
nsel,s,loc,x,2
nsel,r,loc,y,0.6
nsel,r,loc,z,8.3
f,all,fy,-62500
allsel
nsel,s,loc,2.9
nsel,s,loc,x,2.9
nsel,r,loc,y,0.6
nsel,r,loc,z,8.3
f,all,fy,-62500
allsel
nsel,s,loc,x,3.8
nsel,r,loc,y,0.6
nsel,r,loc,z,8.3
f,all,fy,-62500
allsel
nsel,s,loc,x,4.7
nsel,r,loc,y,0.6
nsel,r,loc,z,8.3
f,all,fy,-62500
allsel
!9.5m处
nsel,s,loc,2
nsel,s,loc,x,2
nsel,r,loc,y,0.6
nsel,r,loc,z,9.5
f,all,fy,-62500
allsel
nsel,s,loc,2.9
nsel,s,loc,x,2.9
nsel,r,loc,y,0.6
nsel,r,loc,z,9.5
f,all,fy,-62500
allsel
nsel,s,loc,x,3.8
nsel,r,loc,y,0.6
nsel,r,loc,z,9.5
f,all,fy,-62500
allsel
nsel,s,loc,x,4.7
nsel,r,loc,y,0.6
nsel,r,loc,z,9.5
f,all,fy,-62500
allsel
solve

!工况3挂车100中载(纵向最不利于位置)
allsel

fdele,all,all
acel,,,

nsel,s,loc,x,3.10
nsel,r,loc,y,0.6
nsel,r,loc,z,3.1
f,all,fy,-62500
allsel

nsel,s,loc,x,4.00
nsel,r,loc,y,0.6
nsel,r,loc,z,3.1
f,all,fy,-62500
allsel
nsel,s,loc,x,4.90
nsel,r,loc,y,0.6
nsel,r,loc,z,3.1
f,all,fy,-62500
allsel
nsel,s,loc,x,5.80
nsel,r,loc,y,0.6
nsel,r,loc,z,3.1
f,all,fy,-62500
allsel
!4.3m处
nsel,s,loc,x,3.10
nsel,r,loc,y,0.6
nsel,r,loc,z,4.3
f,all,fy,-62500
allsel

nsel,s,loc,x,4.00
nsel,r,loc,y,0.6
nsel,r,loc,z,4.3
f,all,fy,-62500
allsel
nsel,s,loc,x,4.90
nsel,r,loc,y,0.6
nsel,r,loc,z,4.3
f,all,fy,-62500
allsel
nsel,s,loc,x,5.80
nsel,r,loc,y,0.6
nsel,r,loc,z,4.3
f,all,fy,-62500
allsel
!8.3m处
nsel,s,loc,x,3.10
nsel,r,loc,y,0.6
nsel,r,loc,z,8.3
f,all,fy,-62500
allsel

nsel,s,loc,x,4.00
nsel,r,loc,y,0.6
nsel,r,loc,z,8.3
f,all,fy,-62500
allsel
nsel,s,loc,x,4.90
nsel,r,loc,y,0.6
nsel,r,loc,z,8.3
f,all,fy,-62500
allsel
nsel,s,loc,x,5.80
nsel,r,loc,y,0.6
nsel,r,loc,z,8.3
f,all,fy,-62500
allsel
!9.5m处
nsel,s,loc,x,3.10
nsel,r,loc,y,0.6
nsel,r,loc,z,9.5
f,all,fy,-62500
allsel

nsel,s,loc,x,4.00
nsel,r,loc,y,0.6
nsel,r,loc,z,9.5
f,all,fy,-62500
allsel
nsel,s,loc,x,4.90
nsel,r,loc,y,0.6
nsel,r,loc,z,9.5
f,all,fy,-62500
allsel
nsel,s,loc,x,5.80
nsel,r,loc,y,0.6
nsel,r,loc,z,9.5
f,all,fy,-62500
allsel
solve

!工况4人群荷载
!人行道人群布载4000n/m
allsel
adele,all,all
asel,s,loc,x,0,1
asel,r,loc,y,0.6
sfa,all,,pres,4000
allsel
asel,s,loc,x,8,9
asel,r,loc,y,0.6
sfa,all,,pres,4000
allsel
solve

/post1
lcdef,5,1
lcdef,6,2

lcdef,7,3
lcdef,8,4
lcfact,5,1.2
lcfact,6,1.1
lcfact,7,1.1
lcfact,8,1.4
lcase,5
lcoper,add,6
lcwrite,10
set,10
发表于 2007-5-12 00:11 | 显示全部楼层

我也遇到了同样的问题,。。。。。。

希望大家给予帮助~~
发表于 2007-5-13 12:31 | 显示全部楼层
这个是不是需要自己手动设置一下时间步
如 time,1再求解
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-12-1 08:39 , Processed in 0.068114 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表