我把命令流贴出来!
/filename,ladle_mo_5
/title,ladle_mo_5
/prep7
!/UNITS,user,0.001,1,1,1,273 !用户自定义单位mm,kg,s,k,与绝对零度偏移为273
!包壁尺寸
r=1900
h=2493
th1=170
th2=75
th3=32
th4=36
h_1=800
h_2=800
!包底尺寸
h1=230
h2=130
h3=32
h4=75
!透气砖1尺寸(定位)
tou_posx=1200
tou_posy=0
tou_block=360
!透气砖2尺寸(定位)
tou_posx1=-1200
tou_posy1=0
!冲击块
chong_wide=800
chong_length=1600
distx=0
disty=800
!水口尺寸(定位)
water_posx=-318
water_posy=-1379
water_block=510
!wpcsys,-1,0 !在当前坐标系定义工作平面,如果WN(-1)为负值,表示视图方向不变
!指定单元
et,1,plane55
et,2,solid70
!定义材料
!model5
!包底工作层(刚玉质浇注料)
mptemp,1,20,400,800,1200
mpdata,kxx,1,1,1.8*1000,2.46*1000,3.08*1000,3.6*1000
mp,c,1,1.13e7
mp,alpx,1,8.8e-6*273
mp,dens,1,3.1e-9
mp,ex,1,5.7e6
mp,nuxy,1,0.21
!包底第一永久层(微膨胀高铝砖)
mp,kxx,2,0.5*1000
mpdata,c,2,1,0.61e7,0.75e7,1.175e7,1.32e7
mp,alpx,2,5.8e-6*273
mp,dens,2,2.8e-9
mp,ex,2,5.7e6
mp,nuxy,2,0.21
!包底第二永久层(微膨胀高铝砖)
mp,kxx,3,0.5*1000
mpdata,c,3,1,0.61e7,0.75e7,1.175e7,1.32e7
mp,alpx,3,5.8e-6*273
mp,dens,3,2.8e-9
mp,ex,3,5.7e6
mp,nuxy,3,0.21
!包壁工作层(铝镁碳质)
mp,kxx,4,1.15*1000
mpdata,c,4,1,0.8e7,0.9e7,1.02e7,1.2e7
mp,alpx,4,8.5e-6*273
mp,dens,4,2.95e-9
mp,ex,4,6.3e6
mp,nuxy,4,0.21
!包壁第一永久层(微膨胀高铝砖)
mp,kxx,5,0.5*1000
mpdata,c,5,1,0.61e7,0.75e7,1.175e7,1.32e7
mp,alpx,5,5.8e-6*273
mp,dens,5,2.8e-9
mp,ex,5,5.7e6
mp,nuxy,5,0.21
!包壁第二永久层(微膨胀高铝砖)
mp,kxx,6,0.5*1000
mpdata,c,6,1,0.61e7,0.75e7,1.175e7,1.32e7
mp,alpx,6,5.8e-6*273
mp,dens,6,2.8e-9
mp,ex,6,5.7e6
mp,nuxy,6,0.21
!透气砖
mpdata,kxx,7,1,1.67*1000,1.78*1000,1.82*1000,2.1*1000
mp,c,7,1.13e7
mp,alpx,7,5e-6*273
mp,dens,7,3e-9
mp,ex,7,6.2e6
mp,nuxy,7,0.22
!水口砖
mpdata,kxx,8,1,1.8*1000,2.13*1000,2.56*1000,2.98*1000
mp,c,8,1.13e7
mp,alpx,8,5e-6*273
mp,dens,8,3e-9
mp,ex,8,6.2e6
mp,nuxy,8,0.22
!冲击块(刚玉质预制块)
mpdata,kxx,9,1,1.8*1000,2.46*1000,3.08*1000,3.6*1000
mp,c,9,1.13e7
mp,alpx,9,8.8e-6*273
mp,dens,9,3.1e-9
mp,ex,9,5.7e6
mp,nuxy,9,0.21
!钢壳
mpdata,kxx,10,1,50*1000,39*1000,30*1000,18*1000
mpdata,c,10,1,0.4e7,0.42e7,0.51e7,0.6e7
mp,alpx,10,13e-6*273
mp,dens,10,7.8e-9
mp,ex,10,175e6
mp,nuxy,10,0.3
!渣线层(镁碳砖)
mpdata,kxx,11,1,2.35*1000,2.1*1000,1.75*1000,1.55*1000
mp,c,11,1.08e7
mp,alpx,11,15e-6*273
mp,dens,11,2.9e-9
mp,ex,11,8e6
mp,nuxy,11,0.21
/nerr,0
!绘制包底
!第一层
pcirc,r
cm,di1,area !将选择的实体生成一个元件
cmsel,none
rectang,tou_posx-tou_block/2,tou_posx+tou_block/2,tou_posy-tou_block/2,tou_posy+tou_block/2
rectang,tou_posx1-tou_block/2,tou_posx1+tou_block/2,tou_posy1-tou_block/2,tou_posy1+tou_block/2
rectang,water_posx-water_block/2,water_posx+water_block/2,water_posy-water_block/2,water_posy+water_block/2
cm,hole1,area
cmsel,a,di1
asba,di1,hole1,,dele,dele
cm,di_sub_hole,area !减去透气,水口后的底
!冲击块
cmsel,none
cyl4,0,0,0,0,600,90
cm,temp_area1,area
cmsel,none
rectang,475,600,0,600
cm,temp_area2,area
cmsel,a,temp_area1
asba,temp_area1,temp_area2,,dele,dele
cm,chong_temp1,area
arsym,x,chong_temp1 !对面chong_temp1进行x轴镜像
aadd,all !面相加,chong_temp1已经删掉
cm,chong_temp2,area
arsym,y,chong_temp2
aadd,all
cm,chongji1_area,area
agen,,chongji1_area,,,distx,disty,,,,1 !平移chong_temp3
cmsel,a,di_sub_hole
asba,di_sub_hole,chongji1_area,,dele,keep
cmsel,u,chongji1_area
cm,di_sub_hole1,area
cmsel,none
pcirc,r,r+th1
cm,bi11,area
cmsel,none
pcirc,r+th1,r+th1+th2
cm,bi21,area
cmsel,none
pcirc,r+th1+th2,r+th1+th2+th3
cm,bi31,area
cmsel,none
pcirc,r+th1+th2+th3,r+th1+th2+th3+th4
cm,bi41,area
cmsel,none
!水口砖和透气砖
rectang,tou_posx-tou_block/2,tou_posx+tou_block/2,tou_posy-tou_block/2,tou_posy+tou_block/2
cm,touqi11_area,area
cmsel,none
rectang,tou_posx1-tou_block/2,tou_posx1+tou_block/2,tou_posy1-tou_block/2,tou_posy1+tou_block/2
cm,touqi12_area,area
cmsel,none
rectang, water_posx-water_block/2,water_posx+water_block/2,water_posy-water_block/2,water_posy+water_block/2
cm,water1_area,area
cmsel,none
!复制到各层
!底
cmsel,,di_sub_hole1 !减去透气,水口,冲击后的底
agen,2,di_sub_hole1,,,,,-h1
cmsel,u,di_sub_hole1
cm,di_sub_hole2,area
cmsel,none
cmsel,,di_sub_hole1
agen,2,di_sub_hole1,,,,,-h1-h2
cmsel,u,di_sub_hole1
cm,di_sub_hole3,area
cmsel,none
cmsel,,di_sub_hole1
agen,2,di_sub_hole1,,,,,-h1-h2-h3
cmsel,u,di_sub_hole1
cm,di_sub_hole4,area
cmsel,none
!壁
!1
cmsel,,bi11 !前面的1表示工作层,后面1是第一层底面
agen,2,bi11,,,,,-h1
cmsel,u,bi11
cm,bi12,area
cmsel,none
cmsel,,bi11
agen,2,bi11,,,,,-h1-h2
cmsel,u,bi11
cm,bi13,area
cmsel,none
cmsel,,bi11
agen,2,bi11,,,,,-h1-h2-h3
cmsel,u,bi11
cm,bi14,area
cmsel,none
cmsel,,bi11
agen,2,bi11,,,,,h_1
cmsel,u,bi11
cm,bi15,area !bi15是工作层的工作区的下壁面
cmsel,none
cmsel,,bi11
agen,2,bi11,,,,,h_1+h
cmsel,u,bi11
cm,bi16,area !bi16是工作层的工作区的上壁面
!2
cmsel,,bi21
agen,2,bi21,,,,,-h1
cmsel,u,bi21
cm,bi22,area
cmsel,none
cmsel,,bi21
agen,2,bi21,,,,,-h1-h2
cmsel,u,bi21
cm,bi23,area
cmsel,none
cmsel,,bi21
agen,2,bi21,,,,,-h1-h2-h3
cmsel,u,bi21
cm,bi24,area
cmsel,none
cmsel,,bi21
agen,2,bi21,,,,,h_1
cmsel,u,bi21
cm,bi25,area
cmsel,none
cmsel,,bi21
agen,2,bi21,,,,,h_1+h
cmsel,u,bi21
cm,bi26,area
!3
cmsel,,bi31
agen,2,bi31,,,,,-h1
cmsel,u,bi31
cm,bi32,area
cmsel,none
cmsel,,bi31
agen,2,bi31,,,,,-h1-h2
cmsel,u,bi31
cm,bi33,area
cmsel,none
cmsel,,bi31
agen,2,bi31,,,,,-h1-h2-h3
cmsel,u,bi31
cm,bi34,area
cmsel,none
cmsel,,bi31
agen,2,bi31,,,,,h_1
cmsel,u,bi31
cm,bi35,area
cmsel,none
cmsel,,bi31
agen,2,bi31,,,,,h_1+h
cmsel,u,bi31
cm,bi36,area
!4
cmsel,,bi41
agen,2,bi41,,,,,-h1
cmsel,u,bi41
cm,bi42,area
cmsel,none
cmsel,,bi41
agen,2,bi41,,,,,-h1-h2
cmsel,u,bi41
cm,bi43,area
cmsel,none
cmsel,,bi41
agen,2,bi41,,,,,-h1-h2-h3
cmsel,u,bi41
cm,bi44,area
cmsel,none
cmsel,,bi41
agen,2,bi41,,,,,h_1
cmsel,u,bi41
cm,bi45,area
cmsel,none
cmsel,,bi41
agen,2,bi41,,,,,h_1+h
cmsel,u,bi41
cm,bi46,area
!水口砖和透气砖,冲击块
cmsel,,touqi11_area
agen,2,touqi11_area,,,,,-h1
cmsel,u,touqi11_area
cm,touqi21_area,area
cmsel,none
cmsel,,touqi11_area
agen,2,touqi11_area,,,,,-h1-h2
cmsel,u,touqi11_area
cm,touqi31_area,area
cmsel,none
cmsel,,touqi11_area
agen,2,touqi11_area,,,,,-h1-h2-h3
cmsel,u,touqi11_area
cm,touqi41_area,area
cmsel,none
cmsel,,touqi12_area
agen,2,touqi12_area,,,,,-h1
cmsel,u,touqi12_area
cm,touqi22_area,area
cmsel,none
cmsel,,touqi12_area
agen,2,touqi12_area,,,,,-h1-h2
cmsel,u,touqi12_area
cm,touqi32_area,area
cmsel,none
cmsel,,touqi12_area
agen,2,touqi12_area,,,,,-h1-h2-h3
cmsel,u,touqi12_area
cm,touqi42_area,area
cmsel,none
cmsel,,water1_area
agen,2,water1_area,,,,,-h1
cmsel,u,water1_area
cm,water2_area,area
cmsel,none
cmsel,,water1_area
agen,2,water1_area,,,,,-h1-h2
cmsel,u,water1_area
cm,water3_area,area
cmsel,none
cmsel,,water1_area
agen,2,water1_area,,,,,-h1-h2-h3
cmsel,u,water1_area
cm,water4_area,area
cmsel,none
cmsel,,chongji1_area
agen,2,chongji1_area,,,,,-h1
cmsel,u,chongji1_area
cm,chongji2_area,area
cmsel,none
cmsel,,chongji1_area
agen,2,chongji1_area,,,,,-h1-h2
cmsel,u,chongji1_area
cm,chongji3_area,area
cmsel,none
cmsel,,chongji1_area
agen,2,chongji1_area,,,,,-h1-h2-h3
cmsel,u,chongji1_area
cm,chongji4_area,area
cmsel,none
allsel
!绘制成体
!1
!底
cmsel,none
cmsel,,di_sub_hole1
vext,di_sub_hole1,,,,,-h1 !通过给定偏移量由面生成体
cm,di_volu1,volu
vsel,none !不选体
asel,none !不选由体产生的面
cmsel,,bi11
vext,bi11,,,,,-h1
cm,bi_volu11,volu !前面的1是工作层,后面的1是底第一层
vsel,none
asel,none
cmsel,,bi21
vext,bi21,,,,,-h1
cm,bi_volu21,volu !永久层的第一层
vsel,none
asel,none
cmsel,,bi31
vext,bi31,,,,,-h1
cm,bi_volu31,volu
vsel,none
asel,none
cmsel,,bi41
vext,bi41,,,,,-h1
cm,bi_volu41,volu
cmsel,none
cmsel,,chongji1_area
vext,chongji1_area,,,,,-h1
cm,chongji_volu1,volu
vsel,none
asel,none
cmsel,,touqi11_area
vext,touqi11_area,,,,,-h1
cm,touqi_volu11,volu !第一层第一块透气砖
vsel,none
asel,none
cmsel,,water1_area
vext,water1_area,,,,,-h1
cm,water_volu1,volu
vsel,none
asel,none
cmsel,,touqi12_area
vext,touqi12_area,,,,,-h1
cm,touqi_volu12,volu !第一层第二块透气砖
!壁 !这里刚好是底工作层上底面,所以一个向上,一个向下平移
vsel,none
asel,none
cmsel,,bi11
vext,bi11,,,,,h_1
cm,bi_volu15,volu !壁工作层下渣线区
vsel,none
asel,none
cmsel,,bi15 !bi15是工作层的工作区的下壁面
vext,bi15,,,,,h
cm,bi_volu16,volu !壁工作层工作区
vsel,none
asel,none
cmsel,,bi16
vext,bi16,,,,,h_2
cm,bi_volu17,volu
vsel,none
asel,none
cmsel,,bi21
vext,bi21,,,,,h_1
cm,bi_volu25,volu
vsel,none
asel,none
cmsel,,bi25
vext,bi25,,,,,h
cm,bi_volu26,volu
vsel,none
asel,none
cmsel,,bi26
vext,bi26,,,,,h_2
cm,bi_volu27,volu
vsel,none
asel,none
cmsel,,bi31
vext,bi31,,,,,h_1
cm,bi_volu35,volu
vsel,none
asel,none
cmsel,,bi35
vext,bi35,,,,,h
cm,bi_volu36,volu
vsel,none
asel,none
cmsel,,bi36
vext,bi36,,,,,h_2
cm,bi_volu37,volu
vsel,none
asel,none
cmsel,,bi41
vext,bi41,,,,,h_1
cm,bi_volu45,volu
vsel,none
asel,none
cmsel,,bi45
vext,bi45,,,,,h
cm,bi_volu46,volu
vsel,none
asel,none
cmsel,,bi46
vext,bi46,,,,,h_2
cm,bi_volu47,volu
!2
!底
vsel,none
asel,none
cmsel,,di_sub_hole2
vext,di_sub_hole2,,,,,-h2
cm,di_volu2,volu
vsel,none
asel,none
cmsel,,bi12
vext,bi12,,,,,-h2
cm,bi_volu12,volu
vsel,none
asel,none
cmsel,,bi22
vext,bi22,,,,,-h2
cm,bi_volu22,volu
vsel,none
asel,none
cmsel,,bi32
vext,bi32,,,,,-h2
cm,bi_volu32,volu
vsel,none
asel,none
cmsel,,bi42
vext,bi42,,,,,-h2
cm,bi_volu42,volu
vsel,none
asel,none
cmsel,,chongji2_area
vext,chongji2_area,,,,,-h2
cm,chongji_volu2,volu
vsel,none
asel,none
cmsel,,touqi21_area
vext,touqi21_area,,,,,-h2
cm,touqi_volu21,volu
vsel,none
asel,none
cmsel,,water2_area
vext,water2_area,,,,,-h2
cm,water_volu2,volu
vsel,none
asel,none
cmsel,,touqi22_area
vext,touqi22_area,,,,,-h2
cm,touqi_volu22,volu
!3
!底
vsel,none
asel,none
cmsel,,di_sub_hole3
vext,di_sub_hole3,,,,,-h3
cm,di_volu3,volu
vsel,none
asel,none
cmsel,,bi13
vext,bi13,,,,,-h3
cm,bi_volu13,volu
vsel,none
asel,none
cmsel,,bi23
vext,bi23,,,,,-h3
cm,bi_volu23,volu
vsel,none
asel,none
cmsel,,bi33
vext,bi33,,,,,-h3
cm,bi_volu33,volu
vsel,none
asel,none
cmsel,,bi43
vext,bi43,,,,,-h3
cm,bi_volu43,volu
vsel,none
asel,none
cmsel,,chongji3_area
vext,chongji3_area,,,,,-h3
cm,chongji_volu3,volu
vsel,none
asel,none
cmsel,,touqi31_area
vext,touqi31_area,,,,,-h3
cm,touqi_volu31,volu
vsel,none
asel,none
cmsel,,water3_area
vext,water3_area,,,,,-h3
cm,water_volu3,volu
vsel,none
asel,none
cmsel,,touqi32_area
vext,touqi32_area,,,,,-h3
cm,touqi_volu32,volu
!4
!底
vsel,none
asel,none
cmsel,,di_sub_hole4
vext,di_sub_hole4,,,,,-h4
cm,di_volu4,volu
vsel,none
asel,none
cmsel,,bi14
vext,bi14,,,,,-h4
cm,bi_volu14,volu
vsel,none
asel,none
cmsel,,bi24
vext,bi24,,,,,-h4
cm,bi_volu24,volu
vsel,none
asel,none
cmsel,,bi34
vext,bi34,,,,,-h4
cm,bi_volu34,volu
vsel,none
asel,none
cmsel,,bi44
vext,bi44,,,,,-h4
cm,bi_volu44,volu
vsel,none
asel,none
cmsel,,chongji4_area
vext,chongji4_area,,,,,-h4
cm,chongji_volu4,volu
vsel,none
asel,none
cmsel,,touqi41_area
vext,touqi41_area,,,,,-h4
cm,touqi_volu41,volu
vsel,none
asel,none
cmsel,,water4_area
vext,water4_area,,,,,-h4
cm,water_volu4,volu
vsel,none
asel,none
cmsel,,touqi42_area
vext,touqi42_area,,,,,-h4
cm,touqi_volu42,volu
allsel
vplot
nummrg,kp
!划分网格
type,1 !确定面单元类型
asel,none
cmsel,,di_sub_hole1
cmsel,a,chongji1_area
cmsel,a,touqi11_area
cmsel,a,touqi12_area
cmsel,a,water1_area
!esize,120,0, !单元大小划分
amesh,all !面积网格划分
type,2
vsel,none
cmsel,none
!mat,1 !为随后生成的单元指定材料的参考号,这是注释
cmsel,,di_volu1
cmsel,a,bi_volu11
vatt,1,1,2 !对所选择的体设置划分网格单元属性
cmsel,none
!mat,2
cmsel,,di_volu2 !模型有所改变
cmsel,a,chongji_volu2
vatt,2,1,2
cmsel,none
!mat,3
cmsel,,di_volu3
cmsel,a,chongji_volu3
vatt,3,1,2
cmsel,none
!mat,4
cmsel,,bi_volu16
cmsel,a,bi_volu15
vatt,4,1,2
cmsel,none
!mat,5
cmsel,,bi_volu12
cmsel,a,bi_volu21
cmsel,a,bi_volu22
cmsel,a,bi_volu25
cmsel,a,bi_volu26
cmsel,a,bi_volu27
vatt,5,1,2
cmsel,none
!mat,6
cmsel,,bi_volu13
cmsel,a,bi_volu23
cmsel,a,bi_volu31
cmsel,a,bi_volu32
cmsel,a,bi_volu33
cmsel,a,bi_volu35
cmsel,a,bi_volu36
cmsel,a,bi_volu37
vatt,6,1,2
cmsel,none
!mat,7
cmsel,,touqi_volu11
cmsel,a,touqi_volu12
cmsel,a,touqi_volu21
cmsel,a,touqi_volu22
cmsel,a,touqi_volu31
cmsel,a,touqi_volu32
cmsel,a,touqi_volu41
cmsel,a,touqi_volu42
vatt,7,1,2
cmsel,none
!mat,8
cmsel,,water_volu1
cmsel,a,water_volu2
cmsel,a,water_volu3
cmsel,a,water_volu4
vatt,8,1,2
cmsel,none
!mat,9
cmsel,,chongji_volu1
vatt,9,1,2
cmsel,none
!mat,10
cmsel,,di_volu4
cmsel,a,bi_volu14
cmsel,a,bi_volu24
cmsel,a,bi_volu34
cmsel,a,bi_volu41
cmsel,a,bi_volu42
cmsel,a,bi_volu43
cmsel,a,bi_volu44
cmsel,a,bi_volu45
cmsel,a,bi_volu46
cmsel,a,bi_volu47
cmsel,a,chongji_volu4 !这里第四层冲击块是钢壳
vatt,10,1,2
cmsel,none
!mat,11
cmsel,a,bi_volu17
vatt,11,1,2
allsel
esize,180,0,
vsweep,all
NUMCMP,LINE
!平放钢包,底在下
/VIEW,1,,-1
/ANG,1
/REP,FAST
!平放钢包,底在下
/solu
antype,trans
timint,off
time,0.01
deltim,0.01
csys,1
!指定边界条件
asel,,loc,x,r
asel,r,loc,z,0,h+h_1+h_2
cmsel,a,di_sub_hole1
cmsel,a,chongji1_area
cmsel,a,touqi11_area
cmsel,a,touqi12_area
cmsel,a,water1_area
nsla,s,1
d,all,temp,1570
allsel
solve
timint,on
time,300
nsubst,10,20,10
autots,on
asel,,loc,x,r+th1+th2+th3+th4
asel,r,loc,z,-h1-h2-h3-h4,h+h_1+h_2
asel,a,loc,z,-h1-h2-h3-h4
sfa,all,,conv,1.8,30
outres,,all
allsel
solve
finish
/post1
plnsol,temp
[ 本帖最后由 andylau436 于 2006-9-13 19:19 编辑 ] |