声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1225|回复: 3

[综合讨论] ansys环焊加载热源

[复制链接]
发表于 2016-5-6 18:06 | 显示全部楼层 |阅读模式

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

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

x
外径1m的圆环,想要在其表面施加移动热源,但是结果热源不动,大家帮看看命令流哪里出错了呗,谢谢
/clear
/config,nres,10000
/filname,welding
/prep7
/units,si
toffst,273
TUNIF,0
et,1,solid70  
et,2,solid90
MPTEMP,,,,,,,,  
MPTEMP,1,20
MPTEMP,2,200
MPTEMP,3,400
MPTEMP,4,600
MPTEMP,5,800
MPTEMP,6,1000
MPTEMP,7,1200
MPDATA,C,1,,286
MPDATA,C,1,,381
MPDATA,C,1,,487
MPDATA,C,1,,593
MPDATA,C,1,,699
MPDATA,C,1,,805
MPDATA,C,1,,911
MPDATA,KXX,1,,52
MPDATA,KXX,1,,54
MPDATA,KXX,1,,53
MPDATA,KXX,1,,49
MPDATA,KXX,1,,42
MPDATA,KXX,1,,32
MPDATA,KXX,1,,18
MPDATA,DENS,1,,7896
MPDATA,DENS,1,,7849
MPDATA,DENS,1,,7796
MPDATA,DENS,1,,7744
MPDATA,DENS,1,,7691
MPDATA,DENS,1,,7639
MPDATA,DENS,1,,7586
MPDATA,ENTH,1,,0
MPDATA,ENTH,1,,94600
MPDATA,ENTH,1,, 214400
MPDATA,ENTH,1,,359400
MPDATA,ENTH,1,,529600
MPDATA,ENTH,1,,725000
MPDATA,ENTH,1,,945600  
MPDATA,HF,1,,0
MPDATA,HF,1,, 2
MPDATA,HF,1,, 4.3
MPDATA,HF,1,,6.8
MPDATA,HF,1,,10
MPDATA,HF,1,,14.5
MPDATA,HF,1,,20.5  
MP,REFT,1,20
MP,REFT,2,1200
Width=0.1
Height=0.03
Ar=0.02/0.01732
K,1,-0.05,0.97,0
K,2,0,0.97,0
K,3,0.05,0.97,0
K,4,0,0.98,0
K,5,-0.05,1,0
K,6,-0.01155,1,0
K,7,0.01155,1,0
K,8,0.05,1,0
K,9,-1,0,0
K,10,1,0,0
Larc,6,7,4,0.0231
A,1,2,4,6,5
A,4,6,7
A,2,4,7,8,3
L,9,10
Vrotat,1,2,3,,,,9,10,,
Vadd,1,4,7,10
Vadd,2,5,8,11
Vadd,3,6,9,12
numcmp,all
VSEL,S,VOLUME,,2,3,1,
VATT,1,,1
ESIZE,0.008
SMARTSIZE
MSHKEY,0
MSHAPE,1,3D
VMESH,2,3
VSEL,S,VOLUME,,1,,
VATT,1,,2
ESIZE,0.006
SMARTSIZE
MSHKEY,0
MSHAPE,1,3D
VMESH,1
Nummrg,node
ALLS
FINISH
/solu
NLGEOM,ON
NROPT,FULL,,ON
OUTPR, ALL, ALL
outres,ALL,all
kbc,1  
antype,trans
timint,off
AUTOTS,1
NSUBST,2, , ,1
d,all,temp,20
time,0.01
Solve
vsel,s,volu,,1,1,1
ESLV, S, 2
EKILL, ALL
ESEL, ALL
TIME, 0.02
Solve
timint,on,ther
ddele,all,temp
TIME=0.02
NSEL,S,EXT  
NSEL,U,LOC,x,0
SF,ALL,CONV,25,0
ALLSEL,ALL
U=20
I1=160
V=0.01
YITA=0.7
D=0.012
b=2*D
a1=0.5*D
a2=1.2*D
c=0.0035
f1=2*a1/(a1+a2)
f2=2*a2/(a1+a2)
           
