找回密码
 注册
Simdroid-非首页
查看: 744|回复: 24

[其他] 一个焊接例子

[复制链接]
发表于 2010-3-23 14:28:29 | 显示全部楼层 |阅读模式 来自 北京海淀
一个焊接例子,这是一本书上的!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2010-3-26 09:39:36 | 显示全部楼层 来自 四川成都
Simdroid开发平台
还要钱。呵呵,我也上传一个,免费的。
回复 不支持

使用道具 举报

发表于 2010-3-28 12:58:02 | 显示全部楼层 来自 北京
呵呵
回复 不支持

使用道具 举报

发表于 2010-4-12 17:12:27 | 显示全部楼层 来自 陕西西安
还要钱。呵呵,我也上传一个,免费的。
回复 不支持

使用道具 举报

发表于 2010-4-13 21:47:35 | 显示全部楼层 来自 江苏无锡
能用嘛?

也不说详细点
回复 不支持

使用道具 举报

发表于 2010-5-4 21:05:35 | 显示全部楼层 来自 黑龙江哈尔滨
怎么还要钱啊,呜呜。。。。
回复 不支持

使用道具 举报

发表于 2010-5-12 17:57:02 | 显示全部楼层 来自 内蒙古呼和浩特
还要钱啊,。。。。
回复 不支持

使用道具 举报

发表于 2010-6-1 13:08:01 | 显示全部楼层 来自 湖北武汉
怎么要钱啊。。
回复 不支持

使用道具 举报

发表于 2010-6-2 16:27:48 | 显示全部楼层 来自 清华大学
不厚道啊,没钱
回复 不支持

使用道具 举报

发表于 2010-6-8 15:18:38 | 显示全部楼层 来自 江苏南京
是不是,ansys热力学有限元分析指导实例的?这书我还有
回复 不支持

使用道具 举报

发表于 2010-6-9 16:39:36 | 显示全部楼层 来自 浙江宁波
支持楼主
谢谢分享
回复 不支持

使用道具 举报

发表于 2010-6-21 20:23:57 | 显示全部楼层 来自 江苏徐州
什么例子,我下来给你们。
回复 不支持

使用道具 举报

发表于 2010-6-21 20:26:09 | 显示全部楼层 来自 江苏徐州
我下下来了,不要花钱了,这个内容是:
/title,weld analysis by "element birth and death"
/prep7
/unit,si
et,1,13,4
et,2,13,4
mptemp,1,20,500,800,1200,1500
mpdate,ex,1,1,2.09e11,1.72e11,1.33e11,0.84e11,0.45e11
mpdate,ex,2,1,2.16e11,1.78e11,1.42e11,1.04e11,0.68e11
mpdate,ex,3,1,2.12e11,1.75e11,1.39e11,1.07e11,0.83e11
tb,bkin,1,5                            !以表格的方式输入经典双曲线性随动强化参数
tbtemp,20,1
tbdate,1,315e6,0.209e11
tbtemp,500,2
tbdate,1,212e6,0.172e11
tbtemp,800,3
tbdate,1,153e6,0.133e11
tbtemp,1200,4
tbdate,1,93e6,0.084e11
tbtemp,1500,5
tbdate,1,33e6,0.045e11

tb,bkin,2,5                            !材料2
tbtemp,20,1
tbdate,1,314e6,0.216e11
tbtemp,500,2
tbdate,1,203e6,0.178e11
tbtemp,800,3
tbdate,1,153e6,0.142e11
tbtemp,1200,4
tbdate,1,63e6,0.104e11
tbtemp,1500,5
tbdate,1,13e6,0.068e11

tb,bkin,3,5                            !材料3
tbtemp,20,1
tbdate,1,330e6,0.212e11
tbtemp,500,2
tbdate,1,213e6,0.175e11
tbtemp,800,3
tbdate,1,153e6,0.139e11
tbtemp,1200,4
tbdate,1,73e6,0.107e11
tbtemp,1500,5
tbdate,1,13e6,0.083e11


mp,dens,1,7850
mp,dens,2,7770
mp,dens,3,7860
mp,alpx,1,1.23e-5
mp,alpx,2,1.38e-5
mp,alpx,3,1.48e-5
mp,nuxy,1,030
mp,nuxy,2,0.29
mp,nuxy,3,0.29
mp,kxx,1,33
mp,kxx,2,32
mp,kxx,3,34
mp,c,1,561
mp,c,2,683
mp,c,3,983
mp,murx,1,1
mp,murx,2,1
mp,murx,3,1
mp,reft,1,20
mp,reft,2,1500
mp,reft,3,20
!下面将生成分析模型和网格
*afun,deg
csy,0
width=1
height=0.3
ar=0.14*tan(30)
ex=0.01*tan(60)
df=ar+ex
cf=df/cos(60)


