CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Split, rotate and merge part of mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2016, 12:31
Default Split, rotate and merge part of mesh
  #1
New Member
 
Lorenzo Donisi
Join Date: Oct 2016
Posts: 5
Rep Power: 10
lo.donisi is on a distinguished road
Hi,
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, 21:54
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

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...

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   October 25, 2016, 12:10
Default
  #3
New Member
 
Lorenzo Donisi
Join Date: Oct 2016
Posts: 5
Rep Power: 10
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.

Regards,
Lorenzo
lo.donisi is offline   Reply With Quote

Reply

Tags
airfoil 2d, rotatemesh, splitmesh, splitmeshregions, toposet


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 06:52
[ICEM] Urgent Help Needed: Rotate mesh in ICEM anand32 ANSYS Meshing & Geometry 5 August 11, 2017 00:06
[mesh manipulation] Rotate part of mesh johannes.tophoj OpenFOAM Meshing & Mesh Conversion 5 October 27, 2016 04:29
[mesh manipulation] Best way to merge this two mesh efirvida OpenFOAM Meshing & Mesh Conversion 0 October 25, 2015 23:54
[mesh manipulation] TranformPoints gives skewed mesh Possible Bug andersking OpenFOAM Meshing & Mesh Conversion 3 March 25, 2008 22:33


All times are GMT -4. The time now is 10:45.