CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

subset patch by physical discontinuity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2014, 17:54
Default subset patch by physical discontinuity
  #1
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, 8 views)
patchsploration is offline   Reply With Quote

Reply


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 Off
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 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


All times are GMT -4. The time now is 20:21.