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/)
-   -   illeGal cell id (https://www.cfd-online.com/Forums/openfoam-pre-processing/198412-illegal-cell-id.html)

sonGoku February 6, 2018 03:49

illeGal cell id
 
hi,
I am working with polyTopoChange class and polyRemoveCell class
I passed cell Ids of cells I want to remove , my code compiled succesfully but while running the case , it initially ran well but as it reached the first cell to remove it crashed displaying error-
--> FOAM FATAL ERROR:
illegal cell label -1
Valid cell labels are 0 .. 6299

From function void Foam: polyTopoChange::removeCell(Foam::label, Foam::label)


Can anyone help me deal with this


All times are GMT -4. The time now is 19:03.