CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Errors with snappyHexMesh and cyclic BCs for complex STL structures

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2021, 11:34
Default Errors with snappyHexMesh and cyclic BCs for complex STL structures
  #1
New Member
 
Dan Padrao
Join Date: Jun 2020
Posts: 14
Rep Power: 5
DanPad07 is on a distinguished road
Hi all,

I'm trying to implement cyclic boundary conditions in the x and z planes (normal streamline direction to flow) in to my model. Currently I'm having issues for the geometry shown in the image below (failStructure.png) where I get the following error in checkMesh:

Code:
Calculating AMI weights between owner patch: cyclic_minX and neighbour patch: cyclic_maxX
AMI: Creating addressing and weights between 11565 source faces and 11609 target faces
AMI: Patch source sum(weights) min:0 max:1.030165 average:0.9380018
AMI: Patch target sum(weights) min:0 max:1.101829 average:0.920908
Calculating AMI weights between owner patch: cyclic_minZ and neighbour patch: cyclic_maxZ
AMI: Creating addressing and weights between 11636 source faces and 11656 target faces
AMI: Patch source sum(weights) min:0 max:1.037275 average:0.9392684
AMI: Patch target sum(weights) min:0 max:1.15886 average:0.9197575
As you can see, the minimum weights for the cyclic patches reaches zero, which causes pimpleFoam to fail later (I think atleast).

Curiously, I managed to get this working for another complex structure (see successStructure.png) so I believe that the issue is related with the meshing or STL file regarding the first structure. There shouldn't be an issue with my STL file since I fixed them with Magics (prior to using surfaceTransformPoints to scale the structure to mm) so the problem should be due to my meshing in snappyhexmesh. Could someone help me with this please?

Interesting point: I found that by increasing the number of cells in the mesh, this would return more problems in checkMesh.

I've also attached a link to my dropbox which includes the base cases for both structures + the log files if anyone would like to have a better look (This is my first time sharing folders via dropbox so let me know if there are any issues).

Link: https://www.dropbox.com/sh/6ynmbsgq4...x3aAgjlfa?dl=0

Thanks in advance!
Attached Images
File Type: png failStructure.png (139.0 KB, 8 views)
File Type: png successStructure.png (69.9 KB, 7 views)
DanPad07 is offline   Reply With Quote

Reply


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
Possible createPatch/createBaffles bug? simpomann OpenFOAM Bugs 2 July 15, 2014 07:07
[snappyHexMesh] snappyHexMesh and cyclic boundaries Ruli OpenFOAM Meshing & Mesh Conversion 2 December 9, 2013 06:51
[mesh manipulation] Trying to build cyclic BCs on internal faces DrDan OpenFOAM Meshing & Mesh Conversion 1 March 15, 2012 23:38
[snappyHexMesh] snappyHexMesh with cyclic patches? Axel_T OpenFOAM Meshing & Mesh Conversion 1 October 12, 2010 10:03
[snappyHexMesh] sHM with cyclic patch on stl geometry johannesk OpenFOAM Meshing & Mesh Conversion 2 August 21, 2009 09:08


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