找回密码
 注册
查看: 2371|回复: 6

DUNS网格数据和拓扑文件转换小程序

[复制链接]
发表于 2005-3-12 19:02:50 | 显示全部楼层 |阅读模式

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

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

x
[这个贴子最后由wangdingxi在 2005/03/12 08:57pm 第 1 次编辑]

该应用程序能够将CFD-GEOM输出的plot3d网格数据(formatted,with/without IBlank info.)转换成DUNS可直接利用的网格数据(formatted),并且能够将CFD-GEOM输出的IBC文件内的网格拓扑内容转换成DUNS可直接利用的拓扑数据。
需要注意的是,
1.在用CFD-GEOM生成网格数据时,必须生成结构化网格;
2.必须定义网格的边界条件,且给每一个物理边界一个数字(大于0),不能用英文名称,这些数字在后面书写script2文件时中的边界条件时会用到。
3.只能转换二维网格数据和拓扑数据
发表于 2005-3-13 11:40:46 | 显示全部楼层

DUNS网格数据和拓扑文件转换小程序

非常感谢这个小东东。能不能详细的说一说这个CFD-GEOM的IBC文件所代表的含义,我看了好长时间都没看懂。可给我发邮件:liujw512@hotmail.com.
  非常感谢!
 楼主| 发表于 2005-3-13 12:35:23 | 显示全部楼层

DUNS网格数据和拓扑文件转换小程序

下面引用由liujw5122005/03/13 11:40am 发表的内容:
非常感谢这个小东东。能不能详细的说一说这个CFD-GEOM的IBC文件所代表的含义,我看了好长时间都没看懂。可给我发邮件:liujw512@hotmail.com.
  非常感谢!
CFD-GEOM的用户手册上有说明。现复制下来,如下:
The .IBC file is created when the Save Structured Grid / Save GEOM
option is invoked. The .IBC file, in conjunction with the Plot3D grid
file, is the current mechanism used to transmit interface, boundary
condition and cell type information for structured grid datasets, as
well as the relationship between the Plot3D information and CFD-
GEOM database, to a flow solver. The CFD-ACE Graphical User
Interface relies on this information extensively.
The file is divided into the following three separate sections:
• Interface information
• Boundary condition information
• Cell type information
Comments can be placed anywhere in the file. A comment line has an
“!” as the first character of its line. Additionally, the first line of the
file has a comment line that indicates the .IBC file version number.
The domain interface information is automatically provided by CFD-
GEOM. For 3-D, a domain interface exists if a face is shared by two
different blocks, while for 2-D an interface exists if an edge is shared
by two 2-D blocks. The boundary condition and cell type (volume
condition) information is set by the user in either the Boundary Con-
ditions or Volume Conditions window. Boundary conditions may be
set on edges (2-D) or faces (3-D) while volume conditions may be set
on faces (2-D) or blocks (3-D). All entities, even those for which no
boundary or volume condition was specified, are output to the .IBC
file.
Block Interface Data
Record                Contents
1     Num_interfaces
2-N+1 Key  id  if  il  jf  jl  kf  kl  idm
where
Num_interfaces = total number of block interfaces
Key = unique integer number specifying the CFD-GEOM
entity to which this interface refers
id = is the domain number of the interface
if, il = are the first and last i-indices of the interface
jf, jl = are the first and last j-indices of the interface
kf, kl = are the first and last k-indices of the interface
idm = the domain number that contains the matching  inter-
face
Boundary Condition Data
Record         Contents
1               Num_bc
2-N+1 Key  id  if  il  jf  jl kf  kl  string1  string2  string3
where
Num_bc = the total number of boundary conditions
Key = unique integer number specifying the CFD-GEOM entity
to which this boundary condition applies
id = domain number of boundary condition
if, il = the first and last i-indices of the bc
jf, jl = the first and last j-indices of the bc
kf, kl = the first and last k-indices of the bc
string1 = boundary condition type
string2 = boundary condition sub-type
string3 = character identifier for the boundary condition
Cell Type Data
Record         Contents
1 Num_cell_type_records
2-N+1 Key  id  if  il  jf  jl  kf  kl  string1  string2  string3
where all parameters are as defined in the Boundary Condition Data
except that the strings refer to the cell types.
发表于 2005-3-13 15:32:45 | 显示全部楼层

DUNS网格数据和拓扑文件转换小程序

我给你发了一封邮件不知你看了没有。望回信。
 楼主| 发表于 2005-3-13 21:50:43 | 显示全部楼层

DUNS网格数据和拓扑文件转换小程序

下面引用由liujw5122005/03/13 03:32pm 发表的内容:
我给你发了一封邮件不知你看了没有。望回信。
I';ve replied and check your email,please
发表于 2005-3-14 13:32:18 | 显示全部楼层

DUNS网格数据和拓扑文件转换小程序

不知道怎么搞的,这个转换工具转换出来的数据好像有点问题。在计算时迭代了几步就有有错误。
错误是:
      Program is stopping due to non-physical temperatures。
为什么呢?
谢谢回复!
      
 楼主| 发表于 2005-3-14 17:03:40 | 显示全部楼层

DUNS网格数据和拓扑文件转换小程序

下面引用由liujw5122005/03/14 01:32pm 发表的内容:
不知道怎么搞的,这个转换工具转换出来的数据好像有点问题。在计算时迭代了几步就有有错误。
错误是:
      Program is stopping due to non-physical temperatures。
为什么呢?
...
有可能你操作有点问题,在输出ibc文件之前,你必须给各个物理边界标号(对应于cfd-geom中边界的Name)
出现Program is stopping due to non-physical temperatures。的原因多着呢。
总的来说,计算得到的温度出现了负值。这有可能你的流场初始化有问题,或者某些参数设置不合理。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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