|
[Sponsors] |
[snappyHexMesh] snappHexMesh not creating mesh inside the body. |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#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. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12 ![]() |
Did you verify your locationInMesh is correctly positioned?
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Aaditya
Join Date: Apr 2021
Posts: 19
Rep Power: 5 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12 ![]() |
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). |
|
![]() |
![]() |
![]() |
![]() |
#5 | |
New Member
Aaditya
Join Date: Apr 2021
Posts: 19
Rep Power: 5 ![]() |
Quote:
Thank you for your help! |
||
![]() |
![]() |
![]() |
Tags |
blockmesh, incorrect, paraview, snappyhexmesh |
|
|
![]() |
||||
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 11:50 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Creating named selections on inside body surfaces | lbergmann | CFX | 7 | April 11, 2014 17:19 |
meshing F1 front wing | Steve | FLUENT | 0 | April 17, 2003 12:37 |