ansys环焊加载热源
外径1m的圆环,想要在其表面施加移动热源,但是结果热源不动,大家帮看看命令流哪里出错了呗,谢谢/clear/config,nres,10000/filname,welding/prep7/units,sitoffst,273TUNIF,0et,1,solid70et,2,solid90 MPTEMP,,,,,,,,MPTEMP,1,20 MPTEMP,2,200MPTEMP,3,400MPTEMP,4,600MPTEMP,5,800MPTEMP,6,1000MPTEMP,7,1200MPDATA,C,1,,286MPDATA,C,1,,381 MPDATA,C,1,,487MPDATA,C,1,,593MPDATA,C,1,,699MPDATA,C,1,,805MPDATA,C,1,,911MPDATA,KXX,1,,52MPDATA,KXX,1,,54MPDATA,KXX,1,,53MPDATA,KXX,1,,49MPDATA,KXX,1,,42MPDATA,KXX,1,,32MPDATA,KXX,1,,18MPDATA,DENS,1,,7896MPDATA,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,,0MPDATA,ENTH,1,,94600 MPDATA,ENTH,1,, 214400MPDATA,ENTH,1,,359400MPDATA,ENTH,1,,529600MPDATA,ENTH,1,,725000MPDATA,ENTH,1,,945600MPDATA,HF,1,,0MPDATA,HF,1,, 2MPDATA,HF,1,, 4.3MPDATA,HF,1,,6.8MPDATA,HF,1,,10MPDATA,HF,1,,14.5MPDATA,HF,1,,20.5MP,REFT,1,20MP,REFT,2,1200 Width=0.1Height=0.03Ar=0.02/0.01732 K,1,-0.05,0.97,0K,2,0,0.97,0K,3,0.05,0.97,0K,4,0,0.98,0K,5,-0.05,1,0K,6,-0.01155,1,0K,7,0.01155,1,0K,8,0.05,1,0K,9,-1,0,0K,10,1,0,0Larc,6,7,4,0.0231A,1,2,4,6,5A,4,6,7A,2,4,7,8,3L,9,10Vrotat,1,2,3,,,,9,10,,Vadd,1,4,7,10Vadd,2,5,8,11Vadd,3,6,9,12numcmp,all VSEL,S,VOLUME,,2,3,1,VATT,1,,1ESIZE,0.008SMARTSIZEMSHKEY,0MSHAPE,1,3DVMESH,2,3VSEL,S,VOLUME,,1,,VATT,1,,2ESIZE,0.006SMARTSIZEMSHKEY,0MSHAPE,1,3DVMESH,1Nummrg,nodeALLSFINISH /soluNLGEOM,ONNROPT,FULL,,ONOUTPR, ALL, ALLoutres,ALL,allkbc,1antype,transtimint,offAUTOTS,1NSUBST,2, , ,1d,all,temp,20time,0.01Solve vsel,s,volu,,1,1,1ESLV, S, 2EKILL, ALLESEL, ALLTIME, 0.02Solve timint,on,therddele,all,tempTIME=0.02 NSEL,S,EXTNSEL,U,LOC,x,0SF,ALL,CONV,25,0 ALLSEL,ALL U=20I1=160V=0.01YITA=0.7 D=0.012b=2*Da1=0.5*Da2=1.2*Dc=0.0035f1=2*a1/(a1+a2)f2=2*a2/(a1+a2) W=U*I1*YITA STEP=0.02N=0.5*3.14159/STEP TIME_INC=STEP/V *DO,I,1,Nzz=i*stepYY=1-I*STEPTIME=TIME+TIME_INCTIME,TIMELNSRCH,ONVSEL, S,volu,,1,1,1ESLV, S, 2nsel,r,loc,z,0,zzNSEL,A,LOC,Y,1,YYESLN, Realive,allalls LOCAL,11,2,0,YY,zz, , , ,b/a1,c/a1,NSEL,S,LOC,X,0,BNSEL,R,LOC,y,-90,90NSEL,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, 0BF,FRONT,HGEN, %TFRONT% CMDELE,FRONT ALLSEL,ALL LOCAL,12,2,0,YY,zz,,,,a2/b,c/a2,NSEL,S,LOC,X,0,bNSEL,R,LOC,y,-90,90NSEL,R,LOC,z,270,360 CM,BEHIND,NODEALLSEL,ALLLOCAL,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, 0BF,BEHIND,HGEN, %TBEHIND% CMDELE,BEHINDALLSEL,ALL SOLVE BFDELE,all,HGEN *ENDDO
你的热载荷施加在节点 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 中的节点是不变的,加载位置也就不会改变。 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
抱歉,上一次看的不仔细,你的热源确实是移动的,问题是选择受热节点不正确。
你的循环一共执行 N 步,由命令 N=0.5*3.14159/STEP 得到N = 78.54,实际执行到 78 步。
在每个循环中,使用两个由节点组成的Componentfront 和 behind 进行加载,但是这些 Component 有问题,我把每次循环输出的两个 Component 记录下来,然后查看其中的内容,结果发现有相当多的 Component 中并没有节点,也就是说,热源位置移动了,但是由于选择加载节点有问题,造成很多循环实际上并没有加载。 以下各图分别是不同循环时,两个 Component 中的节点个数,每一行由 Component 名、实体类型和实体个数组成,其中,第 i 次循环的i Component 名以 front 或 behind 后面加上循环变量 i 的数值构成:实体类型都是 Nodes;实体个数为 0 不是该 Component 中没有节点。
应该是确定加载节点部分的命令流有问题,你自己找一下问题并修改一下吧。
页:
[1]