|
[Sponsors] |
May 29, 2014, 17:54 |
subset patch by physical discontinuity
|
#1 |
New Member
Join Date: May 2014
Posts: 1
Rep Power: 0 |
OpenFOAM has the ability to define physically discontinuous patches. For example, I grabbed a screenshot from the programmers guide.
I'd like to find subsets of the physically continuous faces of such patches -- ideally by shared patch face vertices, or similar. For example, "Patch 1" in picture would have two of these subsets. I'm thinking: + Use patch.faceCells() and get vertices ? How ? + Use a PatchPrimitive feature like edgeLoops() ? Currently, I'm accomplishing this task by physical proximity of patch face centers and storing face IDs in HashTables, and it doesn't satisfy. Rest assured I have poked around on the forum for a better answer, but don't see it. I appreciate any suggestion of a critical forward path! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ and u+ values with low-Re RANS turbulence models: utility + testcase | florian_krause | OpenFOAM | 114 | August 23, 2023 05:37 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
createPatch Segmentation Fault (CORE DUMPED) | sam.ho | OpenFOAM Pre-Processing | 2 | April 21, 2014 02:01 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 08:19 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 05:12 |