找回密码
 注册
Simdroid-非首页
查看: 152|回复: 2

[后处理] ANSYS后处理如何让查看两个面的夹角

[复制链接]
发表于 2012-11-4 14:55:00 | 显示全部楼层 |阅读模式 来自 北京
如题,非常感谢
发表于 2012-11-4 15:12:53 | 显示全部楼层 来自 湖北武汉
Simdroid开发平台
NORMNX(N1,N2,N3) X-direction cosine of the normal to the plane containing nodes N1, N2, and N3.
NORMNY(N1,N2,N3) Y-direction cosine of the normal to the plane containing nodes N1, N2, and N3.
NORMNZ(N1,N2,N3) Z-direction cosine of the normal to the plane containing nodes N1, N2, and N3.
NORMKX(K1,K2,K3) X-direction cosine of the normal to the plane containing keypoints K1, K2, and K3.
NORMKY(K1,K2,K3) Y-direction cosine of the normal to the plane containing keypoints K1, K2, and K3.
NORMKZ(K1,K2,K3) Z-direction cosine of the normal to the plane containing keypoints K1, K2, and K3.

可使用上述函数计算两面法线夹角

评分

1

查看全部评分

回复 不支持

使用道具 举报

发表于 2012-11-4 20:29:18 | 显示全部楼层 来自 陕西西安
本帖最后由 civilman狼人 于 2012-11-4 20:30 编辑

si13 所言极是,我这里举个实例,然后计算出两平面间的夹角。
ansys建立的模型及对应的命令流如下:

finish
/clear
/PREP7
BLOCK,,1,,1,,1,
wprot,0,0,-45
VSBW,1   
vdele,2,,,1

!欲计算面2和面9的夹角。
*afun,deg
ax=NORMKX(1,2,6)  !关键点1,2,6属于平面9
ay=NORMKY(1,2,6)
az=NORMKZ(1,2,6)

bx=NORMKX(1,2,5)   !关键点1,2,5属于平面2
by=NORMKY(1,2,5)
bz=NORMKZ(1,2,5)
theta=acos((ax*bx+ay*by+az*bz)/(sqrt(ax*ax+ay*ay+az*az)*sqrt(bx*bx+by*by+bz*bz)))  !面2与9夹角即为theta=45度,该公式可从高数课本或高中数学查到。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×

评分

1

查看全部评分

回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-9-23 07:30 , Processed in 0.029105 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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