W=U*I1*YITA                 
STEP=0.02
N=0.5*3.14159/STEP     
TIME_INC=STEP/V
*DO,I,1,N
zz=i*step
YY=1-I*STEP
TIME=TIME+TIME_INC
TIME,TIME
LNSRCH,ON
VSEL, S,volu,,1,1,1
ESLV, S, 2
nsel,r,loc,z,0,zz
NSEL,A,LOC,Y,1,YY
ESLN, R
ealive,all
alls
LOCAL,11,2,0,YY,zz, , , ,b/a1,c/a1,  
NSEL,S,LOC,X,0,B
NSEL,R,LOC,y,-90,90
NSEL,R,LOC,z,0,90
CM,FRONT,NODE
ALLSEL,ALL
LOCAL,13,0,0,YY,zz, , , ,1,1,
*DEL,_FNCNAME   
*DEL,_FNCMTID   
*DEL,_FNC_C1
*DEL,_FNC_C2
*DEL,_FNC_C3
*DEL,_FNC_C4
*DEL,_FNC_C5
*DEL,_FNCCSYS
*DEL,'TFRONT'   
*SET,_FNCNAME,'TFRONT'
*DIM,_FNC_C1,,1
*DIM,_FNC_C2,,1
*DIM,_FNC_C3,,1
*DIM,_FNC_C4,,1
*DIM,_FNC_C5,,1
*SET,_FNC_C1(1),W   
*SET,_FNC_C2(1),f1  
*SET,_FNC_C3(1),b   
*SET,_FNC_C4(1),c   
*SET,_FNC_C5(1),a1  
*SET,_FNCCSYS,13
*DIM,%_FNCNAME%,TABLE,7,114,1,,,,%_FNCCSYS%
%_FNCNAME%(0,0,1)= 0.0, -999
%_FNCNAME%(2,0,1)= 0.0
%_FNCNAME%(3,0,1)= %_FNC_C1(1)%
%_FNCNAME%(4,0,1)= %_FNC_C2(1)%
%_FNCNAME%(5,0,1)= %_FNC_C3(1)%
%_FNCNAME%(6,0,1)= %_FNC_C4(1)%
%_FNCNAME%(7,0,1)= %_FNC_C5(1)%
%_FNCNAME%(0,1,1)= 1.0, -1, 0, 6, 0, 0, 0
%_FNCNAME%(0,2,1)= 0.0, -2, 0, 1.732, 0, 0, -1
%_FNCNAME%(0,3,1)=   0, -3, 0, 1, -1, 3, -2
%_FNCNAME%(0,4,1)= 0.0, -1, 0, 1, -3, 3, 17
%_FNCNAME%(0,5,1)= 0.0, -2, 0, 1, -1, 3, 18
%_FNCNAME%(0,6,1)= 0.0, -1, 0, 1, 19, 3, 20
%_FNCNAME%(0,7,1)= 0.0, -3, 0, 1, -1, 3, 21
%_FNCNAME%(0,8,1)= 0.0, -1, 0, 3.1415, 0, 0, -3
%_FNCNAME%(0,9,1)= 0.0, -4, 0, 1, -3, 3, -1
%_FNCNAME%(0,10,1)= 0.0, -1, 0, 1.8, 0, 0, -4
%_FNCNAME%(0,11,1)= 0.0, -3, 0, 1, -4, 3, -1
%_FNCNAME%(0,12,1)= 0.0, -1, 0, 1, -2, 4, -3
%_FNCNAME%(0,13,1)= 0.0, -2, 0, 0, 0, 0, 0
%_FNCNAME%(0,14,1)= 0.0, -3, 0, 1, 0, 0, -2
%_FNCNAME%(0,15,1)= 0.0, -4, 0, 1, -2, 2, -3
%_FNCNAME%(0,16,1)= 0.0, -2, 0, 3, 0, 0, -4
%_FNCNAME%(0,17,1)= 0.0, -3, 0, 1, -4, 3, -2
%_FNCNAME%(0,18,1)= 0.0, -2, 0, 2, 0, 0, 2
%_FNCNAME%(0,19,1)= 0.0, -4, 0, 1, 2, 17, -2
%_FNCNAME%(0,20,1)= 0.0, -2, 0, 2, 0, 0, 19
%_FNCNAME%(0,21,1)= 0.0, -5, 0, 1, 19, 17, -2
%_FNCNAME%(0,22,1)= 0.0, -2, 0, 1, -4, 4, -5
%_FNCNAME%(0,23,1)= 0.0, -4, 0, 2, 0, 0, 3
%_FNCNAME%(0,24,1)= 0.0, -5, 0, 1, 3, 17, -4
%_FNCNAME%(0,25,1)= 0.0, -4, 0, 2, 0, 0, 20
%_FNCNAME%(0,26,1)= 0.0, -6, 0, 1, 20, 17, -4
%_FNCNAME%(0,27,1)= 0.0, -4, 0, 1, -5, 4, -6
%_FNCNAME%(0,28,1)= 0.0, -5, 0, 1, -2, 1, -4
%_FNCNAME%(0,29,1)= 0.0, -2, 0, 2, 0, 0, 4
%_FNCNAME%(0,30,1)= 0.0, -4, 0, 1, 4, 17, -2
%_FNCNAME%(0,31,1)= 0.0, -2, 0, 2, 0, 0, 21
%_FNCNAME%(0,32,1)= 0.0, -6, 0, 1, 21, 17, -2
%_FNCNAME%(0,33,1)= 0.0, -2, 0, 1, -4, 4, -6
%_FNCNAME%(0,34,1)= 0.0, -4, 0, 1, -5, 1, -2
%_FNCNAME%(0,35,1)= 0.0, -2, 0, 1, -3, 3, -4
%_FNCNAME%(0,36,1)= 0.0, -3, 0, 6, 0, 0, 0
%_FNCNAME%(0,37,1)= 0.0, -4, 0, 1.732, 0, 0, -3
%_FNCNAME%(0,38,1)= 0.0, -5, 0, 1, -3, 3, -4
%_FNCNAME%(0,39,1)= 0.0, -3, 0, 1, -5, 3, 17
%_FNCNAME%(0,40,1)= 0.0, -4, 0, 1, -3, 3, 18
%_FNCNAME%(0,41,1)= 0.0, -3, 0, 1, 19, 3, 20
%_FNCNAME%(0,42,1)= 0.0, -5, 0, 1, -3, 3, 21
%_FNCNAME%(0,43,1)= 0.0, -3, 0, 3.1415, 0, 0, -5
%_FNCNAME%(0,44,1)= 0.0, -6, 0, 1, -5, 3, -3
%_FNCNAME%(0,45,1)= 0.0, -3, 0, 1.8, 0, 0, -6
%_FNCNAME%(0,46,1)= 0.0, -5, 0, 1, -6, 3, -3
%_FNCNAME%(0,47,1)= 0.0, -3, 0, 1, -4, 4, -5
%_FNCNAME%(0,48,1)= 0.0, -4, 0, 1, -2, 3, -3
%_FNCNAME%(0,49,1)= 0.0, -2, 7, 1, -4, 0, 0
%_FNCNAME%(0,50,1)= 0.0, -3, 0, 1, -1, 3, -2
%_FNCNAME%(0,51,1)= 0.0, -1, 0, 0, 0, 0, 0
%_FNCNAME%(0,52,1)= 0.0, -2, 0, 1, 0, 0, -1
%_FNCNAME%(0,53,1)= 0.0, -4, 0, 1, -1, 2, -2
%_FNCNAME%(0,54,1)= 0.0, -1, 0, 3, 0, 0, -4
%_FNCNAME%(0,55,1)= 0.0, -2, 0, 1, -4, 3, -1
%_FNCNAME%(0,56,1)= 0.0, -1, 0, 2, 0, 0, 2
%_FNCNAME%(0,57,1)= 0.0, -4, 0, 1, 2, 17, -1
%_FNCNAME%(0,58,1)= 0.0, -1, 0, 2, 0, 0, 19
%_FNCNAME%(0,59,1)= 0.0, -5, 0, 1, 19, 17, -1
%_FNCNAME%(0,60,1)= 0.0, -1, 0, 1, -4, 4, -5
%_FNCNAME%(0,61,1)= 0.0, -4, 0, 2, 0, 0, 3
%_FNCNAME%(0,62,1)= 0.0, -5, 0, 1, 3, 17, -4
%_FNCNAME%(0,63,1)= 0.0, -4, 0, 2, 0, 0, 20
%_FNCNAME%(0,64,1)= 0.0, -6, 0, 1, 20, 17, -4
%_FNCNAME%(0,65,1)= 0.0, -4, 0, 1, -5, 4, -6
%_FNCNAME%(0,66,1)= 0.0, -5, 0, 1, -1, 1, -4
%_FNCNAME%(0,67,1)= 0.0, -1, 0, 2, 0, 0, 4
%_FNCNAME%(0,68,1)= 0.0, -4, 0, 1, 4, 17, -1
%_FNCNAME%(0,69,1)= 0.0, -1, 0, 2, 0, 0, 21
%_FNCNAME%(0,70,1)= 0.0, -6, 0, 1, 21, 17, -1
%_FNCNAME%(0,71,1)= 0.0, -1, 0, 1, -4, 4, -6
%_FNCNAME%(0,72,1)= 0.0, -4, 0, 1, -5, 1, -1
%_FNCNAME%(0,73,1)= 0.0, -1, 0, 1, -2, 3, -4
%_FNCNAME%(0,74,1)= 0.0, -2, 0, 6, 0, 0, 0
%_FNCNAME%(0,75,1)= 0.0, -4, 0, 1.732, 0, 0, -2
%_FNCNAME%(0,76,1)= 0.0, -5, 0, 1, -2, 3, -4
%_FNCNAME%(0,77,1)= 0.0, -2, 0, 1, -5, 3, 17
%_FNCNAME%(0,78,1)= 0.0, -4, 0, 1, -2, 3, 18
%_FNCNAME%(0,79,1)= 0.0, -2, 0, 1, 19, 3, 20
%_FNCNAME%(0,80,1)= 0.0, -5, 0, 1, -2, 3, 21
%_FNCNAME%(0,81,1)= 0.0, -2, 0, 3.1415, 0, 0, -5
%_FNCNAME%(0,82,1)= 0.0, -6, 0, 1, -5, 3, -2
%_FNCNAME%(0,83,1)= 0.0, -2, 0, 1.8, 0, 0, -6
%_FNCNAME%(0,84,1)= 0.0, -5, 0, 1, -6, 3, -2
%_FNCNAME%(0,85,1)= 0.0, -2, 0, 1, -4, 4, -5
%_FNCNAME%(0,86,1)= 0.0, -4, 0, 1, -1, 3, -2
%_FNCNAME%(0,87,1)= 0.0, -1, 7, 1, -4, 0, 0
%_FNCNAME%(0,88,1)= 0.0, -2, 0, 1, -3, 3, -1
%_FNCNAME%(0,89,1)= 0.0, -1, 0, 0, 0, 0, 0
%_FNCNAME%(0,90,1)= 0.0, -3, 0, 1, 0, 0, -1
%_FNCNAME%(0,91,1)= 0.0, -4, 0, 1, -1, 2, -3
%_FNCNAME%(0,92,1)= 0.0, -1, 0, 3, 0, 0, -4
%_FNCNAME%(0,93,1)= 0.0, -3, 0, 1, -4, 3, -1
%_FNCNAME%(0,94,1)= 0.0, -1, 0, 2, 0, 0, 2
%_FNCNAME%(0,95,1)= 0.0, -4, 0, 1, 2, 17, -1
%_FNCNAME%(0,96,1)= 0.0, -1, 0, 2, 0, 0, 19
%_FNCNAME%(0,97,1)= 0.0, -5, 0, 1, 19, 17, -1
%_FNCNAME%(0,98,1)= 0.0, -1, 0, 1, -4, 4, -5
%_FNCNAME%(0,99,1)= 0.0, -4, 0, 2, 0, 0, 3
%_FNCNAME%(0,100,1)= 0.0, -5, 0, 1, 3, 17, -4
%_FNCNAME%(0,101,1)= 0.0, -4, 0, 2, 0, 0, 20
%_FNCNAME%(0,102,1)= 0.0, -6, 0, 1, 20, 17, -4
%_FNCNAME%(0,103,1)= 0.0, -4, 0, 1, -5, 4, -6
%_FNCNAME%(0,104,1)= 0.0, -5, 0, 1, -1, 1, -4
%_FNCNAME%(0,105,1)= 0.0, -1, 0, 2, 0, 0, 4
%_FNCNAME%(0,106,1)= 0.0, -4, 0, 1, 4, 17, -1
%_FNCNAME%(0,107,1)= 0.0, -1, 0, 2, 0, 0, 21
%_FNCNAME%(0,108,1)= 0.0, -6, 0, 1, 21, 17, -1
%_FNCNAME%(0,109,1)= 0.0, -1, 0, 1, -4, 4, -6
%_FNCNAME%(0,110,1)= 0.0, -4, 0, 1, -5, 1, -1
%_FNCNAME%(0,111,1)= 0.0, -1, 0, 1, -3, 3, -4
%_FNCNAME%(0,112,1)= 0.0, -1, 7, 1, -1, 0, 0
%_FNCNAME%(0,113,1)= 0.0, -3, 0, 1, -2, 3, -1
%_FNCNAME%(0,114,1)= 0.0, 99, 0, 1, -3, 0, 0
BF,FRONT,HGEN, %TFRONT%     
CMDELE,FRONT   
ALLSEL,ALL
LOCAL,12,2,0,YY,zz,,,,a2/b,c/a2,
NSEL,S,LOC,X,0,b
NSEL,R,LOC,y,-90,90
NSEL,R,LOC,z,270,360
CM,BEHIND,NODE
ALLSEL,ALL
LOCAL,14,0,0,Yy,zz,,,,1,1,
*DEL,_FNCNAME   
*DEL,_FNCMTID   
*DEL,_FNC_C1
*DEL,_FNC_C2
*DEL,_FNC_C3
*DEL,_FNC_C4
*DEL,_FNC_C5
*DEL,_FNCCSYS
*DEL,'TBEHIND'   
*SET,_FNCNAME,'TBEHIND'
*DIM,_FNC_C1,,1
*DIM,_FNC_C2,,1
*DIM,_FNC_C3,,1
*DIM,_FNC_C4,,1
*DIM,_FNC_C5,,1
*SET,_FNC_C1(1),W   
*SET,_FNC_C2(1),f2
*SET,_FNC_C3(1),b   
*SET,_FNC_C4(1),c   
*SET,_FNC_C5(1),a2  
*SET,_FNCCSYS,14                     
*DIM,%_FNCNAME%,TABLE,7,114,1,,,,%_FNCCSYS%
%_FNCNAME%(0,0,1)= 0.0, -999
%_FNCNAME%(2,0,1)= 0.0
%_FNCNAME%(3,0,1)= %_FNC_C1(1)%
%_FNCNAME%(4,0,1)= %_FNC_C2(1)%
%_FNCNAME%(5,0,1)= %_FNC_C3(1)%
%_FNCNAME%(6,0,1)= %_FNC_C4(1)%
%_FNCNAME%(7,0,1)= %_FNC_C5(1)%
%_FNCNAME%(0,1,1)= 1.0, -1, 0, 6, 0, 0, 0
%_FNCNAME%(0,2,1)= 0.0, -2, 0, 1.732, 0, 0, -1
%_FNCNAME%(0,3,1)=   0, -3, 0, 1, -1, 3, -2
%_FNCNAME%(0,4,1)= 0.0, -1, 0, 1, -3, 3, 17
%_FNCNAME%(0,5,1)= 0.0, -2, 0, 1, -1, 3, 18
%_FNCNAME%(0,6,1)= 0.0, -1, 0, 1, 19, 3, 20
%_FNCNAME%(0,7,1)= 0.0, -3, 0, 1, -1, 3, 21
%_FNCNAME%(0,8,1)= 0.0, -1, 0, 3.1415, 0, 0, -3
%_FNCNAME%(0,9,1)= 0.0, -4, 0, 1, -3, 3, -1
%_FNCNAME%(0,10,1)= 0.0, -1, 0, 1.8, 0, 0, -4
%_FNCNAME%(0,11,1)= 0.0, -3, 0, 1, -4, 3, -1
%_FNCNAME%(0,12,1)= 0.0, -1, 0, 1, -2, 4, -3
%_FNCNAME%(0,13,1)= 0.0, -2, 0, 0, 0, 0, 0
%_FNCNAME%(0,14,1)= 0.0, -3, 0, 1, 0, 0, -2
%_FNCNAME%(0,15,1)= 0.0, -4, 0, 1, -2, 2, -3
%_FNCNAME%(0,16,1)= 0.0, -2, 0, 3, 0, 0, -4
%_FNCNAME%(0,17,1)= 0.0, -3, 0, 1, -4, 3, -2
%_FNCNAME%(0,18,1)= 0.0, -2, 0, 2, 0, 0, 2
%_FNCNAME%(0,19,1)= 0.0, -4, 0, 1, 2, 17, -2
%_FNCNAME%(0,20,1)= 0.0, -2, 0, 2, 0, 0, 19
%_FNCNAME%(0,21,1)= 0.0, -5, 0, 1, 19, 17, -2
%_FNCNAME%(0,22,1)= 0.0, -2, 0, 1, -4, 4, -5
%_FNCNAME%(0,23,1)= 0.0, -4, 0, 2, 0, 0, 3
%_FNCNAME%(0,24,1)= 0.0, -5, 0, 1, 3, 17, -4
%_FNCNAME%(0,25,1)= 0.0, -4, 0, 2, 0, 0, 20
%_FNCNAME%(0,26,1)= 0.0, -6, 0, 1, 20, 17, -4
%_FNCNAME%(0,27,1)= 0.0, -4, 0, 1, -5, 4, -6
%_FNCNAME%(0,28,1)= 0.0, -5, 0, 1, -2, 1, -4
%_FNCNAME%(0,29,1)= 0.0, -2, 0, 2, 0, 0, 4
%_FNCNAME%(0,30,1)= 0.0, -4, 0, 1, 4, 17, -2
%_FNCNAME%(0,31,1)= 0.0, -2, 0, 2, 0, 0, 21
%_FNCNAME%(0,32,1)= 0.0, -6, 0, 1, 21, 17, -2
%_FNCNAME%(0,33,1)= 0.0, -2, 0, 1, -4, 4, -6
%_FNCNAME%(0,34,1)= 0.0, -4, 0, 1, -5, 1, -2
%_FNCNAME%(0,35,1)= 0.0, -2, 0, 1, -3, 3, -4
%_FNCNAME%(0,36,1)= 0.0, -3, 0, 6, 0, 0, 0
%_FNCNAME%(0,37,1)= 0.0, -4, 0, 1.732, 0, 0, -3
%_FNCNAME%(0,38,1)= 0.0, -5, 0, 1, -3, 3, -4
%_FNCNAME%(0,39,1)= 0.0, -3, 0, 1, -5, 3, 17
%_FNCNAME%(0,40,1)= 0.0, -4, 0, 1, -3, 3, 18
%_FNCNAME%(0,41,1)= 0.0, -3, 0, 1, 19, 3, 20
%_FNCNAME%(0,42,1)= 0.0, -5, 0, 1, -3, 3, 21
%_FNCNAME%(0,43,1)= 0.0, -3, 0, 3.1415, 0, 0, -5
%_FNCNAME%(0,44,1)= 0.0, -6, 0, 1, -5, 3, -3
%_FNCNAME%(0,45,1)= 0.0, -3, 0, 1.8, 0, 0, -6
%_FNCNAME%(0,46,1)= 0.0, -5, 0, 1, -6, 3, -3
%_FNCNAME%(0,47,1)= 0.0, -3, 0, 1, -4, 4, -5
%_FNCNAME%(0,48,1)= 0.0, -4, 0, 1, -2, 3, -3
%_FNCNAME%(0,49,1)= 0.0, -2, 7, 1, -4, 0, 0
%_FNCNAME%(0,50,1)= 0.0, -3, 0, 1, -1, 3, -2
%_FNCNAME%(0,51,1)= 0.0, -1, 0, 0, 0, 0, 0
%_FNCNAME%(0,52,1)= 0.0, -2, 0, 1, 0, 0, -1
%_FNCNAME%(0,53,1)= 0.0, -4, 0, 1, -1, 2, -2
%_FNCNAME%(0,54,1)= 0.0, -1, 0, 3, 0, 0, -4
%_FNCNAME%(0,55,1)= 0.0, -2, 0, 1, -4, 3, -1
%_FNCNAME%(0,56,1)= 0.0, -1, 0, 2, 0, 0, 2
%_FNCNAME%(0,57,1)= 0.0, -4, 0, 1, 2, 17, -1
%_FNCNAME%(0,58,1)= 0.0, -1, 0, 2, 0, 0, 19
%_FNCNAME%(0,59,1)= 0.0, -5, 0, 1, 19, 17, -1
%_FNCNAME%(0,60,1)= 0.0, -1, 0, 1, -4, 4, -5
%_FNCNAME%(0,61,1)= 0.0, -4, 0, 2, 0, 0, 3
%_FNCNAME%(0,62,1)= 0.0, -5, 0, 1, 3, 17, -4
%_FNCNAME%(0,63,1)= 0.0, -4, 0, 2, 0, 0, 20
%_FNCNAME%(0,64,1)= 0.0, -6, 0, 1, 20, 17, -4
%_FNCNAME%(0,65,1)= 0.0, -4, 0, 1, -5, 4, -6
%_FNCNAME%(0,66,1)= 0.0, -5, 0, 1, -1, 1, -4
%_FNCNAME%(0,67,1)= 0.0, -1, 0, 2, 0, 0, 4
%_FNCNAME%(0,68,1)= 0.0, -4, 0, 1, 4, 17, -1
%_FNCNAME%(0,69,1)= 0.0, -1, 0, 2, 0, 0, 21
%_FNCNAME%(0,70,1)= 0.0, -6, 0, 1, 21, 17, -1
%_FNCNAME%(0,71,1)= 0.0, -1, 0, 1, -4, 4, -6
%_FNCNAME%(0,72,1)= 0.0, -4, 0, 1, -5, 1, -1
%_FNCNAME%(0,73,1)= 0.0, -1, 0, 1, -2, 3, -4
%_FNCNAME%(0,74,1)= 0.0, -2, 0, 6, 0, 0, 0
%_FNCNAME%(0,75,1)= 0.0, -4, 0, 1.732, 0, 0, -2
%_FNCNAME%(0,76,1)= 0.0, -5, 0, 1, -2, 3, -4
%_FNCNAME%(0,77,1)= 0.0, -2, 0, 1, -5, 3, 17
%_FNCNAME%(0,78,1)= 0.0, -4, 0, 1, -2, 3, 18
%_FNCNAME%(0,79,1)= 0.0, -2, 0, 1, 19, 3, 20
%_FNCNAME%(0,80,1)= 0.0, -5, 0, 1, -2, 3, 21
%_FNCNAME%(0,81,1)= 0.0, -2, 0, 3.1415, 0, 0, -5
%_FNCNAME%(0,82,1)= 0.0, -6, 0, 1, -5, 3, -2
%_FNCNAME%(0,83,1)= 0.0, -2, 0, 1.8, 0, 0, -6
%_FNCNAME%(0,84,1)= 0.0, -5, 0, 1, -6, 3, -2
%_FNCNAME%(0,85,1)= 0.0, -2, 0, 1, -4, 4, -5
%_FNCNAME%(0,86,1)= 0.0, -4, 0, 1, -1, 3, -2
%_FNCNAME%(0,87,1)= 0.0, -1, 7, 1, -4, 0, 0
%_FNCNAME%(0,88,1)= 0.0, -2, 0, 1, -3, 3, -1
%_FNCNAME%(0,89,1)= 0.0, -1, 0, 0, 0, 0, 0
%_FNCNAME%(0,90,1)= 0.0, -3, 0, 1, 0, 0, -1
%_FNCNAME%(0,91,1)= 0.0, -4, 0, 1, -1, 2, -3
%_FNCNAME%(0,92,1)= 0.0, -1, 0, 3, 0, 0, -4
%_FNCNAME%(0,93,1)= 0.0, -3, 0, 1, -4, 3, -1
%_FNCNAME%(0,94,1)= 0.0, -1, 0, 2, 0, 0, 2
%_FNCNAME%(0,95,1)= 0.0, -4, 0, 1, 2, 17, -1
%_FNCNAME%(0,96,1)= 0.0, -1, 0, 2, 0, 0, 19
%_FNCNAME%(0,97,1)= 0.0, -5, 0, 1, 19, 17, -1
%_FNCNAME%(0,98,1)= 0.0, -1, 0, 1, -4, 4, -5
%_FNCNAME%(0,99,1)= 0.0, -4, 0, 2, 0, 0, 3
%_FNCNAME%(0,100,1)= 0.0, -5, 0, 1, 3, 17, -4
%_FNCNAME%(0,101,1)= 0.0, -4, 0, 2, 0, 0, 20
%_FNCNAME%(0,102,1)= 0.0, -6, 0, 1, 20, 17, -4
%_FNCNAME%(0,103,1)= 0.0, -4, 0, 1, -5, 4, -6
%_FNCNAME%(0,104,1)= 0.0, -5, 0, 1, -1, 1, -4
%_FNCNAME%(0,105,1)= 0.0, -1, 0, 2, 0, 0, 4
%_FNCNAME%(0,106,1)= 0.0, -4, 0, 1, 4, 17, -1
%_FNCNAME%(0,107,1)= 0.0, -1, 0, 2, 0, 0, 21
%_FNCNAME%(0,108,1)= 0.0, -6, 0, 1, 21, 17, -1
%_FNCNAME%(0,109,1)= 0.0, -1, 0, 1, -4, 4, -6
%_FNCNAME%(0,110,1)= 0.0, -4, 0, 1, -5, 1, -1
%_FNCNAME%(0,111,1)= 0.0, -1, 0, 1, -3, 3, -4
%_FNCNAME%(0,112,1)= 0.0, -1, 7, 1, -1, 0, 0
%_FNCNAME%(0,113,1)= 0.0, -3, 0, 1, -2, 3, -1
%_FNCNAME%(0,114,1)= 0.0, 99, 0, 1, -3, 0, 0
BF,BEHIND,HGEN, %TBEHIND%   
CMDELE,BEHIND
ALLSEL,ALL
SOLVE
BFDELE,all,HGEN
*ENDDO

