|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 18 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 18 ![]() |
you've got aPatch
> const polyPatch& aPatch = ....; this will print the name as specified in blockMeshDict > Info<< aPatch.name() << endl; markus |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 09: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 |