CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

faceAgglomerate error

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By giorgianig

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2025, 06:12
Default faceAgglomerate error
  #1
Member
 
Giorgio
Join Date: Mar 2023
Posts: 79
Rep Power: 4
giorgianig is on a distinguished road
Dear all,

I am working on a radiation problem. I am using the viewFactor model, and the faceAgglomeration utility for speeding up the computation. I get the following error on one of the patches:
HTML Code:
agglomeration does not create a single, non-manifold face for agglomeration 41 on patch 2
If I don't do agglomeration, the viewGen routine works but then I have a huge number of coarse faces and it takes ages to complete.
Does anyone knows why this error happens?

Thanks in advance.
giorgianig is offline   Reply With Quote

Old   June 12, 2025, 08:48
Default
  #2
Member
 
Giorgio
Join Date: Mar 2023
Posts: 79
Rep Power: 4
giorgianig is on a distinguished road
No one?

Just to add some more info, if I run viewFactorGen without previously generating the agglomeration, it starts running but
HTML Code:
Total number of coarse faces: 659510 
So, impossible to make it.
Here is my viewFactorsDict
HTML Code:
writeViewFactorMatrix     true;
writeFacesAgglomeration   true;
writePatchViewFactors     true;

"v_.*"
{
nFacesInCoarsestLevel 100;
featureAngle 10;
}
If I increase a lot the nFacesInCoarseLevel it starts working, but again with a huge number of faces, so no way.

Also, my mesh is very good, I really don't see why the agglomeration should fail. Here is my checkMesh
HTML Code:
Checking geometry... 
Overall domain bounding box (-0.92900002 -0.88300002 0) (0.92900002 0.88300002 2.154)
Mesh has 3 geometric (non-empty/wedge) directions (1 1 1)
Mesh has 3 solution (non-empty) directions (1 1 1)
Boundary openness (-6.0884129e-15 1.4447539e-14 -1.6253704e-14) OK.  Max cell openness = 3.6583714e-16 OK.
Max aspect ratio = 13.975798 OK.                                                                                                                                                                                                             Minimum face area = 6.6415428e-06. Maximum face area = 0.00064417908.
Face area magnitudes OK.
Min volume = 2.0805547e-08. Max volume = 1.7985865e-05.  Total volume = 7.0677655.  Cell volumes OK.
Mesh non-orthogonality Max: 65.691038 average: 5.0074554
Non-orthogonality check OK.
Face pyramids OK.                                                                                                                                                         Max skewness = 0.9386004 OK.
Coupled point location match (average 0) OK.
Mesh OK.  
giorgianig is offline   Reply With Quote

Old   June 15, 2025, 16:32
Default
  #3
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 850
Blog Entries: 1
Rep Power: 19
dlahaye is on a distinguished road
My understanding is that checkMesh does not include checks on faceAgglomeration to work properly. See e.g. https://openfoamwiki.net/index.php/CheckMesh on what checkMesh does do.

What do mean by "impossible to make it"?

Do we understand what non-manifold faces are?

Best.
dlahaye is offline   Reply With Quote

Old   June 16, 2025, 03:43
Default
  #4
Member
 
Giorgio
Join Date: Mar 2023
Posts: 79
Rep Power: 4
giorgianig is on a distinguished road
Quote:
Originally Posted by dlahaye View Post
My understanding is that checkMesh does not include checks on faceAgglomeration to work properly. See e.g. https://openfoamwiki.net/index.php/CheckMesh on what checkMesh does do.

What do mean by "impossible to make it"?

Do we understand what non-manifold faces are?

Best.
Yes, indeed, checkMesh doesn't do that. Still, the face mesh didn't seem visually bad, so I don't know.
Impossible to make a dense matrix n x n with n=659510.
I searched around trying to understand "non-manifold" faces. Not sure what it means except that they are not avoidable with complex surface. Maybe someone else can clarify.

Anyway. I solved the problem finally. I had to refine drastically the .stl defining the surfaces implied in the faceAggregation. Like now I have a .stl of 2 Gb for each surface.
dlahaye likes this.
giorgianig is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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