k,1,0,0,0

k,2,width/2-0.01-ar,0,0
k,3,width/2+0.01-ar,0,0

k,4,width,0,0,
k,5,width/2-0.01,height/2-0.01,0
k,6,width/2+0.01,height/2-0.01,0
k,7,width/2-0.01,height/2+0.01,0
k,8,width/2+0.01,height/2+0.01,0
k,9,0,height,0
k,10,width/2-0.01-ar,height,0
k,11,width/2+0.01+ar,height,0
k,12,width,height,0

n,1,width/2+0.01+ar,height,0
n,2,width,height,0
n,3,width/2+0.01+ar,0,0


larc,10,11,7,cf
larc,2,3,5,cf
a,1,2,5,7,10,9
a,10,7,5,2,3,6,8,11
a,3,4,12,11,8,6

/triad,off
/plots,info,0
/devices,vector,1


esize,0.03
type,2
mat,2
amesh,2
esize,0.03
type,1
mat,1
amesh,1
mat,3
amesh,3
nummrg,all,,,,low
numcmp,all
eplot
/image,save,vmesh,bmp
/devices,vector,0
finish
!下面开始求解分析
/solu
antype,4
trnopt,full
nsel,all
*get,minx,node,,mnloc,x
nsel,s,loc,x,minx
*get,miny,node,,mnloc,y
nsel,r,loc,y,miny
d,all,uy,0

nsel,all
*get,minx,node,,minloc,x
nsel,s,loc,x,minx
d,all,temp,20
nsel,all
*get,maxx,node,,mxloc,x
nsel,s,loc,x,maxx
d,all ,temp,20


*set,nna,2
esel,all
*get,emax,elem,,num,max
asel,s,area,,nna
esla
*get,nse,elem,count
*dim,ne,,nse
*dim,n1,,nse
*dim,n2,,nse
*dim,nex,,nse
*dim,ney,,nse
*dim,neorder,,nse


ii=0
*do,i,1,emax
*if,esel(i),1,then
ii=i+1
ne(ii)=i
*endif
enddo


*do,i,1,nse
*get,ney(i),elem,ne(i),cent,y
*get,nex(i),elem,ne(i),cent,x
*enddo
!将 x型焊缝区得单元分成两部分
d=0
*do,i,1,nse
*if,ney(i),ge,height/2,then
d=d+1
n2(d)=ne(i)
*endif
*enddo

c=0
*do,i,1,nse
*if,ney(i),lt,height/2,then
c=c+1
nl(c)=ne(i)
*endif
*enddo


esel,none
*do,i,1,d
*if,n2(i),ne,0,then
esel,a,elem,,n2(i)
*endif
*enddo
eplot
!对焊缝区上的部分单元按质心y坐标排序

mine=0
*dim,ne2,,d
*dim,nex2,,d
*dim,ney2,,d
*do,il,1,d
esel,u,elem,,count
ii=0
*do,i,1,emax
*if,esel(i),eq,1,then
ii=ii+1
ne2(ii)=i
*endif
*enddo
*do,i,1,nse2
*get,ney2(i),elem,ne2(i),cent,y
*get,nex2(i),elem,ne2(i),cent,x
*enddo

miny=1e20
minx=1e20


*do,i,1,nse2
if,ney2(i),lt,miny,then
miny=ney2(i)
minx=nex2(i)
mine=ne2(i)
*else
*if,ney2(i),eq,miny,then
*if,nex2(i),lt,minx,then

miny=ney2(i)
minx=nex2(i)
mine=ne2(i)
*endif
*endif
*endif
*enddo
neorder(il)=mine
*enddo

!坐标排序  y,与上类似


maxe=0

esel,none
ii=0
*do,i,1,c
*if,n1(i),ne,0,then
esel,a,elem,,n1(i)
*endif
*enddo
eplot

*dim,nel,,c
*dim,nexl,,c
*dim,ney1,,c


*do,il,1,c
esel,u,elem,,maxe
*get,nse3,elem,,count
ii=0
*do,i,1,emax
*if,esel(i),eq,1,then
ii=ii+1
nel(ii)=i
*endif
*enddo


*do,i,1,nse3
*get,neyl(i),elem,nel(i),cent,y
*get,neyl(i),elem,nel(i),cent,x
*enddo

maxy=-1e10
maxx=-1e10
*do,i,1,nse3
*if,neyl(i),gt,maxy,then
maxy=neyl(i)
maxx=nexl(i)
maxe=nel(i)
*else
*if,neyl(i),eq,maxy,then
!428

*if,nex(i),lt,maxx,then
maxy=neyl(i)
maxx=nexl(i)
maxe=nel(i)
*endif
*endif
*endif
*enddo
neorder(il+d)=maxe
*enddo


