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

Moving/rotating STL/OBJ inside SnappyHexMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 16, 2013, 03:20
Default Moving/rotating STL/OBJ inside SnappyHexMesh
  #1
New Member
 
Pål Grøthe Sandnes
Join Date: Oct 2010
Posts: 12
Rep Power: 6
palgroth is on a distinguished road
Hi!

I would like to know if it is possible to transform an imported STL/OBJ geometry within sHM with respect to position and angle?

Best regards Pål
palgroth is offline   Reply With Quote

Old   May 16, 2013, 04:09
Default
  #2
Senior Member
 
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 9
colinB is on a distinguished road
Dear På,

since sHM is only a meshing tool this is not possible.

However if you do the transformation in advance of the meshing process
it can easily be done via the command line.

The command you are looking for is called:

surfaceTransformPoints

For the correct usage type

surfaceTransformPoints -help


Also the user guide in section 3 - utilities gives you further hints.
I know for sure that you can manipulate stl files but as far as I remember
it is also capable of treating .obj files.
This command can be used with the correct options for translating, scaling
rotating and many other surface transformations.

I hope I could contribute
regards
colinB is offline   Reply With Quote

Old   May 16, 2013, 04:40
Default
  #3
New Member
 
Pål Grøthe Sandnes
Join Date: Oct 2010
Posts: 12
Rep Power: 6
palgroth is on a distinguished road
This is exactly what I need, thank you very much!! It works perfectly
palgroth 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
Inside and outside mesh with snappyhexmesh nzy102 OpenFOAM Native Meshers: snappyHexMesh and Others 17 May 8, 2013 17:04
Water burst inside snappyHexMesh raysark OpenFOAM Native Meshers: snappyHexMesh and Others 5 December 5, 2012 14:49
SnappyHexMesh Meshing inside a cylinder nammari OpenFOAM 5 March 11, 2011 20:49
Inside and outside mesh with snappyhexmesh nzy102 OpenFOAM Mesh Utilities 0 August 31, 2008 23:50
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37


All times are GMT -4. The time now is 05:49.