CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   faceAgglomerate for viewFactor radiation with non-manifold patches (

mirx September 14, 2012 06:29

faceAgglomerate for viewFactor radiation with non-manifold patches
1 Attachment(s)

I am trying to run a simulation with chtMultiRegionSimpleFoam with viewFactor radiation enabled. I create the mesh with snappyHexMesh. This results in non-manifold boundary patches after splitMeshRegions. I have attached a picture to give you an example.

If I try to run faceAgglomerate utility on such a mesh I get the following error:

(156 157) not found in table.  Valid entries:
(99 100)
    From function HashTable<T, Key, Hash>::operator[](const Key&)
    in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/HashTableI.H at line 117.

I have learned that this happens with non-manifold patches only. Unfortunately my geometries are very complex, so that it is not possible to aviod non-manifolds.

I need your help to find a solution to this problem.
Is it in any way possible to run faceAgglomerate, which is based on pairPatchAgglomeration, on a non-manifold surface?
If not, how can I get rid of these non-manifold patches? My only solution would be, to remove the cells of the fluid domain, which are in contact to the non-manifold points, using subsetMesh. But then I get holes in my mesh, which I would like to avoid.
I guess, it is not possible to remove the patch faces around the non-manifold points, as the boundary of the fluid domain would not be completely defined then.
Is it possible to exclude patches from the face agglomeration?

Thank you very much in advance!



All times are GMT -4. The time now is 13:58.