Openfoam并行分块有问题
-
decomposePar scotch number of Subdomains 4 Command message: Processor 0: field transfer Processor 1: field transfer --> FOAM Warning : From function Foam::polyMesh::polyMesh(const Foam::IOobject&) in file meshes/polyMesh/polyMesh.C at line 330 no points in mesh --> FOAM Warning : From function Foam::polyMesh::polyMesh(const Foam::IOobject&) in file meshes/polyMesh/polyMesh.C at line 335 no cells in mesh
-
你的网格文件不全,重新检查下网格文件,位于
constant/polyMesh
文件夹下。 -
@李东岳 我检查过网格文件 如果我采用simple方法分块可以 但是使用scotch分块就会显示只有一个processor0有网格 其余的processor里显示没有网格
我也不清楚这是为什么 -
-
你这个显示
no cells
? -
@李东岳 是的,显示是这样。我现在用的是OF5.0,我之前以为是我的网格文件有问题,后来我用OF自带的tutorial case,算例用的也是scotch method, 但是我用decomposePar也出现相同的问题。然后我把我自己的网格在OF231中分块就没有问题。所以我在想是不是版本问题。我在网上查找发现OF5的Third-Party需要更新,可能和我现在机子上的不一致
-
Of5下面dambreak的算例用scotch测试通过了么?
-
@李东岳 是的,我用这个算例试过了,还是一样的问题。
-
Polymesh下面有points文件么
-
@李东岳 有Points文件的
-
暂不清楚原因
-
有可能是分配的processor过多
我今天在decomposePar时出现了FOAM Warning 也是提示no points in mesh 和 no cells in mesh
我把system下decomposeParDict里面的numberOfSubdomains减小了 同时相应地给x、y、z方向分配的数量也减小了,再运行decomposePar就不会报错了。