CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Dead cell causes singularity? (https://www.cfd-online.com/Forums/openfoam-solving/92896-dead-cell-causes-singularity.html)

liu September 28, 2011 12:44

Dead cell causes singularity?
 
1 Attachment(s)
I have a mesh where there is a cell which is totally surrounded by walls, i.e., it is a "dead" cell. This cell is isolated from others.

When I do icoFoam, it exited with a segment fault.

So what could be the problem? Does this cause singularity? Or the status of the system is undetermined?

One thing I might do is to delete these "dead" cells from the mesh since they don't contribute to anything. But how can I do that?

Thanks.

wyldckat October 1, 2011 15:38

Greetings Xiaofeng Liu,

Check this tutorial: http://openfoamwiki.net/index.php/SetSet
You can use those instructions as a reference to the steps you need to do:
  • Run checkMesh to create the cellSets for the list of damaged cells;
  • Then use setSet to select said cellSets, then invert selection to select the good part of the mesh;
  • Then use subsetMesh for saving only the good part of the mesh.
Good luck!
Bruno

liu October 14, 2011 10:28

Thanks for the reply, though you answer is not relevant.

I have figured out this. For the record, it seems that those dead cells has no effect on the solution at all. They are not participating in the calculation since no flux could pass through the surrounding walls.

You might be able to subSet these cells out but again it is not necessary.

wyldckat October 14, 2011 17:23

Hi Liu,

Well, I can't always be right ;) But still, I did (sort-of) answer your last question on the initial post:
Quote:

Originally Posted by liu (Post 325955)
One thing I might do is to delete these "dead" cells from the mesh since they don't contribute to anything. But how can I do that?

But I'm glad you figured it out by yourself :)

Best regards,
Bruno


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