CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Access to name of a boundary

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

LinkBack Thread Tools Display Modes
Old   March 4, 2006, 07:17
Default hi all, i am looking for an
Senior Member
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 10
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 is offline   Reply With Quote

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

> const polyPatch& aPatch = ....;

this will print the name as specified in blockMeshDict

> Info<< << endl;

hartinger is offline   Reply With Quote


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 06:33.