CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   How to change boundary type? (http://www.cfd-online.com/Forums/openfoam-programming-development/76088-how-change-boundary-type.html)

ivan_cozza May 13, 2010 13:06

How to change boundary type?
 
Hi Foamers,
in a code I need to set the boundary type to wall excepting for empty patches, in order to compute the distance of each cell from each boundary, and then set it back to their original type. How can I do that?
I saw that exist a method called changePatchType, but I didn't success to call it from mesh.boundaryMesh().changePatchType(... ...) .
Any suggestions?
Thanks, Ivan


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