CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Meshing a sphere with snappyHexMesh (for beginners)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 2, 2015, 08:34
Default Meshing a sphere with snappyHexMesh (for beginners)
  #1
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,086
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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: http://www.holzmann-cfd.de/index.php...sphere-meshing


Hope its helpful,
__________________
Best regards,
Tobias Holzmann

Some interesting OpenFOAM tutorials and videos on www.Holzmann-cfd.de
Tobi is offline   Reply With Quote

Old   May 27, 2015, 10:27
Default
  #2
New Member
 
Yaoyina
Join Date: Sep 2014
Posts: 3
Rep Power: 2
yaoyina is on a distinguished road
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!
yaoyina is offline   Reply With Quote

Old   May 29, 2015, 14:28
Default
  #3
Member
 
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 95
Rep Power: 4
derekm is on a distinguished road
I ran this under 2.4.0 and it fails to work. I enclose the log file
Attached Files
File Type: zip logFile.zip (6.3 KB, 1 views)
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET
derekm is offline   Reply With Quote

Old   May 29, 2015, 15:36
Default
  #4
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,086
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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.
__________________
Best regards,
Tobias Holzmann

Some interesting OpenFOAM tutorials and videos on www.Holzmann-cfd.de
Tobi is offline   Reply With Quote

Old   May 31, 2015, 17:29
Default
  #5
Member
 
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 95
Rep Power: 4
derekm is on a distinguished road
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
derekm is offline   Reply With Quote

Old   June 1, 2015, 01:52
Default
  #6
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,086
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Well done and good to know.
__________________
Best regards,
Tobias Holzmann

Some interesting OpenFOAM tutorials and videos on www.Holzmann-cfd.de
Tobi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sails Meshing with snappyHexMesh Paolo.F OpenFOAM Native Meshers: snappyHexMesh and Others 7 June 24, 2015 01:58
Error in meshing a Ship hull using snappyhexmesh Sachin m OpenFOAM Pre-Processing 1 August 27, 2014 23:27
snappyHexMesh stops meshing Tensian OpenFOAM Native Meshers: snappyHexMesh and Others 2 January 26, 2014 10:54
Meshing porsche with snappyHexMesh Mirage12 OpenFOAM Native Meshers: snappyHexMesh and Others 3 August 28, 2013 04:51
Meshing a sphere with snappyHexMesh Cyberholmes OpenFOAM 2 July 19, 2011 16:46


All times are GMT -4. The time now is 15:55.