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

[snappyHexMesh] issue meshing a building with balconies

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2024, 10:37
Default issue meshing a building with balconies
  #1
New Member
 
Hongbin Wang
Join Date: Feb 2020
Posts: 20
Rep Power: 6
Origami is on a distinguished road
I'm encountering difficulties in meshing a building that includes balconies.

Figure 1 displays a shaded depiction of a portion of the building, while Figure 2 presents the building in STL format. In Figure 1, discernible white lines (representing edges) originate from buildings_edgeMesh.obj, extracted via surfaceFeatureExtract.

Figure 3 shows the mesh achieved using snappyHexMesh. The issue seems to be that the mesh do not snap to the feature edges, to cause there being wrinkles between the balconies and vertical walls.

Numerous adjustments have been attempted, such as modifying maximum cell number, resolving angles, adjusting feature refinement levels, surface refinement levels, and region refinement levels (see below). While some trials yielded slight improvements, the issue persists (see Figure 3). I think this may be a typical situation people come across, and there might be a setting that has eluded my attention. Could anyone offer insights into this matter? thanks for advance.

resolveFeatureAngle 30;
features {file "building.eMesh"; level 8;}
refinementSurfaces {building {level (6 6); patchInfo { type wall; } }}
refinementRegions {refinementCylinderBuilding { mode distance; levels ((50 5)(100 3));}}
Attached Images
File Type: png Figure 1.PNG (83.9 KB, 9 views)
File Type: jpg Figure 2.jpg (157.7 KB, 9 views)
File Type: jpg Figure 3.jpg (196.1 KB, 12 views)
Origami is offline   Reply With Quote

Old   April 17, 2024, 11:22
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,072
Rep Power: 26
Yann will become famous soon enough
Hello,

It is not clear on your screenshots, but if this is not already done try to keep an aspect ratio of 1 for your background mesh (blockMesh).
Otherwise snappy often struggles to properly snap to geometry.

If possible, you should also try to align your background mesh with your geometry (not necessarily possible depending on your building shape)

I hope this helps,
Yann
Yann is online now   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
issue with using dynamic meshing openFoam 7 (interFoam solver) dhopeshwar OpenFOAM Running, Solving & CFD 2 January 18, 2024 01:06
Fluent issue from beginner: geometry not shown in Meshing step student-of-CFD FLUENT 0 September 14, 2023 01:23
[ANSYS Meshing] Issue with airfoil geometry to meshing Acostant ANSYS Meshing & Geometry 5 January 28, 2016 23:31
Guidance needed regarding the Meshing issue sidharth9426 STAR-CCM+ 5 November 9, 2015 11:56
[ICEM] Pipe 90 elbow joint meshing issue sihaqqi ANSYS Meshing & Geometry 25 April 17, 2015 04:59


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