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

ASD2CGNS 请求帮助

[复制链接]
发表于 2011-1-5 21:50:19 | 显示全部楼层 |阅读模式

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

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

x
麻烦大侠帮我翻译下。。。这个搞不懂。。我现在有ASD的声源文件了 想要转换成CGNS格式的文件  这个是ASD2CGNS。EXE的说明书  老是转换不成功  急用。。先谢谢大家了


/************************************************************************/
/* Tranformation of .asd files coming from Fluent to .cgns/ascii files  */
/* von Karman Institute for Fluid Dynamics                              */
/************************************************************************/
              
Program is run with the command :
    ./asd2cgns.o (.exe on windows) grid.data acoustic.index cgns_root (z_coord)

where
- grid.data is the data file coming from Fluent including grid
  point positions
- acoustic.index is the index file of the asd acoustic files
- cgns_root is the root of cgns filename
- z_coord (required only for 2d applications) : z coordinates for z expansion

the z_coord file should have for example the following structure :

3
0.1
0.2
0.5

where the first line is the number z coordinates and the following lines the
corresponding coordinates for the z expansion.
In this case, 3 z-coordinates (0.1,0.2,0.5).

This program can deal with :
- 2D or 3D data
- data coming from single or double precision solver
- Multi-zone exportation in fluent
- surface and volume sources
  -- surface sources are writen in _dipo cgns files
  -- volume sources are writen in _quad cgns files (ascii files in 2D instead of volume files)


!!!!! Warning !!!!!
- All the files should be placed in the same directory than the program
- The windows version has been compiled under Cygwin and the file
  cygwin1.dll should be placed in the same directory than the program

Versions :
11/17/2007 - Christophe Julien - Initial version.
11/23/2007 - Christophe Julien - Single and double precision solver
11/23/2007 - Christophe Julien - Improved header treatment
11/23/2007 - Christophe Julien - Multi-zone treatment
12/03/2007 - Christophe Julien - 2D data treatment
01/23/2008 - Chrisotphe Julien - Volume sources treatment in 2D
02/11/2008 - Christophe Julien - Volume sources treatment in 3D
 楼主| 发表于 2011-1-5 21:50:46 | 显示全部楼层
重点是这几句吧
Program is run with the command :
    ./asd2cgns.o (.exe on windows) grid.data acoustic.index cgns_root (z_coord)

where
- grid.data is the data file coming from Fluent including grid
  point positions
- acoustic.index is the index file of the asd acoustic files
- cgns_root is the root of cgns filename
- z_coord (required only for 2d applications) : z coordinates for z expansion
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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