|
[Sponsors] |
[mesh manipulation] how split mesh perimeter line to four sides |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 14, 2018, 17:35 |
how split mesh perimeter line to four sides
|
#1 |
New Member
kostas trak
Join Date: Feb 2018
Posts: 3
Rep Power: 8 |
hello to cfd community,
newbie, and I would like your help, I have create an unstructured rectangular mesh (2D) which includes one line at the perimeter. I would like to split this line to four lines; each for each side: north, west, south, east. The format of the mesh is .msh and .mesh. I used gmsh to create the initial mesh, and mmg2d library to improve the quality of elements. Please, does anyone knows any open source tool, or could suggest a way to make the split? I tried gmsh but it does not work; and I assume because I do not have points at the corner of the rectangular, any help is more than welcome, thank you, k. |
|
February 14, 2018, 22:42 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
You can try to use topoSet & createPatch in OpenFOAM to do this. In topoSet, gather all the faces on the perimeter patch using patchToFace & then subset this based on the normal using normalToFace. Use createPatch to create new patches from the different facesets that you got using topoSet. Hope this helps. Cheers, Antimony |
|
February 15, 2018, 07:33 |
|
#3 |
New Member
kostas trak
Join Date: Feb 2018
Posts: 3
Rep Power: 8 |
Thanks Antimony! I will try to do that... to be honest I am very confused how to work with topoSet & createPatch in OpenFOAM. I will let you know if I make it work.
|
|
Tags |
mesh 2d, mesh splitting, msh file |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] No cells read from file ".msh" | hwsv07 | OpenFOAM Meshing & Mesh Conversion | 5 | August 13, 2018 16:42 |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 15:06 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |