24小时热门版块排行榜    

查看: 743  |  回复: 2
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

阿姨拿高分

铜虫 (初入文坛)

[求助] apdl 粘接时出现问题 但粘接面未出现没接触或重叠的现象 已有1人参与

如题,程序(直到建模)如下
finish
/clear
/title, thermoelectric generator
/VUP,1,y
/VIEW,1,1,1,1
/TRIAD,OFF
/NUMBER,1
/PNUM,MAT,1
/nopr
/prep7
!Set parameters, Units m
*afun,deg
r=180e-3
R0=185e-3
R2=190e-3
n=36                           ! 齿数
Z=44e-3                           ! 热电器件宽
theta=360/n
theta2=30                           ! theta<theta2<arctan(theta*pi*R3/((R3-R2)*180)齿形  再大也行
R3=R2+(Z+10e-3)*cos(theta2-theta)                         ! 最优齿高
d0=3.4e-3
m=2e-3
Toffst=273
hair=10
tair=30
h0=200
t0=300

mp,kxx,1,201
mp,kxx,2,2.6
! Element type   
et,1,90                            ! 20-node thermo-electric brick

k,1,0,0,0
circle,1,R2
cylind,R0,R3,0,Z,0,theta
cylind,r,R0,0,Z,0,theta
adrag,1,,,,,,15
vsba,1,13,sepo,delete,delete
wprot,theta,90,0
wpoffs,R3,0,0
wprot,0,0,theta2-theta
vsbw,3,sepo,delete
vadd,4,1
vgen,2,5,,1,d0/sin(theta2),0,0
vdele,5,,1,1
vplot
allsel
aadd,17,2
aadd,14,3
aadd,16,1
vplot,all
numcmp,all
wpoffs,-Z,0,0
wprot,0,-90,90
cswpla,11,0
allsel,all
block,0,-Z,0,-d0,0,Z
vglue,all
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

阿姨拿高分

铜虫 (初入文坛)

送红花一朵
引用回帖:
2楼: Originally posted by shgao20 at 2016-11-10 09:49:13
你的体积 1 有问题,它是一个六面体,应该有 8 个角点 (KP 点),但是却有 10 个角点:
LIST ALL SELECTED KEYPOINTS.   DSYS=      0

     NO.                X,Y,Z LOCATION                    THXY,THYZ,TH ...

哇 谢谢大神!!!
3楼2016-11-10 10:04:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 3 个回答

shgao20

专家顾问 (职业作家)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
阿姨拿高分: 金币+10, ★★★★★最佳答案 2016-11-10 10:07:34
你的体积 1 有问题,它是一个六面体,应该有 8 个角点 (KP 点),但是却有 10 个角点:
LIST ALL SELECTED KEYPOINTS.   DSYS=      0

     NO.                X,Y,Z LOCATION                    THXY,THYZ,THZX ANGLES
      20 0.1962605     0.1430807E-01  0.000000         0.0000   0.0000   0.0000
      21 0.1962605     0.1430807E-01 0.4400000E-01     0.0000   0.0000   0.0000
      22 0.2438860     0.4180465E-01  0.000000         0.0000   0.0000   0.0000
      23 0.2438860     0.4180465E-01  0.000000         0.0000   0.0000   0.0000
      24 0.2438860     0.4180465E-01 0.4400000E-01     0.0000   0.0000   0.0000
      25 0.2438860     0.4180465E-01 0.4400000E-01     0.0000   0.0000   0.0000
      26 0.2475434      0.000000     0.4400000E-01     0.0000   0.0000   0.0000
      27 0.1968000      0.000000     0.4400000E-01     0.0000   0.0000   0.0000
      29 0.2475434      0.000000      0.000000         0.0000   0.0000   0.0000
      32 0.1968000      0.000000      0.000000         0.0000   0.0000   0.0000
    其中 KP 点 22 与 23,24 与 25 坐标相同,因此它不是一个正常的体,不能参与 GLUE 操作。
    在 glue 之前,做一次合并关键点的操作就可以了。修改后的命令流如下:
finish
/clear
/filn, thermoelectric
/title, thermoelectric generator

/VUP,1,y
/VIEW,1,1,1,1
/TRIAD,OFF
/NUMBER,1
/PNUM,MAT,1
/nopr
/prep7
!Set parameters, Units m
*afun,deg
r=180e-3
R0=185e-3
R2=190e-3
n=36                           ! 齿数
Z=44e-3                           ! 热电器件宽
theta=360/n
theta2=30                           ! theta<theta2<arctan(theta*pi*R3/((R3-R2)*180)齿形  再大也行
R3=R2+(Z+10e-3)*cos(theta2-theta)                         ! 最优齿高
d0=3.4e-3
m=2e-3
Toffst=273
hair=10
tair=30
h0=200
t0=300

mp,kxx,1,201
mp,kxx,2,2.6
! Element type   
et,1,90                            ! 20-node thermo-electric brick

k,1,0,0,0
circle,1,R2
cylind,R0,R3,0,Z,0,theta
cylind,r,R0,0,Z,0,theta
adrag,1,,,,,,15
vsba,1,13,sepo,delete,delete
wprot,theta,90,0
wpoffs,R3,0,0
wprot,0,0,theta2-theta
vsbw,3,sepo,delete
vadd,4,1
vgen,2,5,,1,d0/sin(theta2),0,0
vdele,5,,1,1
vplot
allsel
aadd,17,2
aadd,14,3
aadd,16,1
vplot,all
numcmp,all
wpoffs,-Z,0,0
wprot,0,-90,90
cswpla,11,0
allsel,all
block,0,-Z,0,-d0,0,Z
nummrg,kp
vglue,all

» 本帖已获得的红花(最新10朵)

2楼2016-11-10 09:49:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见