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

[snappyHexMesh] A simple question about snappy

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2009, 03:30
Default A simple question about snappy
  #1
Senior Member
 
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 17
prapanj is on a distinguished road
After great difficulty I was finally able to use snappyHexMesh to mesh the external flow domain about a geometry I had. I am soon writing a tutorial about that, because I couldn't find good tutorials for snappy elsewhere.

My problem now is with setting boundary conditions. I have a rectangular block created using blockMesh. I had set the boundaries inflow and outflow etc. How will I set the boundary condition for the STL geometry's surface? In what Dict file do I set it? can I just add the surface in the boundary file in polyMesh directory?

After running snappy I got two folders 0.001 and 0.002. Do I have to copy the contents of these into a "constant" folder for running a solver on it?

I know my questions are so primitive. Please bear with me. Thank you
prapanj is offline   Reply With Quote

Old   March 11, 2009, 03:50
Default Hi Prapanj, Did you use a s
  #2
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17
marico is on a distinguished road
Hi Prapanj,

Did you use a single STL file?
every STL-region in STL-file (ASCII) starts with "solid NAME", where NAME is probably not present. (and ends with "endsolid NAME").
These regionnames, if present, are kept up by sHM and added to the boundary-file. So your problem is probably, how to assign the names to the regions. If you have only one region it might be easy to just add it manually.
How did you get the STL-File? When using "Salome" it is "relativly" easy to import IGES/STEP, name face-regions and export as single STL-files. (every region one STL-file, which can be called by sHM).
The polyMesh in last folder, here 0.002 (as it is the mesh after snapping), should be copied in "constant" folder to move on, at least I do so.

Best Regards
Marco


also check:
http://www.cfd-online.com/OpenFOAM_D...s/1/11251.html

and:
http://www.cfd-online.com/OpenFOAM_D...tml?1236240810
marico is offline   Reply With Quote

Old   March 11, 2009, 04:06
Default I am currently using only a si
  #3
Senior Member
 
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 17
prapanj is on a distinguished road
I am currently using only a single STL file that I pulled out of the internet. I was having the question about the multiple STLs. I found a thread that talks about a script to use with blender, so that we can get named ascii STLS without having to manually copy each STL and make it one file. Anyway, the link you provided was really helpful. I get a clearer picture now. Thank you.
prapanj is offline   Reply With Quote

Old   March 11, 2009, 04:25
Default you can also use the multiple
  #4
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17
marico is on a distinguished road
you can also use the multiple files for sHM, just as one STL-file in geometry-definition.
Salome works on my OpenSUSE well and I guess the interface is more familiar than the one of Blender.

Marco
marico is offline   Reply With Quote

Old   April 28, 2009, 16:44
Default snappyHexMesh tutorial?
  #5
Member
 
xianghong wu
Join Date: Mar 2009
Posts: 57
Rep Power: 17
wendywu is on a distinguished road
Quote:
Originally Posted by prapanj View Post
After great difficulty I was finally able to use snappyHexMesh to mesh the external flow domain about a geometry I had. I am soon writing a tutorial about that, because I couldn't find good tutorials for snappy elsewhere.
Hi, I found your turorial, very useful.

Thank you very much.

Wendy

Last edited by wendywu; April 29, 2009 at 21:02.
wendywu is offline   Reply With Quote

Old   May 6, 2009, 07:30
Default
  #6
Senior Member
 
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 17
prapanj is on a distinguished road
Hi Wendy, I am sorry, I haven't uploaded my tutorial on the internet anywhere. How did you find, what did you find?
prapanj is offline   Reply With Quote

Old   May 6, 2009, 10:18
Default tutorial for snappyHex Mesh
  #7
Member
 
xianghong wu
Join Date: Mar 2009
Posts: 57
Rep Power: 17
wendywu is on a distinguished road
Hi, sorry, Maybe I made a mistake. I found a tutorial , I thought it was yours.
http://www.cfd-online.com/OpenFOAM_D...s/1/11251.html

Because I saw that your are going to give a tutorial , then I found one after that, I thought it was yours accordingly. I was careless. Sorry, will you give another tutorial?

Wendy
wendywu 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
Simple question: Time-Dependent RANS vs URANS c.alanis Main CFD Forum 3 January 28, 2015 12:10
SIMPLE scheme question wm2300 Main CFD Forum 10 November 6, 2014 04:55
[blockMesh] mergePatchPairs(); simple question seav OpenFOAM Meshing & Mesh Conversion 0 May 2, 2014 08:57
Simple Question Regarding Symmetry Planes Atella CFX 3 April 11, 2010 06:44
Simple Question Regarding Symmetry Planes Atella Main CFD Forum 0 April 9, 2010 10:58


All times are GMT -4. The time now is 04:30.