|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Mar 2016
Posts: 23
Rep Power: 11 ![]() |
Hello,
TLDR: How do I create a patch from faces along a specified plane? The plane is an external area of the domain? I am working with faces that lie on a single plane. I am trying to combine these faces into a single faceSet/patch to define a boundary condition. All of these faces are currently part of different patches. To my understanding (please correct if wrong), I need to use topoSetDict and createPatchDict and maybe something with setSet and surfaceToFace or surfaceToCell or boundaryToFace. I've tried boundaryToFace, but it combined all exterior faces into 1 faceSet. I would like to have multiple exterior faceSets. I've seen the example below: name heaterCellSet; type cellSet; //faceSet; action new; source boxToCell; //boxToFace; sourceInfo { box (-0.01001 0 -100 )(0.01001 0.00999 100); } However, this requires a box to be specified around the cells/faces. For faces, it seems more natural to specify a plane. Is there a method that doesn't involve using boxToFace? I seem to get the error message 'Face X is not external to the mesh', even though my box dimensions appear to only encapsulate one cell width. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Mar 2016
Posts: 23
Rep Power: 11 ![]() |
Visually,
How would one perform this grouping of exterior faces on the flat and curved faces of a cylindrical slice? The boxToFace would not be able to encompass all exterior faces without also encompassing interior cells... |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 18 ![]() |
Hello Miragemobile!
I cant give you direct answer, anyway I can suggest the following source: https://openfoamwiki.net/index.php/TopoSet See: 5 List of sources Regards Peter |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
New Member
Join Date: Mar 2016
Posts: 23
Rep Power: 11 ![]() |
Quote:
normalToFace could be beneficial for my selection of faces along planes. surfaceToCell could be beneficial for my selection of faces along a curved surface. I wonder if the STL can just be an open surface or if it has to be closed. I will try these out. Mirage |
||
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Join Date: Mar 2016
Posts: 23
Rep Power: 11 ![]() |
Two more questions:
1. normalToFace obviously collects all faces normal to a given plane (including interior faces). I am looking to collect only exterior faces. I am considering using boundaryToFace, followed by normalToFace. However I am not sure how to use the functions on an existing faceSet and not the entire domain. 2. Does anyone know if surfaceToCell requires a closed surface? Last edited by miragemobile; April 3, 2019 at 12:37. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 09:23 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 09:42 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 13:38 |
foam-extend_3.1 decompose and pyfoam warning | shipman | OpenFOAM | 3 | July 24, 2014 08:14 |
[ICEM] Export ICEM mesh to Gambit / Fluent | romekr | ANSYS Meshing & Geometry | 1 | November 26, 2011 12:11 |