找回密码
 注册
查看: 3343|回复: 3

Fluent 怎样输出节点编号?

[复制链接]
发表于 2009-6-2 14:37:41 | 显示全部楼层 |阅读模式

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

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

x
请问Fluent 怎样输出Global node index number呢?
看手册里好像需要用到UDF,因为用到Fluent的机会不多,希望能有见效更快的方法,有没有大哥大姐能给点建议啊?
我的目标是从Fluent里面导出节点编号和相应的压强、速度值,export里面只能导出从1开始的local node number.

google上搜到ensight的fluent 阅读器好像有类似的功能,
With the 2008 Winter Release of EnSight, CEI has improved the FLUENT reader in the following ways:

Faster data loading:  5-13 times faster from CEI's internal testing

More complete     

Correct variable names

Node ids and element ids are included. Node ids are created from the coordinate global node.  Element ids are arbitrarily created in sequence and are non-unique
Species names are preserved
Verbose and Debug output mode to help diagnose problems
Complete options for transient data
Time is handled correctly.  Solution time can be read from each .cas file or can be calculated using a single delta and the file number offset

就是不知道这里的Node ids是不是就是建模时所生成的mesh node.
如果非得用UDF,也请大家能指导下从何处入手。谢谢啦
发表于 2009-6-2 19:34:38 | 显示全部楼层
同求!!!!
发表于 2009-6-3 08:36:52 | 显示全部楼层
前一阵正好做过测试,udf检索node时,如果没有对其进行特殊操作,node index应该就是读入fluent时node的序号,所以在计算时node在内存中的分配很可能就是按照初始网格的node顺序排列,只需加入一个内存偏移地址,cell就不是很清楚了,udf检索时好像总是在一个内存位置读取每一个激活的cell。
不知道哪位大虾能够从北美fluent那边拿到fluent计算时的数组分配的资料?
 楼主| 发表于 2009-6-3 11:12:20 | 显示全部楼层
谢谢楼上提供的信息!!!
如果node index就是读入fluent的node编号,那么UDF就有可能把这个编号输出来了?
有机会试试,然后再发上来。还是有人有这个需求的,就是还没看到解答
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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