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

[snappyHexMesh] A few simple questions about SnappyHexMesh.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2009, 05:02
Red face A few simple questions about SnappyHexMesh.
  #1
Member
 
Join Date: Jun 2009
Location: Germany
Posts: 38
Rep Power: 16
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, 14:30
Default coordinate system of stl-files
  #2
New Member
 
Axel Tietjen
Join Date: Dec 2009
Location: Hamburg, Germany
Posts: 19
Rep Power: 16
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


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
snappyHexMesh in parallel leads to segmentation fault ChrisHa OpenFOAM Pre-Processing 1 January 14, 2019 10:04
Two probably simple questions sosat1012 CFX 1 October 7, 2010 14:29
LES basic and simple questions. dshawul Main CFD Forum 0 October 4, 2010 10:56
SIMPLE Algorithm - Questions from a Beginner Emre Turkoz Main CFD Forum 8 August 13, 2010 00:21
Simple questions Eva CFX 3 December 5, 2002 06:52


All times are GMT -4. The time now is 12:34.