max_tem=1500
dtl=1e-3
dt=5
t=0
esel,all
eplot
/auto,1
/replot
*do,i,1,nse
ekill,neorder(i)
esel,s,live
eplot
*enddo
allsel,all
outres,all,all
ic,all,temp,20
kbc,1
timint,0,struct
timint,1,therm
timint,0,mag
tintp,0.005,,,1,0.5,0.2


nsub1=2
nsub2=40
*do,i,1,nse
ealive,neorder(i)
esel,s,live
eplot
esel,all
t=t+dtl
time,t
nsubst,1
*do,j,1,4
d,nelem( neorder(i),j),temp,max_tem
*enddo
solve
t=t+dtl
time,t
solve
*do,j,1,4
ddele,nelem(neorder(i),j),temp
*enddo
t=t+dt-2*dtl
time,t
nsubst,nsub1
solve
*enddo
t=t+50000
time,t
nsubst,nsub2
solve
finish


/post26
nsol,2,379,temp,temp379
/gropt,axnsc,1.5
plvar,2
/image,save,temp379,bmp
finish

/post1
/seg,dele
/cont,1,15,0,1200e6/16,1200e6
/dscale,1,1.0
avprin,0,0
avres,1
/seg,multi,stress,0.1
esel,all
*do,i,1,nse
esel,u,elem,,neorder(i)
*enddo
*do,i,1,nse
esel,u,elem,,neorder(i)
*enddo
*do,i,1,nse
esel,a,elem,,neorder(i)
set,(i-1)*3+1,1
plnsol,s,eqv
*do,j,1,nsub1
set,(i-1)*3+3,j
plnsol,s,eqv
*enddo
*enddo
*do,i,1,nsub2
set,(nse-1)*3+4,i
plnsol,s,eqv
*enddo
!430


/seg,off,stress,0.1
/image,save,stress,bmp
finish

/post1
/seg,dele
/cont,1,15,0,1500/16,1500
/dscale,1,1.0
avprin,0,0
avres,1
/seg,multi,temp,0.1
esel,all
*do,i,1,nse
esel,u,elem,neorder(i)
*enddo

*do,i,1,nse
esel,a,elem,,neorder(i)
set,(i-1)*3+1,1
plnsol,temp
*do,i,1,nsub1
set,(i-1)*3+3,j
plnsol,temp
*enddo
*enddo
!/image,save,tem1,bmp
*do,i,1,nsub2
set,(nse-1)*3+4,i
plnsol,temp
*enddo
/seg,off,temp,0.1
anim,1,1
!现实路径结果
set,last
csys,0
path,xdirection,2,10
ppath,1,1
ppath,2,2
pdef,,s,eqv
/gropt,axnsc,1.5,
plpath,seqv
/image,save,xpath,bmp

path,ydirection,2,10
ppath,1,1
ppath,2,3
pdef,,s,eqv
/gropt,axnsc,1.5,
plpath,seqv
回复 不支持

使用道具 举报

发表于 2010-6-21 20:28:41 | 显示全部楼层 来自 江苏徐州
element birth and death

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

发表于 2010-11-6 17:13:16 | 显示全部楼层 来自 江苏无锡
14# chutianyao

楼上比较有意思,呵呵,不过这个例子也就是很一般的,但是毕竟有单元生死的,下载下来参看下,谢谢楼上
回复 不支持

使用道具 举报

发表于 2011-5-31 12:51:08 | 显示全部楼层 来自 山东青岛
14# chutianyao  

楼上比较有意思,呵呵,不过这个例子也就是很一般的,但是毕竟有单元生死的,下载下来参看下,谢谢楼上
ly030604 发表于 2010-11-6 17:13

甚是赞同!
回复 不支持

使用道具 举报

发表于 2011-6-8 15:13:37 | 显示全部楼层 来自 山东青岛
应该是很老的一个例子了,参考书上有这个例子,原来ansys8.0时,该例子有控制单元的生死,到了ansys12后,就没有单元的生死了,没记错的话,好像是用新单元了,应该是现在的单元比原来要强大很多了。
回复 不支持

使用道具 举报

发表于 2011-8-18 17:56:57 | 显示全部楼层 来自 广东广州
谢谢13楼,不过在ansys12.0中用的话,怎么老是弹出错误窗口
回复 不支持

使用道具 举报

发表于 2011-8-19 06:18:30 | 显示全部楼层 来自 湖南衡阳
怎么要钱啊。。
回复 不支持

使用道具 举报

发表于 2011-11-7 10:01:44 | 显示全部楼层 来自 吉林长春
还是很多东西不懂啊
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-6-1 21:30 , Processed in 0.058743 second(s), 14 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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