模型

模型
回复
分享到:

使用道具 举报

发表于 2016-5-7 08:20 | 显示全部楼层
  你的热载荷施加在节点 Component BEHIND 上,而该 component 定义为:
      LOCAL,12,2,0,YY,zz,,,,a2/b,c/a2,
     NSEL,S,LOC,X,0,b
     NSEL,R,LOC,y,-90,90
     NSEL,R,LOC,z,270,360
     CM,BEHIND,NODE
  由于 a2, b, c 都是常数,在循环中是不变的,所以 Component BEHIND 中的节点是不变的,加载位置也就不会改变。

评分

1

查看全部评分

 楼主| 发表于 2016-5-7 13:19 | 显示全部楼层
htbbzzg 发表于 2016-5-7 08:20
你的热载荷施加在节点 Component BEHIND 上,而该 component 定义为:
      LOCAL,12,2,0,YY,zz,,,,a2/ ...

可是这个热源命令流加载到平板上就移动了
D=0.013
b=2*D
a1=0.5*D
a2=1.2*D
c=0.0035
f1=2*a1/(a1+a2)
f2=2*a2/(a1+a2)
YC= 0.019
M=0.9      
W0=5900            
W=W0*M                  
STEP=0.0015            
N=length/STEP     
V=0.003
TIME_INC=STEP/V
v_num=2!第一层焊缝的体号


