CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   How to change boundary type? (

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