找回密码
 注册
查看: 1975|回复: 1

请问高手怎么获取cell总个数

[复制链接]
发表于 2011-1-24 20:57:41 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

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

x
请问fluent提供获取cell总个数的API了吗?
谢谢!
发表于 2011-1-25 23:19:33 | 显示全部楼层
/* Loop over cells in a thread to get information stored in cells. */
  int count_cell_number=0;
  begin_c_loop(c, c_thread)
    {
     /* C_T gets cell temperature. The += will cause all of the cell
        temperatures to be added together. */
      count_cell_number++;
      temp += C_T(c, c_thread);
    }
  end_c_loop(c, c_thread)
}
参考帮助文件
D:\Program Files\Fluent.Inc\help\html\udf\node97.htm
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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