CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

subset patch by physical discontinuity

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 29, 2014, 17:54
Default subset patch by physical discontinuity
New Member
Join Date: May 2014
Posts: 1
Rep Power: 0
patchsploration is on a distinguished road
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!
Attached Images
File Type: png patches.png (44.4 KB, 3 views)
patchsploration is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 108 June 9, 2015 08:13
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 02:01
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12

All times are GMT -4. The time now is 09:50.