|
[Sponsors] |
[snappyHexMesh] snappHexMesh not creating mesh inside the body. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 28, 2022, 11:54 |
snappHexMesh not creating mesh inside the body.
|
#1 |
New Member
Aaditya
Join Date: Apr 2021
Posts: 19
Rep Power: 5 |
Hello, I am quite new to OpenFOAM. I created a cylindrical body and performed meshing through blockMesh and snappyHexMesh. I referred to many sources and tutorial videos and followed the steps mention. The blockmesh created about 30000 cells. However when I try to create the mesh inside the geometry, the snappyhexMesh simply reduces the block mesh to the size of the geometry without capturing the geometry features at all meshing a cuboid instead of the cylindrical geometry that I defined. I viewed the mesh in paraview. I am not certain where the error is, but the end result is no what aimed. I have attached my files in the form of text files for reference.
My object is a solid cylinder of height 500 mm and diameter 470 mm. It has a cylindrical pocket at the bottom of height 100 mm and diameter 50 mm. The outer curved surface area is defined as the cold boundary. The curved surface of the pocket is the hot boundary. The top of the main cylinder is the lid and the remaining surfaces (bottom and the base of the pocket) are walls. |
|
June 29, 2022, 03:10 |
|
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13 |
Did you verify your locationInMesh is correctly positioned?
|
|
June 30, 2022, 02:39 |
|
#3 |
New Member
Aaditya
Join Date: Apr 2021
Posts: 19
Rep Power: 5 |
||
June 30, 2022, 02:53 |
|
#4 |
Senior Member
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13 |
Some pictures might help.
I took a quick look into your sHM-Dict. Your locationInMesh has a good chance to land on a node of the background mesh, which is a potential cause of issues in snappy. You can try with some values that are slightly off, like (0.0012 0.1041 -0.015). |
|
July 15, 2022, 05:24 |
|
#5 | |
New Member
Aaditya
Join Date: Apr 2021
Posts: 19
Rep Power: 5 |
Quote:
Thank you for your help! |
||
Tags |
blockmesh, incorrect, paraview, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Creating very fine, high accuracy mesh with snappyHexMesh | JD_Welch | OpenFOAM Meshing & Mesh Conversion | 10 | July 5, 2023 12:50 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Creating named selections on inside body surfaces | lbergmann | CFX | 7 | April 11, 2014 18:19 |
meshing F1 front wing | Steve | FLUENT | 0 | April 17, 2003 13:37 |