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

[snappyHexMesh] Badly snapped buildings!

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2020, 02:35
Default Badly snapped buildings!
  #1
New Member
 
ghalizha
Join Date: Mar 2020
Posts: 4
Rep Power: 2
rotiunyel is on a distinguished road
Hi, I tried the windAroundBuildings tutorial for my building geometry, but this is what I got from the result of snappyHexMesh. The buildings have relatively simple geometry but still are not properly snapped. I'm so confused at where did it go wrong.



I attached my case file below. Please help me configure what should I change/improve on my snappyHexMeshDict to get a properly snapped mesh based on my geometry. Thank you!
Attached Files
File Type: zip buildings.zip (125.1 KB, 1 views)
rotiunyel is offline   Reply With Quote

Old   March 16, 2020, 01:41
Default
  #2
New Member
 
ghalizha
Join Date: Mar 2020
Posts: 4
Rep Power: 2
rotiunyel is on a distinguished road
Okay, so I figured out one of the problems - it's that surfaceFeatures won't capture the edges of my buildings right. I have tried playing with the dictionary, but it just won't budge. The geometry is closed and seemed fine. (attached screenshot below)
Attached Images
File Type: png Untitled.png (21.5 KB, 11 views)
Attached Files
File Type: zip buildings_edgeMesh.zip (1.8 KB, 2 views)
rotiunyel is offline   Reply With Quote

Old   March 16, 2020, 07:05
Default
  #3
Member
 
Join Date: Sep 2018
Location: France
Posts: 39
Rep Power: 3
john myce is on a distinguished road
Hi,

If I am correct, you are using OpenFOAM-dev ? Which functions did you add/modify since your first post in the snapping phase ?

Cheers,
john myce is offline   Reply With Quote

Old   March 17, 2020, 09:50
Default
  #4
New Member
 
ghalizha
Join Date: Mar 2020
Posts: 4
Rep Power: 2
rotiunyel is on a distinguished road
Hi John, I am actually using OpenFOAM-7 (I know that my case dictionaries say it's the dev version). And no, I did not change the snappyHexMeshDict at all since I found out that the problem was that the surfaceFeatures function won't extract the right edges, so I want to get it right first before I dig into sHMD. Sadly I got nothing.
rotiunyel is offline   Reply With Quote

Old   March 18, 2020, 12:23
Default
  #5
Member
 
Join Date: Sep 2018
Location: France
Posts: 39
Rep Power: 3
john myce is on a distinguished road
Hi,

I guess you had increasing the includedAngle to 180 to see if it catched the features or not.
Well if you got nothing, you have to check if your cad file (stl) has been well meshed.

I saw you are using .dxf file, I found a old but maybe helpful thread to convert dxf to stl.
.dxf to .stl converter

Cheers,
john myce 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
Flow around buildings Buxxy Main CFD Forum 0 July 16, 2014 06:59
CFD analysis around buildings archi ANSYS 4 May 4, 2012 08:49
[GAMBIT] Gambit mesh around buildings rcerdeira ANSYS Meshing & Geometry 20 March 13, 2012 10:44
Help with Wind Flow Across Buildings baineteo STAR-CCM+ 12 February 8, 2012 13:54
2-d flow over buildings twitcho8 FLUENT 0 December 3, 2009 23:55


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