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

[snappyHexMesh] Snapping issues with angled cylinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2024, 14:51
Default Snapping issues with angled cylinder
  #1
New Member
 
Justin Weber
Join Date: Jan 2024
Posts: 2
Rep Power: 0
onlyjus is on a distinguished road
I have an 30 degree angled cylinder in-between two plates that I am having issue with snapping to the STL file. The STL file has a nice triangular surface generated with gmsh.

At the lower resolution mesh (larger cells) I get ok snapping.



But if I refine the mesh, some cells snap well, but the majority of them don't seem to snap at all.



Here are my snapping parameters. Any ideas?

Code:
snapControls
{
    nSmoothPatch 1;
    //nSmoothInternal $nSmoothPatch;
    tolerance 1.0;
    nSolveIter 500;
    nRelaxIter 100;
    nFeatureSnapIter 30;
    implicitFeatureSnap false;
    explicitFeatureSnap true;
    multiRegionFeatureSnap false;
}
Attached Images
File Type: jpg fine_mesh.jpg (104.8 KB, 19 views)
File Type: jpg coarse_mesh.jpg (90.2 KB, 19 views)
onlyjus is offline   Reply With Quote

Old   January 6, 2024, 01:23
Default
  #2
New Member
 
Justin Weber
Join Date: Jan 2024
Posts: 2
Rep Power: 0
onlyjus is on a distinguished road
I figured it out. I was running into the minVol limit in the meshQualityDict.cfg. Lowering this to
Code:
minVol 1e-18;
did the trick
onlyjus is offline   Reply With Quote

Reply

Tags
snap controls, snappyhexmesh


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
Flow past a 2D cylinder - High Re (1E+05) - Cd too high Pervispasco OpenFOAM Running, Solving & CFD 4 March 14, 2022 03:19
How to implement time-varying boundary conditions in an enclosed cylinder Alejandro-FA OpenFOAM Pre-Processing 0 May 14, 2020 07:29
[ICEM] Delete angled cylinder inside a block harman79 ANSYS Meshing & Geometry 11 September 26, 2012 06:54
3D cylinder and Vortex Street shedding issues josik_1982 FLUENT 2 July 17, 2010 11:19
rotating cylinder using sliding mesh Tim Daly FLUENT 1 November 10, 2008 00:02


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