|
[Sponsors] |
[snappyHexMesh] Meshing a sphere with snappyHexMesh (for beginners) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 2, 2015, 08:34 |
Meshing a sphere with snappyHexMesh (for beginners)
|
#1 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hello everybody,
due to the fact that I get messages frequently, I created a new very simple meshing tutorial. In this tutorial, the aim is to mesh a sphere inside a channel and add several layers (six layers 100%). This is only for really beginners who want to start with snappyHexMesh. You can find this tutorial here: https://holzmann-cfd.de/ Hope its helpful,
__________________
Keep foaming, Tobias Holzmann Last edited by Tobi; December 19, 2017 at 08:39. |
|
May 27, 2015, 11:27 |
|
#2 |
New Member
Yaoyina
Join Date: Sep 2014
Posts: 7
Rep Power: 12 |
Hi,I've downloaded the case you share.As there is no blockMeshDict in the folder,I make a blockMeshDict by myself.I use blockMesh to get a big cube,and use snappyHexMesh to get the sphere.My question is how could I retain both the cube and the sphere.It means that I don't want to remove any cells in the whole region.Can you give me some advice?Thank you in advance!
|
|
May 29, 2015, 15:28 |
|
#3 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
I ran this under 2.4.0 and it fails to work. I enclose the log file
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
May 29, 2015, 16:36 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hello yaoyina,
Therefore you have to use faceZones and CellZones in sHMDict. Check out the cht tutorials. Further more you create the mesh in my case with ideasUnvToFoam. Check the script. @derekm as you saw on my webpage, the tutorial is made for 2.3.1. At the moment I have not installed 2.4.0 because there is no reason to do this yet. I will check it in 2 weeks.
__________________
Keep foaming, Tobias Holzmann |
|
May 31, 2015, 18:29 |
|
#5 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
got it wrong it does work on 2.4.0 or at least the same as 2.3.1
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
November 20, 2016, 13:45 |
|
#7 |
Member
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 12 |
Dear Tobias,
I want to mesh around a sphere in a cube and also inside the sphere while I'm using your tutorial for the first one. I'm using the searchableSphere option for defining sphere surface and blockMesh for the background mesh instead of using stl surfaces. (water-proof stl surfaces from salome were also tested.) Everything goes well when the mesh is coarse and surfaceRefinement level is set to a low number around the sphere. But I need a finer mesh for the background and increasing grid numbers from blockMeshDict or using a high refinement level around the surface, results a bad mesh quality (high skewness) and no layers around the sphere. I attached test case for more information. Briefly, I need a finer background mesh with high number of layers around the sphere. I would be very grateful if you could give me some comment for my problem. Thanks in advance, Regards, Arsalan. Last edited by arsalan.dryi; November 20, 2016 at 16:35. |
|
November 20, 2016, 18:39 |
|
#8 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Dear arsalan,
I will not check your case because there is no time at the moment. Just one tip. Scale your geometry by 1000 mesh everything and downscale it again. if it will not work you do something wrong Good luck
__________________
Keep foaming, Tobias Holzmann |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh - 3D Wing Meshing Setup & Trials | denbjornen | OpenFOAM Meshing & Mesh Conversion | 1 | May 25, 2020 12:14 |
[snappyHexMesh] bumps and broken surface after meshing with snappyhexmesh | Yemi2favours | OpenFOAM Meshing & Mesh Conversion | 0 | February 12, 2018 13:07 |
[snappyHexMesh] Error "keyword meshQualityControls is undefined" while meshing with snappyHexMesh | JeanDidier | OpenFOAM Meshing & Mesh Conversion | 2 | February 9, 2018 15:48 |
[snappyHexMesh] Sphere in a channel by snappyHexMesh | arsalan.dryi | OpenFOAM Meshing & Mesh Conversion | 0 | November 14, 2016 17:01 |
[ANSYS Meshing] Structured Volumetric Meshing in Workbench for a Sphere | AS_Aero | ANSYS Meshing & Geometry | 0 | March 19, 2013 07:28 |