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

Access to name of a boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2006, 06:17
Default hi all, i am looking for an
  #1
Senior Member
 
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 17
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, 12:49
Default you've got aPatch > const p
  #2
Senior Member
 
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17
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


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
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 12:09
Access Violation Help!!!!!! thuy FLUENT 0 March 5, 2008 08:26
How to access the number of faces on a boundary jam OpenFOAM Running, Solving & CFD 1 January 20, 2008 13:13
how to access to heat flux on boundary ????? Asghari FLUENT 0 November 25, 2006 03:09


All times are GMT -4. The time now is 02:41.