24小时热门版块排行榜    

查看: 881  |  回复: 0

idoling

新虫 (初入文坛)

[求助] ansys 输出节点号

各位好,小妹有个问题请教。
我写了个程序求圆周边上所有的节点号,结果保存文件却没有具体数值,全部是星号*****。
/post1

*Dim, MyNodeNoArray,array, 800 !Array used to save nodes No.
cmsel,s,l1,1 !Select the component you want
*Get,NoNodes,node,0,count !Get the number of nodes in the selected set
SelNode=0 !Counter to save the selected node number
*Do,i,1,NoNodes
NodeNo=NDNEXT(SelNode) !NDNEXT(N) Next selected node having a node number greater than N.
MyNodeNoArray(i)= NodeNo
SelNode=NodeNo
*Enddo
*mwrite,MynodeNoArray,nodenumber,txt
(f6.2)
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

找到一些相关的精华帖子,希望有用哦~

科研从小木虫开始,人人为我,我为人人
相关版块跳转 我要订阅楼主 idoling 的主题更新
信息提示
请填处理意见