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

[blockMesh] mergePatchPairs fails on cylindrical/helical patch pair

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2015, 04:27
Default mergePatchPairs fails on cylindrical/helical patch pair
  #1
New Member
 
Karl Lindqvist
Join Date: Jul 2012
Posts: 21
Rep Power: 14
karlli is on a distinguished road
Dear all,
I'm currently trying to create a blockMesh grid of a cyclic geometry, where the grid consists of helical blocks in the center of the domain, surrounded by pentagonal-shaped blocks on the outside. Please see the attached blockMeshDict and the figure below. The grid is supposed to be cyclic in the z-direction, and therefore has a protruding helical top part, and a helical "cutout" in the bottom.



The grid will be used for further snappyHexMesh processing, but for now I am unable to merge the two overlapping patches defining the outside of the helix (green) and the inside of the pentagonal domain (red):



The error, I suspect, is related to the "corner" marked in the first figure. The error message from blockMesh varies slightly, but is usually:

Code:
[...]
Creating merge patch pairs

Adding point and face zones
Creating attachPolyTopoChanger


--> FOAM FATAL ERROR: 
Created illegal face 1(72450) at position:199199 when filtering removed points

    From function polyTopoChange::compact(..)
    in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 1119.

FOAM aborting
My question is: Is there any workaround for this issue, other than redefining the geometry? I'm thinking in terms of merging points that are almost coincident before attempting to stitch the patches, or changing the patching tolerance/write precision etc.

I have tried using the stitchMesh utility with the same results, and also tried moving the "violating" points up and down slightly, without luck. Suggestions are greatly appreciated.

Regards,
Karl
Attached Files
File Type: zip blockMeshDict.zip (1.5 KB, 11 views)
karlli is offline   Reply With Quote

Old   September 14, 2016, 12:04
Default
  #2
New Member
 
gned
Join Date: Oct 2012
Posts: 18
Rep Power: 14
gned is on a distinguished road
Karl,
did you find a solution at the end?
And sorry : how you arrived to the conclusion the error was due to that particular corner ?
gned is offline   Reply With Quote

Old   September 15, 2016, 17:21
Default
  #3
New Member
 
Karl Lindqvist
Join Date: Jul 2012
Posts: 21
Rep Power: 14
karlli is on a distinguished road
In the end I decided to redefine the geometry into something that could be patched together, but I think an AMI interface would be an option too.

Best,
Karl
karlli is offline   Reply With Quote

Reply

Tags
blockmesh, mergepatchpairs


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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 06:37
steadyUniversalMRFFoam Tutorial fails in MixingPlane HenrikJohansson OpenFOAM Bugs 0 February 14, 2019 05:48
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 38 March 8, 2017 14:48
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


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