耦合场分析
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
/batch,list
/filename,inducheat30,on
/title, yicijiare
/prep7
/com,
/com,
! parameters
row=.030 ! outer radius of workpiece
ric=.050 ! inner radius of coil
roc=.052 ! outer radius of coil
ro=.20 ! outer radius of model
t=.08 ! model thickness
freq=2500 ! frequency (Hz.)
pi=4*atan(1) ! pi
cond=.392e7 ! maximum conductivity
muzero=4e-7*pi ! free-space permeability
mur=200 ! maximum relative permeability
skind=sqrt(1/(pi*freq*cond*muzero*mur)) ! skin depth
ftime=100 ! final time
tinc=.1 ! time increment for harmonic analysis
time=0 ! initialize time
delt=.02 ! maximum delta time step
! Electromagnetic model
et,1,53,,,1 ! PLANE53, axisymmetric, AZ dof
et,2,53,,,1
emunit,mks ! set magnetic units
mp,murx,1,1 ! air relative permeability
mp,murx,3,1 ! coil relative permeability
mptemp,1,25.5,160,291.5,477.6,635,698 ! temps for relative permeability
mptemp,7,709,720.3,742,761,1000
mpdata,murx,2,1,200,190,182,161,135,104 ! steel relative permeability
mpdata,murx,2,7,84,35,17,1,1
mptemp
mptemp,1,0,125,250,375,500,625 ! temps for resistivity
mptemp,7,750,875,1000
mpdata,rsvx,2,1,.184e-6,.272e-6,.384e-6,.512e-6,.656e-6,.824e-6
mpdata,rsvx,2,7,1.032e-6,1.152e-6,1.2e-6 ! steel resistivity
mptemp
mptemp,1,0,730,930,1000 ! temps for conductivity
mpdata,kxx,2,1,60.64,29.5,28,28
mptemp ! temps for enthalpy
mptemp,1,0,27,127,327,527,727
mptemp,7,765,765.001,927
mpdata,enth,2,1,0,91609056,453285756,1.2748e9,2.2519e9,3.3396e9
mpdata,enth,2,7,3.548547e9,3.548556e9,4.3520e9
mp,emis,2,.68 ! emissivity
!jihe model
rectng,0,row,0,t ! billet
rectng,row,ric,0,t ! air-gap
rectng,ric,roc,0,t ! coil
rectng,roc,ro,0,t ! outer air
aglue,all
numcmp,area
!control colour plot
/rgb,index,100,100,100,0
/rgb,index,80,80,80,13
/rgb,index,60,60,60,14
/rgb,index,0,0,0,15
!mesh control
ksel,s,loc,x,row ! select keypoints at outer radius of workpiece
kesize,all,skind/2 ! set meshing size to 1/2 skin depth
ksel,s,loc,x,0 ! select keypoints at center
kesize,all,40*skind ! set meshing size
lsel,s,loc,x,row ! select vertical lines
lesize,all,,,40 ! set 1 division through thickness
lsel,all
asel,s,area,,1
aatt,2,1,1 ! set attributes for billet region
asel,s,area,,3
aatt,3,1,2 ! set attributes for coil region
asel,s,area,,2,4,2
aatt,1,1,2 ! set attributes for air region
asel,all
mshape,0,2d
mshk,1
amesh,1 ! mesh billet area
lsel,s,loc,y,0
lsel,a,loc,y,t
lsel,u,loc,x,row/2
lesize,all,.01
lsel,all
amesh,all ! mesh remaining areas
nsel,s,loc,x
d,all,az,0 ! apply flux-normal b.c.
nsel,all
esel,s,mat,,3
bfe,all,js,,,,45e6 ! apply current density to coil
alls
! Thermal model
et,4,55,,,1 ! PLANE55 thermal element, axisymmetric
agen,2,1,,,,,,,1
aatt,2,1,4
ksel,s,loc,x,row ! select keypoints at outer radius of workpiece
kesize,all,skind/2 ! set meshing size to 1/2 skin depth
ksel,s,loc,x,0 ! select keypoints at center
kesize,all,40*skind ! set meshing size
lsel,s,loc,x,row ! select vertical lines
lesize,all,,,
40 ! set 1 division through thickness
lsel,all
mshape,0,2d
amesh,5
asel,,,,5
allsel,below,area
nsel,r,loc,x,row
sf,all,rdsf,0.68,1 ! Radiation
alls
spctemp,1,25 ! Space temperature
v2dopt,1
radopt,,0.01
stef,5.67e-8 ! Stefan-Boltzman constant
esel,s,mat,,2 ! select billet material
bfe,all,fvin,,1 ! define volumetric interface
finish
/solu
mfan,on ! Activate ANSYS Multi-field solver analysis
mfel,1,1,2 ! Field #1 ET;s, Emag
mfel,2,4 ! Field #2 ET's, Thermal
mfor,1,2 ! Field solution order
mfti,ftime ! Final time
mfdt,tinc ! Stagger time increment
mfco,all,1e-3 ! Convergence criteria
antyp,harm ! Emag analysis options
harfrq,2500
outres,all,all
tunif,100
eqslv,sparse
mfcm,1, ! Write Emag analysis options
mfclear,solu ! Clear analysis options
antype,trans ! Thermal analysis options
toffst,273
tunif,100 ! initial uniform temperature
kbc,1 ! step loads
trnopt,full
autos,on ! auto time-stepping
deltim,.02,.005,.02,on ! time step control
mfcm,2, ! Write Thermal analysis options
mfvo,1,1,hgen,2 ! Transfer hgen from Emag to Thermal
mfvo,1,2,temp,1 ! Transfer Temp from Thermal to Emag
solve
save
finish
/post1
file,field1,rmg
set,1
plf2d
finish
/post1
file,field2,rth
set,last ! Solution at 100 seconds
esel,s,type,,4 ! select thermal elements
plns,temp ! plot temperature
finish
/post26
file,field2,rth
esel,s,type,,4
nsle,s
nsel,r,loc,x,row ! get node at outer radius
nsel,r,loc,y,0
*get,nor,node,,num,min
nsle,s
nsel,r,loc,x,0
nsel,r,loc,y,0 ! get node at centerline
*get,nir,node,,num,min
nsol,2,nor,temp,,outer ! Outer radius
nsol,3,nir,temp,,inner ! Inner radius (centerline)
/axlab,y,Temperature
plvar,2,3 ! plot temperature
prvar,2,3
finish