|
[Sponsors] |
[snappyHexMesh] Location of mesh within background mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 23, 2021, 23:59 |
Location of mesh within background mesh
|
#1 |
New Member
Bailey
Join Date: Jun 2021
Posts: 14
Rep Power: 4 |
I am trying to model flow around a cylinder using snappyHexMesh and am a little stuck. I made a background mesh as a cube with point 0 at (0,0,0), and max x,y,z points of (30,10,5) respectively. I have an .stl file of a cylinder which I am meshing using snappyHexMesh. Every time i place the cylinder, it is at the point 0,0,0. What i want is for the cylinder to be at around 10 in the x direction and 5 in the y direction. Do i have to change my blockMeshDict for the background mesh to move the position of where the cylinder is located? I know locationInMesh and refinementBox are not the indices to change, so that is my next thought. Though I feel there should be an easier way to say "Move my mesh to this place in my background mesh". Thanks for the help!
|
|
June 24, 2021, 03:35 |
|
#2 |
New Member
Jan Zeriadtke
Join Date: May 2020
Posts: 7
Rep Power: 6 |
You have to move your geometry-Location in your STL-File. Either move the Geometry with your CAD-Program of choice or give surfaceTransformPoints a try. Something like
Code:
surfaceTransformPoints -translate '(10 5 0)' geometry.stl geometry_translated.stl |
|
June 24, 2021, 03:37 |
|
#3 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,085
Rep Power: 26 |
Hi Bailey,
You can either:
Cheers, Yann EDIT: Jan has been faster than Yann on this one! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
[snappyHexMesh] non uniform mesh near the stl object | vava10 | OpenFOAM Meshing & Mesh Conversion | 0 | January 31, 2021 14:41 |
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell | Arman_N | OpenFOAM Meshing & Mesh Conversion | 1 | May 20, 2019 17:16 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 08:54 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |