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

replace findPatchIDs with patchSet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2017, 07:51
Default replace findPatchIDs with patchSet
  #1
Member
 
Amir
Join Date: Jan 2017
Posts: 32
Rep Power: 9
albet is on a distinguished road
Dear Foamers,
I am new to OpenFOAM and c++, I hope somebody helps me.
since I have not found any related topic I made this one.
Question: Can I replace findPatchIDs with patchSet?

I want to use

Code:
labelHashSet  patchSet  (const UList< wordRe > &patchNames, const bool warnNotFound=true, const bool usePatchGroups=true) const
for a specified wall patch (e.g. wall named "wallA") instead of

Code:
labelHashSet findPatchIDs()const
for a given polyPatch type (e.g. wallPolyPatch)
1. is it possible?
2. how can I obtain
Code:
UList< wordRe > &patchNames
for a specified patch?

Regards,
Amir
albet 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
UDF to replace mesh siamak1438 FLUENT 0 March 26, 2015 02:58
[ICEM] replace geometry kmgraju ANSYS Meshing & Geometry 1 January 5, 2015 09:59
Running out of UDMI, what can in use to replace it ? Sdvk Fluent UDF and Scheme Programming 0 May 23, 2014 13:16
Replace H equation with Teqn in chtMultiregionFoam OF 2.3 Moncef OpenFOAM Running, Solving & CFD 0 May 22, 2014 20:37
run f;uent job in batch mode? jx FLUENT 5 July 2, 2003 11:29


All times are GMT -4. The time now is 14:11.