> On 20 Feb 2018, at 00:04, Junhui Liu <[email protected]> wrote:
> 
> I have generated surfaces and decided to group them into a volume. 
> 
> unstructured_Volume_surfaces_array[] = Surface "*”;
> Surface Loop(surf1) = {unstructured_Volume_surfaces_array[]};
> volume_index = news;
> Volume(volume_index) = {surf1};
> 
> Somehow duplicate surfaces appear and the indices of surfaces in the volume 
> are not exact the same as I put inside the surface Loop. 
> I generated 115 surfaces, but after I group them into a volume, the number of 
> surfaces becomes 182. 
> 

By default we try to build volumes that are correctly oriented - this indeed 
can generate new surfaces. You can disable this by setting Geometry.OCCAutoFix 
= 0;

> I used Gmsh 3.0.6, 1 with SetFactory("OpenCASCADE”);

Give the latest snapshot a try - it solves quite a few edge cases of the 
opencascade integration.

Christophe

> 
> I appreciate any help.
> 
> Junhui
> 
> 
> 
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info

_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to