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

A simple question about snappy

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 11, 2009, 04:30
Default After great difficulty I was f
  #1
Senior Member
 
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 8
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, 04:50
Default Hi Prapanj, Did you use a s
  #2
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 8
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, 05: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: 8
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, 05:25
Default you can also use the multiple
  #4
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 8
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: 8
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: 8
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: 8
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

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
Snappy snap controls and featureEdgeMesh podallaire OpenFOAM Bugs 9 August 31, 2011 17:42
Unit conversion in Snappy prapanj OpenFOAM Meshing & Mesh Conversion 3 March 12, 2009 23:09
A simple question. yaseer Main CFD Forum 0 March 12, 2007 14:32
A simple question Chandra Shekhar Main CFD Forum 0 January 31, 2005 03:44
Simple question reader Main CFD Forum 1 July 14, 2003 13:29


All times are GMT -4. The time now is 10:58.