CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Access to name of a boundary (

stephan March 4, 2006 07:17

hi all, i am looking for an
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

hartinger March 4, 2006 13:49

you've got aPatch > const p
you've got aPatch

> const polyPatch& aPatch = ....;

this will print the name as specified in blockMeshDict

> Info<< << endl;


All times are GMT -4. The time now is 09:40.