iCAx开思网

标题: ansys命令 [打印本页]

作者: mahao1984007    时间: 2009-6-28 13:22
标题: ansys命令
multipro,'start',6  !多参数输入窗口,定义板材的长宽高以及板材曲率半径(中性层),基本体半径,基本体间距
*cset,1,3,Length,'Length of blank(m):',0.5
*cset,4,6,Width,'Width of blank(m):',0.5
*cset,7,9,Height,'Height of blank(m):',0.005
*cset,10,12,Rad_bk,'to neutral layer(m):',0.1
*cset,13,15,Rad_pun,'Radius of punch(m):',0.025
*cset,16,18,Dist_pun,'Dist between punch centers(m):',0.05
multipro,'end'
*IF,_BUTTON,EQ,1,THEN !如果选择cancel按钮终止运行宏
    /EOF
*ENDIF
*SET,m,Length/Dist_pun+1    !根据输入的最终成形的板材长度和宽度计算出m和n,设置基本体的个数为m*n,与上一步的衔接有问题,不能一起输入,分开输入可以继续运行宏
*SET,n,Width/Dist_pun+1




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3