CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

add a faceZone to a Mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 2, 2010, 12:59
Default add a faceZone to a Mesh
Senior Member
Join Date: Mar 2009
Posts: 502
Rep Power: 13
bastil is on a distinguished road

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.

Last edited by bastil; November 2, 2010 at 18:00.
bastil is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
vtk mesh or Abaqus mesh to OpenFOAM bigphil Open Source Meshers: Gmsh, Netgen, CGNS, ... 27 November 23, 2015 18:31
[ICEM] Negative volume error in hybrid mesh siw ANSYS Meshing & Geometry 4 September 3, 2014 05:25
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10
Add a layer of cells, UDF, dynamic mesh or ...? Modisa FLUENT 0 March 17, 2007 12:59

All times are GMT -4. The time now is 19:01.