CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   decomposePar on a merged mesh (https://www.cfd-online.com/Forums/openfoam-pre-processing/156272-decomposepar-merged-mesh.html)

kcn July 7, 2015 02:39

decomposePar on a merged mesh
 
Hi,

I am working on a rotating mesh simulation that has a rotor mesh and a stator mesh. Using these two meshes, I generated a combined mesh using mergeMeshes command in openfoam. Everything worked without errors and I can view the merged mesh in paraview. However when I attempt to decompose the case for a parallel run, I get the following error messege:

Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decompositionMethod hierarchical

Finished decomposition in 24.14 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes
Reading hexRef8 data : cellLevel
Reading hexRef8 data : pointLevel
Reading hexRef8 data : level0Edge


--> FOAM FATAL ERROR:
index 292441 out of range 0 ... 292439

From function UList<T>::checkIndex(const label)
in file /home/niranjan/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/UListI.H at line 109.

FOAM aborting

Any idea what's wrong and how to correct this?

Thanks,
kcn

MarcusAng June 9, 2023 11:48

Hi kcn,

Hope all is well. I am currently trying to use mergeMeshes for a different case but I am running into the same error that you faced. Were you able to resolve the problem?

Thanks,
Marcus


All times are GMT -4. The time now is 18:59.