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

Access to name of a boundary

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 4, 2006, 07:17
Default hi all, i am looking for an
  #1
Senior Member
 
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 8
stephan is on a distinguished road
hi all,

i am looking for an opportunity to access the name of a boundary (user-given in blockMeshDict) in OpenFoam. actually i have the patch but dont know how to get the name of the boundary, which the patch belongs to.
thanks for help
stephan
stephan is offline   Reply With Quote

Old   March 4, 2006, 13:49
Default you've got aPatch > const p
  #2
Senior Member
 
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 8
hartinger is on a distinguished road
you've got aPatch

> const polyPatch& aPatch = ....;

this will print the name as specified in blockMeshDict

> Info<< aPatch.name() << endl;

markus
hartinger is offline   Reply With Quote

Reply

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
how to access a variable in DPM within a UDF patrick FLUENT 13 September 15, 2010 08:38
How to access yPlus in UDF Alexander FLUENT 0 March 14, 2008 13:09
Access Violation Help!!!!!! thuy FLUENT 0 March 5, 2008 09:26
How to access the number of faces on a boundary jam OpenFOAM Running, Solving & CFD 1 January 20, 2008 14:13
how to access to heat flux on boundary ????? Asghari FLUENT 0 November 25, 2006 04:09


All times are GMT -4. The time now is 04:01.