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

[snappyHexMesh] Snappy does not snap to curved surfaces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2016, 10:18
Question Snappy does not snap to curved surfaces
  #1
New Member
 
Annika Blom
Join Date: Jan 2016
Posts: 6
Rep Power: 10
Akinna is on a distinguished road
Hello,

I've been working to solve this problem for some days now, but I can't get a solution. Also the posts in forums and google search do not help.

I try to mesh a channel with a concave surface (see attached pictures). It seems like snappyHexMesh is doing the first snapping step, but not the snapping to the surface. I already tried to increase the number of cells in my background mesh and the refinement level. Also I tried to increase and decrease the number of maximum local and global number of cells but nothing helps.
SnappyHexMesh meshes the same channel with a non concave surface (a rectangular channel) with the same meshing options quite well.

Do you have any suggestions or ideas where my mistake is?

Thanks in advance for any input!

Akinna

STL_ConcaveSurface.jpg

Mesh_ConcaveSurface.jpg

blockMeshDict.txt

snappyHexMeshDict.txt
Akinna is offline   Reply With Quote

Old   September 26, 2016, 06:52
Default Update
  #2
New Member
 
Annika Blom
Join Date: Jan 2016
Posts: 6
Rep Power: 10
Akinna is on a distinguished road
Hey,

I tried to mesh only half of the channel with the same mesh settings and here snappyHexMesh is snapping quite well (see Image below).

Mesh_HalfDomain.jpg

Half of the channel means, that the Geometry is 16m long and 0.14m wide (the whole channel is 32m long). Any ideas what is going wrong while meshing the long channel?

Greetings
Akinna
Akinna is offline   Reply With Quote

Old   September 26, 2016, 15:18
Default
  #3
New Member
 
Join Date: Jun 2009
Location: Belgium
Posts: 11
Rep Power: 16
Laika is on a distinguished road
Hello Akinna,

I have no idea why you obtain these results from sHM, but if you can share your stl or obj file, I'd like to investigate this with you. I'll be doing something with long channels in the near future, and hence may run into the same problem as you have...

cheers,
Laika,
still orbiting
Laika is offline   Reply With Quote

Old   September 29, 2016, 06:48
Default
  #4
New Member
 
Annika Blom
Join Date: Jan 2016
Posts: 6
Rep Power: 10
Akinna is on a distinguished road
Hey Laika,

I am sorry for the late reply, but I am not allowed to share the STL-Files. I am still working to solve the problem. Gonna let you know when I find a solution.

Cheers
Akinna
Akinna is offline   Reply With Quote

Old   September 30, 2016, 05:57
Default
  #5
New Member
 
Annika Blom
Join Date: Jan 2016
Posts: 6
Rep Power: 10
Akinna is on a distinguished road
Hey,

I found a solution here:

http://www.cfd-online.com/Forums/ope...pped-mesh.html

I turned down the nsolveIter to 30 and now the mesh looks quite good.

Cheers
Akinna
Akinna is offline   Reply With Quote

Old   September 30, 2016, 08:14
Default
  #6
Member
 
Anonymouse
Join Date: Dec 2015
Posts: 98
Rep Power: 10
KarenRei is on a distinguished road
Quote:
Originally Posted by Akinna View Post
Hey,

I tried to mesh only half of the channel with the same mesh settings and here snappyHexMesh is snapping quite well (see Image below).

Attachment 50717

Half of the channel means, that the Geometry is 16m long and 0.14m wide (the whole channel is 32m long). Any ideas what is going wrong while meshing the long channel?

Greetings
Akinna
Based on recent (albeit very limited) experience: by reducing the geometry to half but keeping all meshing settings the same, you're effectively doubling the number of max cells for the mesher to use per unit volume. Just a thought!
KarenRei is offline   Reply With Quote

Old   October 4, 2016, 06:27
Default
  #7
New Member
 
Annika Blom
Join Date: Jan 2016
Posts: 6
Rep Power: 10
Akinna is on a distinguished road
Hey KarenRei,

thanks for your answer. Yes this was also my first thought but increasing the max number of cells didn't help.

Cheers
Annika
Akinna 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
Sampling curved surfaces sega OpenFOAM Post-Processing 0 July 12, 2009 11:40
curved surfaces in airpak francesco montagnani FLUENT 2 April 3, 2004 03:08
Normal Vector on Curved Surfaces Karl FLUENT 0 July 2, 2001 04:35
Law of the wall on curved surfaces Rasputin Main CFD Forum 3 November 2, 1998 09:28


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