faceAgglomerate for viewFactor radiation with non-manifold patches
1 Attachment(s)
Hello,
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: Code:
--> FOAM FATAL ERROR: 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! Regards mirx |
Hello Michael,
i had the same issue. To your question: it is possible to exclude patches from the faceAgglomeration. I did this to avoid this problem. The patches will some kind of ignored while agglomeration, when you dont specify them in the viewFactorsDict. That means, every face is now an agglomerate. So no faces will be agglomerated. But this can lead in an error while viewFactorsGen: "agglomeration does not create a single, non-manifold face for agglomeration". So the problem doesnt have to be fixed with that. Also you can rise the number of agglomerates in your viewFactorsDict to avoid your error. The faceAgglomerate and viewFactorGen utilities are very instable. I hope they will be upgraded soon. best regards Robin |
I know this is an old thread, but since I bumped straight into it: isn't the problem solved with the code from https://bugs.openfoam.org/view.php?id=1077 ?
|
Hi !
This error : "agglomeration does not create a single, non-manifold face for agglomeration" still appear for the ESI version v1912. I am working with chtMultiRegionSimpleFoam and it seems that it can be fix either by raising nFacesInCoarsestLevels or by changing the way to decompose the case in parallel ! I was working with the scotch decomposition and the matrix F was exceeding the size limit on one of the processors which create an error when I ran the solver : Code:
Selecting radiationModel viewFactor I am still investigating the way to make it run properly to have a balanced distribution through each processor. Cheers. |
Hello John,
I am currently on viewFactor radiation model. I am having 2 issues. 1. I am receiving bad viewFactors(the summation=1) on some cells. So I am trying to eliminate that by having more number of coarse faces. For that, I decreased nFacesInCoarsestLevels from 20 to 5, but to my wonder, faces agglomerated changed from 80 to 65. Can you tell me what exactly is nFacesInCoarsestLevels & featureAngle is!? 2. Let's say there 100 coarse faces generated after I run faceAgglomeration. My work demands the 100x100 viewfactor matrix. Do you have any idea, how can I achieve so? All I achieve is F, globalFacesFaces and viewfactorField file with some information but I can't make sense out of it? I would be glad if you could enlighten me at least a little bit! ThanksAndRegards |
All times are GMT -4. The time now is 17:20. |