|
[Sponsors] |
[snappyHexMesh] Create three patches along a tube |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 3, 2018, 04:19 |
Create three patches along a tube
|
#1 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11 |
Hello everyone,
i need to generate a mesh of a long cylinder or tube where the outer hull is divided into three single patches. The goal is to get the faceSet of all outer faces of the middle patch to use in a fvOptions source. See the image below. So far i have tried using snappyHexMesh, but snappyHexMesh usually creates one outer patch (if its the whole cylinder) or only the part of the cylinder where the pointInMesh is, when i subdivide my stl-file. I came accross a thread where it is suggested to use splitRegionMesh with the subdiveded stl-file to create different cellZones. That works, yes, but i dont get patches, but cellZones, and the results of my simulation is incorrect. Does someone know how to solve this problem? -Robert |
|
May 31, 2018, 09:53 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
If you are using snappyHexMesh, save the different patches of the pipe into different stl files, and you can generate the mesh with different patches. Or if you have the same boundary conditions for every parts, you can select the faces for the different parts with topoSet. First select all faces for example in a box (boxToFace) which contains the part of the region you need, and then use subset for the boundary patches. Then in the faceSet you will have all the boundary faces in the given region. |
|
June 1, 2018, 03:53 |
|
#3 | |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11 |
Quote:
thanks for the advice, that is exaclty what i ended up doing. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem using AMI | vinz | OpenFOAM Running, Solving & CFD | 298 | November 13, 2023 08:19 |
[ICEM] How to create helical tube in ICEM | akbar.mech | ANSYS Meshing & Geometry | 2 | March 7, 2018 10:59 |
[snappyHexMesh] SnappyHexMesh fails to create patches of .stl files | WernerW | OpenFOAM Meshing & Mesh Conversion | 4 | September 26, 2017 00:59 |
[mesh manipulation] mirrorMesh and undoing the joining of patches | chegdan | OpenFOAM Meshing & Mesh Conversion | 3 | October 21, 2015 08:09 |
About the createPatchDict | flotran | OpenFOAM | 1 | December 9, 2011 07:52 |