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

obtaining NodeID's from a patch group

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

Reply
 
LinkBack Thread Tools 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: 15
Rep Power: 6
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

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
Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
Setting the height of the stream in the free channel kevinmccartin CFX 10 July 9, 2015 21:36
error message cuteapathy CFX 14 March 20, 2012 07: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 09:40.