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

How to position an object (STL) in the domain?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 23, 2011, 14:54
Default How to position an object (STL) in the domain?
  #1
Member
 
Klaus
Join Date: Mar 2009
Posts: 52
Rep Power: 7
klausb is on a distinguished road
Hello,

how is an object (STL format) positioned in the domain?

It's a symmetical 3D case and the object should be positioned at 50% of the domain hight, 20% of the domain length and start at the symmetrie face.

Klaus
klausb is offline   Reply With Quote

Old   January 24, 2011, 05:00
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 533
Blog Entries: 4
Rep Power: 12
elvis is on a distinguished road
Hi,

are you talking about position a STL object that will be used for SnappyHexMesh?
you can change either the position via your blockmesh(dict). you can visulize you blockmesh http://openfoamwiki.net/index.php/Co...ayBlockMesh.py

if you want to position your STL you write a short VTK programm (maybe paraview can help you as well) to rotate/translate your object.

Maybe discretizer might help you as well http://www.discretizer.org/
elvis is offline   Reply With Quote

Old   January 24, 2011, 09:15
Default
  #3
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 129
Rep Power: 7
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
As an alternative, you could try to use admesh to translate, rotate and scale the STL file. I've used it for the same purpose, but it messed up my STL file. Now I am using python + VTK for that purpose.
jhoepken is offline   Reply With Quote

Old   January 24, 2011, 14:03
Default
  #4
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 105
Rep Power: 6
aerothermal is on a distinguished road
Hi,

Usually I do the translation or rotation in enGrid software.
It is really nice because you can visualize the result immediately.

Regards,

aerothermal
aerothermal 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
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 05:55
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 08:36
problems with tight flow domain on object jemteo CFX 0 August 3, 2004 07:17
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 05:59


All times are GMT -4. The time now is 09:24.