[Gmsh] facet intersecting problems when using Compound surfaces

Christophe Geuzaine geuzaine at gmail.com
Sun Mar 25 09:20:01 CEST 2018



> On 14 Mar 2018, at 00:34, Junhui Liu <junhui.liu at nrl.navy.mil> wrote:
> 
> Hi,
> 
> I used Compound Surface to avoid small elements:
> 


Give the latest automated snapshot a try: they contain the initial (beta) version of the new compound code.

Warning: the workflow (and the syntax) for coumpounds has changed. Compounds are now simply meshing comstraints - they don't create new CAD entities anymore. See https://gitlab.onelab.info/gmsh/gmsh/blob/master/tutorial/t12.geo for an example.

Christophe



> compound_surf = news;
> Compound Surface(compound_surf) = {surfaces_array[]};
> surf = newv;
> Surface Loop(surf) = {compound_surf, other_surfaces[]};
> volume_index = news;
> Volume(volume_index) = {surf1};
> 
> 
> But I got facet intersecting problems. If I do not use Compound Surface, I can get a volume mesh, but the mesh quality is not ideal. 
> 
>>>>>>>>>>>>>>>>> Error messages:
> Error   : Self intersecting surface mesh, computing intersections (this could take a while)
> Facet #469 intersects facet #466 at triangles:
>    (2413, 15402, 15297) and (2423, 18183, 2424)
>  Facet #469 intersects facet #466 at triangles:
>    (2413, 15508, 15402) and (2423, 18183, 2424)
>  Facet #469 intersects facet #466 at triangles:
>    (2420, 14632, 14025) and (2442, 22466, 2443)
>  Facet #469 intersects facet #466 at triangles:
>    (2420, 15409, 14632) and (2442, 22466, 2443)
> 
> !! Found 123 pairs of faces are intersecting.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
> 
> I appreciate your helps.
> 
> Junhui
> ------------------------------------------------------------
> Junhui Liu, Ph.D.
> Laboratory for Propulsion, Energetics, and Dynamic Systems
> Code 6041
> Naval Research Laboratory
> 4555 Overlook Ave. SW
> Washington, DC 20375
> Tel: (202) 767-6590
> Fax: (202) 767-4798
> ---------------------------------------------------
> 
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh




More information about the gmsh mailing list