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

A few simple questions about SnappyHexMesh.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 16, 2009, 06:02
Red face A few simple questions about SnappyHexMesh.
  #1
Member
 
Join Date: Jun 2009
Location: Germany
Posts: 38
Rep Power: 8
suitup is on a distinguished road
Hey guys I ve some simple questions about the handling of snappyhesmesh.

How can I define the position of a stl- file with snappyhexmesh in a blockMesh-Mesh (e.g. simple cube as atmosphere)?

And how can I assign the different boundaries of the stl-file in snappyhexmesh? Comparing to blockmesh for example there its quite easy just writing the boundarynames into the blockMeshDict, but I ve no clue about managing it in snappyhexmesh.

Regaring the chtmultiregion-example (snappymultiregionheater) there are a few different slt-files in the tri-surface (was an assembly), so how is it possible to import the whole assembly? Simply split the assembly in single components and then export each as stl-file and then define the possition or is there a function in to export the assembly in slt-files?


Best regards.
suitup is offline   Reply With Quote

Old   December 19, 2009, 15:30
Default coordinate system of stl-files
  #2
New Member
 
Axel Tietjen
Join Date: Dec 2009
Location: Hamburg, Germany
Posts: 19
Rep Power: 7
Axel_T is on a distinguished road
Hello,

you have to setup the coordinate system in a CAD-programm and then save to stl.

The position of the stl-surface regarding to the coordinate system is just important when you setup your points for the blockMeshDict.
I always create a simple blockMesh of the right size and open it with paraFoam. Then I load the stl-file into the postprocessor and see its position relative to the blockMesh. With the ruler it is also possible to measure the offset between them. Then I change the points in my blockMeshDict and create the mesh again.

A bit more difficult is to get the right angle between blockMesh and stl. As I set the left wall of my blockMesh as a inlet, and I wantet it to be orthogonal to my stl.-surface, I had to modify the geometry with a CAD-program. That's more convinient than calculating the coordinates of the meshpoints to match the right angle.

greetings
Axel
Axel_T 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
questions about SIMPLE algorithm (by Patankar) Nutty Main CFD Forum 5 January 22, 2015 13:22
Few simple questions concerning boundary conditions (pressure) milos OpenFOAM Pre-Processing 1 March 21, 2009 08:08
Questions about the simple algo lam OpenFOAM Running, Solving & CFD 1 July 30, 2007 12:41
Simple fluent questions temp3733@gmail.com FLUENT 0 May 18, 2005 12:50
Do you know these simple Gridgen questions? GER Pointwise & Gridgen 3 November 5, 2004 18:53


All times are GMT -4. The time now is 14:53.