CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Split, rotate and merge part of mesh

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2016, 11:31
Default Split, rotate and merge part of mesh
New Member
Lorenzo Donisi
Join Date: Oct 2016
Posts: 5
Rep Power: 6
lo.donisi is on a distinguished road
I need to simulate the flow over an airfoil. I have to create the mesh with sHM or simply with bM. This is not a great deal, even if I am totally new to OpenFOAM. The problem arises when I need to change the angle of attack. My mesh consists mainly of an external block, an internal cylindrical finer region and the airfoil boundary. I have been told to "simply" split the cylinder from the block, rotate it and then merge it again with the block. I thought I could use splitMesh/splitMeshRegions, then rotateMesh and finally mergeMesh.
Unfortunately I could not even split the mesh into the two parts. I tried following the snappyHexMeshDict of the propeller tutorial, using topoSet to create the cell/faceSet/Zone that I need. The main problem is that I cannot understand much about regions/sets/zones, and I found the UserGuide not exhaustive about this and the utilities I need. I tried following other tutorials but they are far more complex.
Please let me know if there are simple examples that can help me understand this utilities, if you know how to split the mesh or simply if you would work in a different way. Any help is appreciated.

Thank you very much!
lo.donisi is offline   Reply With Quote

Old   October 23, 2016, 20:54
Senior Member
Join Date: Aug 2013
Posts: 404
Rep Power: 13
Antimony is on a distinguished road

Why not create two separate meshes, one being a cylinder with your airfoil and another being a block from which the cylinder has been subtracted, and the merge the two meshes together?

You could rotate the cylinder with the airfoil separately and then merge it with the other mesh to get your complete mesh...

Antimony is offline   Reply With Quote

Old   October 25, 2016, 11:10
New Member
Lorenzo Donisi
Join Date: Oct 2016
Posts: 5
Rep Power: 6
lo.donisi is on a distinguished road
Dear Antymony,

I actually have been asked to find a way to follow that procedure, and learn how to use the relative utilities (topoSet, splitMesh-splitMeshRegions, transformPoints-rotateMesh, mergeMeshes-stitchMesh). Anyway I really appreciated the answer and I will surely proceed in this way if I cannot do what I meant. Thank you.

lo.donisi is offline   Reply With Quote


airfoil 2d, rotatemesh, splitmesh, splitmeshregions, toposet

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Mesh is leaking (hole) at trailing edge of wind turbine blade Shahzad123 ANSYS Meshing & Geometry 5 September 13, 2018 05:52
[ICEM] Urgent Help Needed: Rotate mesh in ICEM anand32 ANSYS Meshing & Geometry 5 August 10, 2017 23:06
[mesh manipulation] Rotate part of mesh johannes.tophoj OpenFOAM Meshing & Mesh Conversion 5 October 27, 2016 03:29
[mesh manipulation] Best way to merge this two mesh efirvida OpenFOAM Meshing & Mesh Conversion 0 October 25, 2015 22:54
[mesh manipulation] TranformPoints gives skewed mesh Possible Bug andersking OpenFOAM Meshing & Mesh Conversion 3 March 25, 2008 21:33

All times are GMT -4. The time now is 21:15.