24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 6008  |  回复: 2

ee522522

新虫 (初入文坛)

[求助] 帮忙啊specified range of 0 to 0 is not permitted. the esel command is ignored!

/clear,start
/filename,weld
/title,weld Analysis by "Element Birth and Death"
/prep7
/unit,si!采用国际单位制

et,1,13,4!13号二维耦合单元,同时具有温度和位移自由度
et,2,13,4
!
mp,ex,1,2.3e11
mp,ex,2,2.05e11
!
tb,bkin,1,5
tbtemp,20,1
tbdata,1,2800e6,9.055e10
tbtemp,300,1
tbdata,1,2800e6,9.055e10
tbtemp,600,1
tbdata,1,2800e6,9.055e10
tbtemp,900,1
tbdata,1,2800e6,9.055e10
tbtemp,1200,1
tbdata,1,2800e6,9.055e10
!
tb,bkin,2,5
tbtemp,20,1
tbdata,1,335e6,8.2e10
tbtemp,300,1
tbdata,1,335e6,8.2e10
tbtemp,600,1
tbdata,1,335e6,8.2e10
tbtemp,900,1
tbdata,1,335e6,8.2e10
tbtemp,1200,1
tbdata,1,335e6,8.2e10
!
!材料密度
mptemp,1,20,300,600,900,1200
mpdata,dens,1,1,7700,7700,7700,7700,7700
mpdata,dens,2,1,7800,7800,7800,7800,7800
!热膨胀系数
mptemp,1,20,300,600,900,1200
mpdata,alpx,1,1,1.2e-5,1.2e-5,1.2e-5,1.2e-5,1.2e-5
mpdata,alpx,2,1,1.159e-5,1.31e-5,1.467e-5,1.65e-5,1.70e-5
!泊松比
mptemp,1,20,300,600,900,1200
mpdata,nuxy,1,1,0.27,0.27,0.27,0.27,0.27
mpdata,nuxy,2,1,0.25,0.25,0.25,0.25,0.25
!热传导系数
mptemp,1,20,300,600,900,1200
mpdata,kxx,1,1,7.23,7.23,10.5,13.8,17
mpdata,kxx,2,1,50.2,50.2,50.2,50.2,50.2
!比热
mptemp,1,20,300,600,755,1000
mpdata,c,1,1,3.73,3.73,3.73,3.73,3.73
mpdata,c,2,1,480,524,700,1064,602
!由于该13号单元有磁自由度,此处假设一个磁特性,但并不影响我们关心的结果
mptemp,1,20,300,600,900,1200
mpdata,murx,1,1,1,1,1,1,1
mpdata,murx,2,1,1,1,1,1,1
!假设涂层的初始温度为1000
mp,reft,1,20
mp,reft,2,1000
mp,reft,3,20
!
!下面建立几何模型
csys,0
k,1,0,0,0
k,2,0.06,0,0
k,3,0.06,0.005,0
k,4,0,0.005,0
k,5,0,0.010,0
k,6,0.06,0.010,0
a,1,2,3,4
a,3,4,5,6
!划分单元
esize,0.0005
type,2
mat,2
MSHAPE,0,2D
mshkey,1
amesh,1
esize,0.00005
type,1
mat,1
amesh,2
eplot
!
/solu
antype,4
trnopt,full
!
!在模型下面施加位移约束
nesl,all
*get,miny,node,,mnloc,y
nsel,s,loc,y,miny
d,all,uy,0
!
!假设模型的下边界温度始终为20
nsel,all
*get,miny,node,,mnloc,y
nsel,s,loc,y,miny
d,all,temp,20
!
!杀死涂层区域单元
nna=2
esel,all
*get,emax,elem,,num,max
asel,s,area,,nna
esla
*get,nse,elem,,count
*dim,ne,,nse
*dim,nex,,nse
*dim,ney,,nse
*dim,neorder,,nse
mine=0
!下面的do循环用于将涂层区域的单元按其形心Y坐标排序
!模拟涂层由下向上“生长”的过程
*do,i1,1,nse
esel,u,elem,,mine !此句有问题?
*get,nse1,elem,,count
ii=0
*do,i,1,emax
*if,esel(i),eq,1,then
ii=ii+1
ne(ii)=i
*endif
*enddo
*do,i,1,nse1
*get,ney(i),elem,ne(i),cent,y
*get,nex(i),elem,ne(i),cent,x
*enddo
miny=1e20
minx=1e20
*do,i,1,nse1
*if,ney(i),lt,miny,then
miny=ney(i)
minx=nex(i)
mine=ne(i)
*else
*if,ney(i),eq,miny,then
*if,nex(i),lt,minx,then
miny=ney(i)
minx=nex(i)
mine=ne(i)
*endif
*endif
*endif
*enddo
neorder(i1)=mine
*enddo
!
max_tem=1000
dtl=1e-3
dt=8.33*20e-8
t=0
esel,all
eplot
/auto,1
/replot
*do,i,1,nse
ekill,neorder(i)
esel,s,live
eplot
*enddo
allsel,all
outress,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