*DO,I,1,N
ZZ=I*STEP
TIME=TIME+TIME_INC !!!!!!!每步焊接时间,时间跟踪
NSUBST, 2, 2, 2
TIME,TIME
LNSRCH, ON
!!!!!!!生死单元的处理
VSEL, S,volu,,2,2,1
ESLV, S, 1                                                                                                          
nsel,r,loc,Z,0,ZZ
ESLN, R
ealive,all
alls
!!!!!!双椭球体热源的加载         
!!!前半球节点的选取

LOCAL,11,2,0, yc,zz, , , ,b/a1,c/a1,  
NSEL,S,LOC,X,0,b
NSEL,R,LOC,y,-90,90
NSEL,R,LOC,z,0,90

CM,FRONT,NODE
ALLSEL,ALL

!!!!!!!!!!!!!!!!!!!!!!!!!!!
LOCAL,13,0,0,yc,zz, , , ,1,1,
!!!前半球函数、表格定义
!!!前半球函数、表格定义
*DEL,_FNCNAME   
*DEL,_FNCMTID   
*DEL,_FNC_C1
*DEL,_FNC_C2
*DEL,_FNC_C3
*DEL,_FNC_C4
*DEL,_FNC_C5
*DEL,_FNCCSYS
*DEL,'TFRONT'    !!!!!!!!   
*SET,_FNCNAME,'TFRONT'
*DIM,_FNC_C1,,1
*DIM,_FNC_C2,,1
*DIM,_FNC_C3,,1
*DIM,_FNC_C4,,1
*DIM,_FNC_C5,,1
*SET,_FNC_C1(1),W   
*SET,_FNC_C2(1),f1  
*SET,_FNC_C3(1),b   
*SET,_FNC_C4(1),c   
*SET,_FNC_C5(1),a1  
*SET,_FNCCSYS,13
*DIM,%_FNCNAME%,TABLE,7,38,1,,,,%_FNCCSYS%
%_FNCNAME%(0,0,1)= 0.0, -999
%_FNCNAME%(2,0,1)= 0.0
%_FNCNAME%(3,0,1)= %_FNC_C1(1)%
%_FNCNAME%(4,0,1)= %_FNC_C2(1)%
%_FNCNAME%(5,0,1)= %_FNC_C3(1)%
%_FNCNAME%(6,0,1)= %_FNC_C4(1)%
%_FNCNAME%(7,0,1)= %_FNC_C5(1)%
%_FNCNAME%(0,1,1)= 1.0, -1, 16, 3, 0, 0, 0
%_FNCNAME%(0,2,1)= 0.0, -2, 0, 6, 0, 0, -1
%_FNCNAME%(0,3,1)=   0, -3, 0, 1, -2, 3, -1
%_FNCNAME%(0,4,1)= 0.0, -1, 0, 1, -3, 3, 17
%_FNCNAME%(0,5,1)= 0.0, -2, 0, 1, -1, 3, 18
%_FNCNAME%(0,6,1)= 0.0, -1, 0, 0, 0, 0, 0
%_FNCNAME%(0,7,1)= 0.0, -3, 0, 1, 0, 0, -1
%_FNCNAME%(0,8,1)= 0.0, -4, 0, 1, -1, 2, -3
%_FNCNAME%(0,9,1)= 0.0, -1, 0, 3, 0, 0, -4
%_FNCNAME%(0,10,1)= 0.0, -3, 0, 1, -4, 3, -1
%_FNCNAME%(0,11,1)= 0.0, -1, 0, 2, 0, 0, 2
%_FNCNAME%(0,12,1)= 0.0, -4, 0, 1, 2, 17, -1
%_FNCNAME%(0,13,1)= 0.0, -1, 0, 2, 0, 0, 19
%_FNCNAME%(0,14,1)= 0.0, -5, 0, 1, 19, 17, -1
%_FNCNAME%(0,15,1)= 0.0, -1, 0, 1, -4, 4, -5
%_FNCNAME%(0,16,1)= 0.0, -4, 0, 2, 0, 0, 3
%_FNCNAME%(0,17,1)= 0.0, -5, 0, 1, 3, 17, -4
%_FNCNAME%(0,18,1)= 0.0, -4, 0, 2, 0, 0, 20
%_FNCNAME%(0,19,1)= 0.0, -6, 0, 1, 20, 17, -4
%_FNCNAME%(0,20,1)= 0.0, -4, 0, 1, -5, 4, -6
%_FNCNAME%(0,21,1)= 0.0, -5, 0, 1, -1, 1, -4
%_FNCNAME%(0,22,1)= 0.0, -1, 0, 2, 0, 0, 4
%_FNCNAME%(0,23,1)= 0.0, -4, 0, 1, 4, 17, -1
%_FNCNAME%(0,24,1)= 0.0, -1, 0, 2, 0, 0, 21
%_FNCNAME%(0,25,1)= 0.0, -6, 0, 1, 21, 17, -1
%_FNCNAME%(0,26,1)= 0.0, -1, 0, 1, -4, 4, -6
%_FNCNAME%(0,27,1)= 0.0, -4, 0, 1, -5, 1, -1
%_FNCNAME%(0,28,1)= 0.0, -1, 0, 1, -3, 3, -4
%_FNCNAME%(0,29,1)= 0.0, -1, 7, 1, -1, 0, 0
%_FNCNAME%(0,30,1)= 0.0, -3, 0, 1, -2, 3, -1
%_FNCNAME%(0,31,1)= 0.0, -1, 16, 3.14159265358979310, 0, 0, 0
%_FNCNAME%(0,32,1)= 0.0, -2, 0, 3.14159265358979310, 0, 0, -1
%_FNCNAME%(0,33,1)= 0.0, -4, 0, 1, -2, 3, -1
%_FNCNAME%(0,34,1)= 0.0, -1, 0, 1, -4, 3, 21
%_FNCNAME%(0,35,1)= 0.0, -2, 0, 1, -1, 3, 19
%_FNCNAME%(0,36,1)= 0.0, -1, 0, 1, -2, 3, 20
%_FNCNAME%(0,37,1)= 0.0, -2, 0, 1, -3, 4, -1
%_FNCNAME%(0,38,1)= 0.0, 99, 0, 1, -2, 0, 0
BF,FRONT,HGEN, %TFRONT%     
CMDELE,FRONT   
ALLSEL,ALL
!!!后半球节点的选取
LOCAL,12,2,0,yc,zz,,,,a2/b,c/a2,
NSEL,S,LOC,X,0,b
NSEL,R,LOC,y,-90,90
NSEL,R,LOC,z,270,360

CM,BEHIND,NODE
!!!后半球加载
LOCAL,14,0,0,yc,zz,,,,1,1,
!!!后半球函数、表格定义
*DEL,_FNCNAME   
*DEL,_FNCMTID   
*DEL,_FNC_C1
*DEL,_FNC_C2
*DEL,_FNC_C3
*DEL,_FNC_C4
*DEL,_FNC_C5
*DEL,_FNCCSYS
*DEL,'TBEHIND'  !!!!!!!!!   
*SET,_FNCNAME,'TBEHIND'
*DIM,_FNC_C1,,1
*DIM,_FNC_C2,,1
*DIM,_FNC_C3,,1
*DIM,_FNC_C4,,1
*DIM,_FNC_C5,,1
*SET,_FNC_C1(1),W   
*SET,_FNC_C2(1),f2
*SET,_FNC_C3(1),b   
*SET,_FNC_C4(1),c   
*SET,_FNC_C5(1),a2  
*SET,_FNCCSYS,14                     
*DIM,%_FNCNAME%,TABLE,7,38,1,,,,%_FNCCSYS%
%_FNCNAME%(0,0,1)= 0.0, -999
%_FNCNAME%(2,0,1)= 0.0
%_FNCNAME%(3,0,1)= %_FNC_C1(1)%
%_FNCNAME%(4,0,1)= %_FNC_C2(1)%
%_FNCNAME%(5,0,1)= %_FNC_C3(1)%
%_FNCNAME%(6,0,1)= %_FNC_C4(1)%
%_FNCNAME%(7,0,1)= %_FNC_C5(1)%
%_FNCNAME%(0,1,1)= 1.0, -1, 16, 3, 0, 0, 0
%_FNCNAME%(0,2,1)= 0.0, -2, 0, 6, 0, 0, -1
%_FNCNAME%(0,3,1)=   0, -3, 0, 1, -2, 3, -1
%_FNCNAME%(0,4,1)= 0.0, -1, 0, 1, -3, 3, 17
%_FNCNAME%(0,5,1)= 0.0, -2, 0, 1, -1, 3, 18
%_FNCNAME%(0,6,1)= 0.0, -1, 0, 0, 0, 0, 0
%_FNCNAME%(0,7,1)= 0.0, -3, 0, 1, 0, 0, -1
%_FNCNAME%(0,8,1)= 0.0, -4, 0, 1, -1, 2, -3
%_FNCNAME%(0,9,1)= 0.0, -1, 0, 3, 0, 0, -4
%_FNCNAME%(0,10,1)= 0.0, -3, 0, 1, -4, 3, -1
%_FNCNAME%(0,11,1)= 0.0, -1, 0, 2, 0, 0, 2
%_FNCNAME%(0,12,1)= 0.0, -4, 0, 1, 2, 17, -1
%_FNCNAME%(0,13,1)= 0.0, -1, 0, 2, 0, 0, 19
%_FNCNAME%(0,14,1)= 0.0, -5, 0, 1, 19, 17, -1
%_FNCNAME%(0,15,1)= 0.0, -1, 0, 1, -4, 4, -5
%_FNCNAME%(0,16,1)= 0.0, -4, 0, 2, 0, 0, 3
%_FNCNAME%(0,17,1)= 0.0, -5, 0, 1, 3, 17, -4
%_FNCNAME%(0,18,1)= 0.0, -4, 0, 2, 0, 0, 20
%_FNCNAME%(0,19,1)= 0.0, -6, 0, 1, 20, 17, -4
%_FNCNAME%(0,20,1)= 0.0, -4, 0, 1, -5, 4, -6
%_FNCNAME%(0,21,1)= 0.0, -5, 0, 1, -1, 1, -4
%_FNCNAME%(0,22,1)= 0.0, -1, 0, 2, 0, 0, 4
%_FNCNAME%(0,23,1)= 0.0, -4, 0, 1, 4, 17, -1
%_FNCNAME%(0,24,1)= 0.0, -1, 0, 2, 0, 0, 21
%_FNCNAME%(0,25,1)= 0.0, -6, 0, 1, 21, 17, -1
%_FNCNAME%(0,26,1)= 0.0, -1, 0, 1, -4, 4, -6
%_FNCNAME%(0,27,1)= 0.0, -4, 0, 1, -5, 1, -1
%_FNCNAME%(0,28,1)= 0.0, -1, 0, 1, -3, 3, -4
%_FNCNAME%(0,29,1)= 0.0, -1, 7, 1, -1, 0, 0
%_FNCNAME%(0,30,1)= 0.0, -3, 0, 1, -2, 3, -1
%_FNCNAME%(0,31,1)= 0.0, -1, 16, 3.14159265358979310, 0, 0, 0
%_FNCNAME%(0,32,1)= 0.0, -2, 0, 3.14159265358979310, 0, 0, -1
%_FNCNAME%(0,33,1)= 0.0, -4, 0, 1, -2, 3, -1
%_FNCNAME%(0,34,1)= 0.0, -1, 0, 1, -4, 3, 21
%_FNCNAME%(0,35,1)= 0.0, -2, 0, 1, -1, 3, 19
%_FNCNAME%(0,36,1)= 0.0, -1, 0, 1, -2, 3, 20
%_FNCNAME%(0,37,1)= 0.0, -2, 0, 1, -3, 4, -1
%_FNCNAME%(0,38,1)= 0.0, 99, 0, 1, -2, 0, 0
BF,BEHIND,HGEN, %TBEHIND%   
CMDELE,BEHIND
ALLSEL,ALL

