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

obtaining NodeID's from a patch group

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2016, 02:56
Default obtaining NodeID's from a patch group
  #1
New Member
 
Stephen Waite
Join Date: May 2013
Location: Auckland, New Zealand
Posts: 29
Rep Power: 12
Stephen Waite is on a distinguished road
Hi Guys,

I am looking for a way to retrieve the NodeIDs or Node numbers that are part of a patch group, so I can apply node specific boundary conditions. I've had a look through some of the source files relating to patches and boundary fields but I haven't seen anything yet. I'm not actually sure if this information is stored in OpenFOAM once the mesh files are read in.

I could probably also work with faceIDs if that is an option, there is a member function whichFace in polyPatch.C that I will have a play with, but If anyone has already done something similar that would help speed things up.

Any help would be great.

Cheers
Stephen
Stephen Waite is offline   Reply With Quote

Reply

Tags
faces, nodes, patch field


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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
error message cuteapathy CFX 14 March 20, 2012 06:45
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
Are my IRIXbs systune parametersb setting correct lakeat OpenFOAM Installation 1 May 5, 2008 10:48


All times are GMT -4. The time now is 00:44.