找回密码
 注册
查看: 8841|回复: 5

STARCD的网格如何导入FLUENT?

[复制链接]
发表于 2010-4-16 14:38:16 | 显示全部楼层 |阅读模式

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

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

x
RT
小弟用pram画好了网格,在prostar中也已经将模型分析完,本想通过export将网格输出给fluent,便于有可比性!但两者之间没有直接的接口,所以我就选择了第三方软件ICEM,它的接口比较多,也可以直接导入STARCD的网格,但问题出来了,在导入STARCD网格的时候老是出错,不知道诸位大虾有没有遇到相同问题的。
"E:/Program Files/ANSYS Inc/v121/icemcfd/win/icemcfd/output-interfaces/starcd2df" "C:/Documents and Settings/guanlei/My Documents/tmpdomain.uns" -sc "D:/starcd/4/star.cel" -sv "D:/starcd/4/star.vrt"

Running ICEM CFD/CAE starcd2df interface version 12.1.0

Family data will be written to C:/Documents and Settings/guanlei/My Documents/tmpdomain.fbc
Error determining cell type with 7 nodes
starcd2df error in reading cells from cell file
There was an error in the starcd2df translation
child process exited abnormally
Loading domain "C:/Documents and Settings/guanlei/My Documents/tmpdomain.uns" ...
domain has 0 nodes
Current Coordinate system is global
Element types :
Element parts :
Total elements : 0
Total nodes : 0
Min :
Max :

[ 本帖最后由 guanlei919 于 2010-4-16 15:01 编辑 ]
 楼主| 发表于 2010-4-17 13:29:09 | 显示全部楼层

回复 1# guanlei919 的帖子

问题基本解决了,如下方法,希望能给各位带来思路
1.starcd没有与fluent直接相连的接口,但可以通过icem做中介导入fluent
2.starcd对网格要求不太高,节点不要求一一对应;fluent则要求节点一一对应
这就引出了一个问题,starcd的网格如果想导入fluent,必须要求节点是一一对应的,否则starcd网格不可导入fluent。我的网格就是因为不是节点不是一一对应的,就会出现导入fluent出错。
3.starcd:export-----icem-----123.domain文件;
  icem:mesh----open mesh----选择所有文件然后选择123.domain
    就可以导入了。
4.check mesh quality,如果出现节点不一一对应的问题,可以修改,但小弟我没学过icem,只好放弃。

祝大家一切顺利!
 楼主| 发表于 2010-4-17 13:30:40 | 显示全部楼层

回复 2# guanlei919 的帖子

如果强行导入fluent的话,fluent会报错:
WARNING: cell 0 of thread 8 has NULL face pointer 2.Error: Build_Grid: grid error.
       Clearing partially read grid.

Error: Null Domain Pointer

Error Object: ()
 楼主| 发表于 2010-4-17 13:30:42 | 显示全部楼层

回复 2# guanlei919 的帖子

Step-by-step:
1. Generate the pre-mesh
2. Right-click on pre-mesh and select "Convert to unstructured mesh"
3. From the mesh edit menu, run Check Mesh to make sure that everything is OK
4. Save the project
5. From the "Output" menu tab, select Fluent 6 as the solver, then set up the boundary condition types, then write out the fluent.msh file. It will ask you which *.uns file to load, but if you have saved the project, the default should be right.
6. Accept the defaults and it should write a file called fluent.msh , which always works for me.
7. Optionally, from the file menu, close the mesh, save the project, exit icem and delete the *.uns files.
8. Optionally, gzip fluent.msh, then load fluent.msh.gz in Fluent.
1.save the mesh and go to OUTPUT. 2.select the FLUENT solver with version. 3.Click on write input(file window will come) 4.select the mesh file which u want to export and click open. 5.export window will come, u can enter the name in the column of output file. 6.the file will be saved in .msh format.

[ 本帖最后由 guanlei919 于 2010-4-17 13:32 编辑 ]
发表于 2010-4-17 13:42:13 | 显示全部楼层
star-cd支持网格不对应,是指trim cell吗?
发表于 2014-8-9 15:59:42 | 显示全部楼层

回复 1# guanlei919 的帖子

楼主一看就是大神,可不可以帮我解决一个问题:
我看到这个star ccm+是可以导入dbs文件的,这个dbs文件是不是就是Gambit的文件,另外这个软件画网格是怎么画的,他有专门的模块吗?为什么我打开软件直接就是新建simulation了?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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