注册 登录
Simwe仿真论坛(forum.simwe.com),CAE/CAD/CAM/,FEA/FEM/有限元分析论坛---(手机验证注册) 返回首页

njweiwei2的个人空间 https://home.simwe.com/?164327 [收藏] [复制] [分享] [RSS]

日志

如何在同一张曲线图里画出两条路径的结果?

已有 1286 次阅读2011-1-13 20:56 |个人分类:ANSYS使用技巧

相信大家经常遇到一个问题:需要在同一张曲线图里面画出两条路径的结果;但是ANSYS不能同时操作两条路径。怎么办?以下是本人编辑的一段命令流,希望作为例子,可以帮助大家解决这个问题:
 
path,path1                      ! Recall path1
paget,path1,table               ! Archive all data of path1 to array 'path1'
path,path2                      ! Recall path2
paget,path2,table               ! Archive all data of path1 to array 'path2'
*get,n_row,parm,path1,dim,1     ! Get rows of 'path1'
*dim,curve,table,n_row,3,1      ! Define table 'curve'
*do,n,1,n_row,1
      curve(n,1)=path1(n,1)    
      curve(n,2)=path1(n,4)     ! set the 2nd column of 'curve' equal the first results of path1
      curve(n,3)=path2(n,4)     ! set the 3nd column of 'curve' equal the first results of path2
*enddo
*vplot,curve(1,1),curve(1,2),3  ! Plot curves

路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

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

GMT+8, 2024-4-18 14:27 , Processed in 0.024331 second(s), 14 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

返回顶部