CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

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

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

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

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.

klausb is offline   Reply With Quote

Old   January 24, 2011, 05:00
Senior Member
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 600
Blog Entries: 5
Rep Power: 17
elvis will become famous soon enough

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

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
elvis is offline   Reply With Quote

Old   January 24, 2011, 09:15
Senior Member
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 157
Rep Power: 10
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
Senior Member
aerothermal's Avatar
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 104
Rep Power: 9
aerothermal is on a distinguished road

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


aerothermal is offline   Reply With Quote


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

All times are GMT -4. The time now is 00:28.