[ Last edited by ee522522 on 2013-11-8 at 10:27 ]
回复此楼

» 猜你喜欢

» 本主题相关商家推荐: (我也要在这里推广)

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

张大侠要学习

新虫 (初入文坛)

同问,怎么没有人回答
2楼2015-05-10 16:11:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

1156404896

新虫 (初入文坛)

我也遇到了这样的问题,请问你解决了吗
3楼2018-04-09 09:29:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 ee522522 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 考研调剂 +4 小sun要好运 2026-04-03 4/200 2026-04-03 17:45 by Mistake-J
[考研] 321求调剂 +17 y-yh 2026-04-01 20/1000 2026-04-03 12:57 by y-yh
[考研] 建环,能源,土木老师路过看一看!!! +5 嘿嘿uu 2026-04-01 5/250 2026-04-03 11:47 by znian
[考研] 289求调剂 +4 Acesczlo 2026-03-29 5/250 2026-04-03 10:09 by 不168
[考研] 材料调剂 +4 一样YWY 2026-04-03 4/200 2026-04-03 09:48 by 蓝云思雨
[考研] 302求调剂一志愿华中师范大学 +7 小江小江江江 2026-04-02 7/350 2026-04-02 21:48 by macy2011
[考研] 考研调剂 +3 李木子0120 2026-04-02 5/250 2026-04-02 21:45 by dongzh2009
[考研] 材料340分调剂 +7 夏夜晚风_long 2026-04-02 9/450 2026-04-02 21:20 by dongzh2009
[考研] 318求调剂 +3 笃行致远. 2026-03-31 4/200 2026-04-02 15:56 by Jaylen.
[考研] 348求调剂 +6 吴彦祖24k 2026-04-02 6/300 2026-04-02 14:07 by 给你你注意休息
[考研] 286分调剂 +20 Faune 2026-03-30 22/1100 2026-04-02 13:24 by clyblh
[考研] 各位老师好,我的一志愿为北京科技大学085601材料专硕 +13 Koxui 2026-03-28 13/650 2026-04-02 09:35 by 哒哒哒呱呱呱
[考研] 材料调剂 +12 一样YWY 2026-04-01 12/600 2026-04-02 00:21 by 百秒光年
[考研] 一志愿北交材料工程总分358 +5 cs0106 2026-04-01 7/350 2026-04-01 11:45 by wangjy2002
[考研] 一志愿华南师范361分,化学求调剂 +4 Nicole88888 2026-04-01 4/200 2026-04-01 10:08 by 唐沐儿
[考研] 0710生物学求调剂! +6 叙述文 2026-03-31 6/300 2026-04-01 09:39 by JourneyLucky
[考研] 土木304求调剂 +5 顶级擦擦 2026-03-31 5/250 2026-04-01 08:15 by fdcxdystjk¥
[考研] 323分 食品与营养调剂 +3 嘿ooo 2026-03-31 3/150 2026-03-31 09:38 by longlotian
[考研] 08工科求调剂286 +5 tgs_001 2026-03-28 5/250 2026-03-31 08:18 by 一只好果子?
[考研] 370求调剂 +3 080700调剂 2026-03-30 3/150 2026-03-31 01:09 by A_Zhe
信息提示
请填处理意见