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/)
-   -   add a faceZone to a Mesh (http://www.cfd-online.com/Forums/openfoam-programming-development/81652-add-facezone-mesh.html)

bastil November 2, 2010 12:59

add a faceZone to a Mesh
 
Hi,

from inside an utility I try to add a faceZone to an existing mesh which already has faceZones. I tried to use addZones() and this fails in the current 1.5-dev:

Code:

point, face or cell zone already exists

    From function void addZones
(
    const List<pointZone*>& pz,
    const List<faceZone*>& fz,
    const List<cellZone*>& cz
)
    in file meshes/polyMesh/polyMesh.C at line 912.

In polyMesh there is a check which makes this function useless in case you already have a faceZone defined. How can this be solved?

Thanks Bastian.


All times are GMT -4. The time now is 17:29.