|
楼主 |
发表于 2005-3-13 12:35:23
|
显示全部楼层
DUNS网格数据和拓扑文件转换小程序
下面引用由liujw512在 2005/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.
|
|