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

[snappyHexMesh] Geometry disappears when using SnappyHexMesh with multiple blocks

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2015, 09:03
Default Geometry disappears when using SnappyHexMesh with multiple blocks
  #1
Member
 
Join Date: Dec 2012
Posts: 81
Rep Power: 13
pizzaspinate is on a distinguished road
Hey Foamers,

I am facing a problem with my mesh.
I want to simulate a 3d swept wing in a box. The box looks like in the attached picture.
It consists of 3 boxes (upper, middle, lower).
If I run snappyHexMesh I end up with a smaller box outside my stl file (photo also attached).
I don't understand where I went wrong.
Do I have to enter multiple location in mesh points or do I have to merge the patches of my blocks in blockMesh?

Thank you very much in advance for your help!!!!!!!
Attached Images
File Type: jpg box.jpg (63.6 KB, 47 views)
File Type: jpg aftersnappy.jpg (43.7 KB, 45 views)
pizzaspinate is offline   Reply With Quote

Old   February 2, 2015, 14:31
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
A few possibilities. If your STL file is not water tight, then you may have issues with the volumes being closed from each other.

Also, when you have the three regions, are you trying to mesh three separate closed domains with snappyHex? If so, you will need to stitch them together afterward. Or, you could use refinement regions to get better resolution on a base mesh without having separate volumes.
mturcios777 is offline   Reply With Quote

Old   February 3, 2015, 08:01
Default
  #3
Member
 
Join Date: Dec 2012
Posts: 81
Rep Power: 13
pizzaspinate is on a distinguished road
thank you for the reply.

SolidWorks says that there are no open sections so I assume the geometry should be closed.

I try to mesh an aerofoil (it lies in the middle block) and I created the three boxes because I thought it will give me a better mesh ( I wanted to apply a meshing system like you use in ICEM).
The blocks I have created should be already merged together because I created them on shared points. I didnt use merge patches though.

I am generally not sure if multi-blocking is a good strategy to mesh with snappy anyway...

Do you have any recommendations by any chance? Because I am absolutely stuck.
pizzaspinate is offline   Reply With Quote

Old   February 3, 2015, 12:19
Default
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Quote:
Originally Posted by pizzaspinate View Post
thank you for the reply.

SolidWorks says that there are no open sections so I assume the geometry should be closed.

I try to mesh an aerofoil (it lies in the middle block) and I created the three boxes because I thought it will give me a better mesh ( I wanted to apply a meshing system like you use in ICEM).
The blocks I have created should be already merged together because I created them on shared points. I didnt use merge patches though.

I am generally not sure if multi-blocking is a good strategy to mesh with snappy anyway...

Do you have any recommendations by any chance? Because I am absolutely stuck.
I see. snappyHexMesh uses a different meshing philosphy. If there are boundary patches between the blocks then you will only get the middle section where the aerofoil is (try taking a slice through the middle to confirm this). If what you are after is finer resolution near the aerofoil, then the best method is to use refinementSurfaces and refinementRegions. Look at the snappyHexMesh manual online to find out about how these work:

http://www.openfoam.org/docs/user/snappyHexMesh.php

Good luck!
mturcios777 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
Joints of a geometry not snapped well (SnappyHexMesh) malini1408 OpenFOAM Pre-Processing 1 April 15, 2019 12:09
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 04:17
[snappyHexMesh] Problem and doubts with blockMesh, snappyHexMesh and multiple geometry luca1992 OpenFOAM Meshing & Mesh Conversion 0 August 23, 2017 11:40
[Commercial meshers] converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Meshing & Mesh Conversion 31 March 29, 2017 05:59
vitual _ real deneb FLUENT 3 January 22, 2007 04:31


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