SOLVE
BFDELE,all,HGEN
*ENDDO
TIME=TIME+20
NSUBST,20, 20,20                                                         
TIME,TIME
SOLVE  
TIME=TIME+760
NSUBST,10,10,10                                                         
TIME,TIME
SOLVE
发表于 2016-5-8 15:32 | 显示全部楼层
  抱歉,上一次看的不仔细,你的热源确实是移动的,问题是选择受热节点不正确。
  你的循环一共执行 N 步,由命令   N=0.5*3.14159/STEP   得到  N = 78.54,实际执行到 78 步。
  在每个循环中,使用两个由节点组成的  Component  front 和 behind 进行加载,但是这些 Component 有问题,我把每次循环输出的两个 Component 记录下来,然后查看其中的内容,结果发现有相当多的 Component 中并没有节点,也就是说,热源位置移动了,但是由于选择加载节点有问题,造成很多循环实际上并没有加载。    以下各图分别是不同循环时,两个 Component 中的节点个数,每一行由 Component 名、实体类型和实体个数组成,其中,第 i 次循环的i Component 名以 front 或 behind 后面加上循环变量 i 的数值构成:实体类型都是 Nodes;实体个数为 0 不是该 Component 中没有节点。
    component-behind-1.jpg

component-behind-2.jpg
component-behind-3.jpg
component-front-1.jpg
component-front-2.jpg
component-front-3.jpg






  应该是确定加载节点部分的命令流有问题,你自己找一下问题并修改一下吧。

评分

1

查看全部评分

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-11-6 09:38 , Processed in 0.075048 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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