在终端执行Allrun的时候,splitMeshRegions出现了错误
-
因为课题研究的模型复杂,所以先用icem画了一个网格再导入openfoam中,然后用topoSet来划分区域,结果在执行Allrun的时候,splitMeshRegion出现了错误,请教各位老师,这种问题该怎么解决?SOLID是icem画网格的时候默认整个网格为solid,BODY1是solid的一部分,用topoSet划分出来的。
-
要不在 icem 里把 solid 和 body1 都删了再试试?
-
@bestucan solid是在icem里画结构网格建立block产生的,我尝试把它删掉,发现删掉之后,网格就没有了。body1是我在openfoam里面进行topoSet产生的。
-
-
@bestucan 老师,我有一个疑问,我用topoSet划分区域,用splitMeshRegions分开网格,就是为把它们分开,然后设置不同的物性参数,如果我把它们加在一起,那岂不是违背了我当初的目的?(我是在icem画了一个完整的SOLID网格,然后导入openfoam,再将整个网格划分区域。)我在想是不是不能把整个网格分割各个区域的网格呀。
-
看这个说明
https://www.openfoam.com/documentation/guides/latest/api/splitMeshRegions_8C_source.html
- cellZonesFileOnly behaves like -cellZonesOnly but reads the cellZones
from the specified file. This allows one to explicitly specify the region
distribution and still have multiple cellZones per region.看看有没有能用的
如果没有我也不知道了