马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
/PREP7 <BR>!********************* <BR>ET,1,SOLID70 !thermal solid <BR><BR>MP,KXX,1,.5e-3 !weld on right <BR>MP,C,1,.2 <BR>MP,DENS,1,.2833 <BR>MPTEMP,1,0,2643,2750,2875,3000 !enthalpy as function of time <BR>MPDATA,ENTH,1,1,0,128.1,163.8,174.2,184.6 <BR><BR>MP,KXX,2,.5e-3 !solid material <BR>MP,C,2,.2 <BR>MP,DENS,2,.2833 <BR><BR>MP,KXX,3,0.5e-3 !weld on left <BR>MP,C,3,.2 !for t=[0,1000]: only right weld, left weld has no therm conduct <BR>MP,DENS,3,.2833 !for t>1000: left weld is activated <BR><BR>W=1.20 <BR>TL=.34 <BR>TWELD=.2 ! weld thickness <BR>TPIVOT=TL ! thickness of support bar <BR>TPHALF=TPIVOT/2 <BR>WIDTH=W ! width of support bar <BR>WHALF=WIDTH/2 <BR>LCYL=2.5 ! length of cylinder <BR>LHALF=LCYL/2 <BR>RID=.50 ! inside radius of cylinder <BR>ROD=.75 ! outside radius of cylinder <BR>*AFUN,DEG <BR>ANG1=50-ASIN(TPHALF/ROD)-2*ASIN(TWELD/(2*ROD)) <BR>ANG2=50-ASIN(TPHALF/ROD) <BR>ANG3=50+ASIN(TPHALF/ROD) <BR>ANG4=50+ASIN(TPHALF/ROD)+2*ASIN(TWELD/(2*ROD)) <BR>WPST,-1 ,1 ,-10 ,10 ,.003 ,3 <BR><BR>/PNUM,VOLU,1 <BR>/VIEW,1,-.2,.2,1 <BR>CYLIND,RID,ROD,-LHALF,-WHALF,-90,ANG1 <BR>CYLIND,RID,ROD,-WHALF,+WHALF,-90,ANG1 <BR>CYLIND,RID,ROD,+WHALF,+LHALF,-90,ANG1 <BR>CYLIND,RID,ROD,-LHALF,-WHALF,ANG1,ANG2 <BR>CYLIND,RID,ROD,-WHALF,+WHALF,ANG1,ANG2 <BR>CYLIND,RID,ROD,+WHALF,+LHALF,ANG1,ANG2 <BR>CYLIND,RID,ROD,-LHALF,-WHALF,ANG2,ANG3 <BR>CYLIND,RID,ROD,-WHALF,+WHALF,ANG2,ANG3 <BR>CYLIND,RID,ROD,+WHALF,+LHALF,ANG2,ANG3 <BR>CYLIND,RID,ROD,-LHALF,-WHALF,ANG3,ANG4 <BR>CYLIND,RID,ROD,-WHALF,+WHALF,ANG3,ANG4 <BR>CYLIND,RID,ROD,+WHALF,+LHALF,ANG3,ANG4 <BR>CYLIND,RID,ROD,-LHALF,-WHALF,ANG4,90 <BR>CYLIND,RID,ROD,-WHALF,+WHALF,ANG4,90 <BR>CYLIND,RID,ROD,+WHALF,+LHALF,ANG4,90 <BR><BR>/TYPE,1,4 <BR>WPROT,50 ! vol 16 (used to trim welds) <BR>BLOCK,.6,rod*cos(asin(tphalf/rod))+tweld,-tphalf,tphalf,-whalf,whalf <BR>CSWPLA,11,0 <BR>KSEL,S,LOC,X,.75*COS(ASIN(TPHALF/ROD)) <BR>KSEL,R,LOC,Y,-TPHALF <BR>KSEL,R,LOC,Z,LHALF <BR>*GET,KNUM1,KP,,NUM,MAX <BR>KSEL,S,LOC,X,.75*COS(ASIN(TPHALF/ROD)) <BR>KSEL,R,LOC,Y,TPHALF <BR>KSEL,R,LOC,Z,LHALF <BR>*GET,KNUM2,KP,,NUM,MAX <BR>KSEL,ALL <BR>WPRO,-50 <BR>CSYS,0 <BR>LOCAL,12,0,KX(KNUM1),KY(KNUM1) <BR>CSYS,0 <BR>LOCAL,13,0,KX(KNUM2),KY(KNUM2) <BR>WPCSYS,-1,12 <BR>VSEL,U,,,1,16 <BR>CYLIND,,TWELD,-WHALF,WHALF,(ANG1+ANG2)/2-90,70 <BR>/DIST,1,.6 <BR>/FOCUS,1,.47,.59 <BR>WPCSYS,-1,13 <BR>CYLIND,,TWELD,-WHALF,WHALF,35,90+(ANG3+ANG4)/2 <BR>VSEL,ALL <BR>BOPT,keep,yes, <BR>bopt,version,rv52 <BR>VSEL,S,,,5,17,12 <BR>VSBV,17,5 <BR>VSEL,A,,,16,19,3 <BR>VSBV,19,16 <BR>VSEL,A,,,11,18,7 <BR>VSBV,18,11 <BR>VSEL,A,,,16,21,5 <BR>VSBV,21,16 <BR>VSEL,ALL <BR>WPSTYLE,default <BR>/FOCUS,,.5,.5 <BR>/DIST,1,.6 <BR>CYLIN,.6,SQRT((ROD+.01)**2+TPHALF**2),-2,+2,10,90 <BR>BOPT,keep,no <BR>VSEL,S,,,20,22,2 <BR>VSEL,A,,,23 <BR>VSEL,ALL <BR>VOVLAP,20,22,23 <BR>VDELE,16,21,1,1 <BR>VDELE,28,,,1 <BR>/TYPE,1,4 <BR ><BR > |