CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   add a faceZone to a Mesh (

bastil November 2, 2010 12:59

add a faceZone to a Mesh

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:


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 16:57.