[Gmsh] Conformal mesh on two parts

Bernd Hahnebach gmsh at b75.ch
Tue Jan 19 15:19:22 CET 2016


I was able to create various CompSolids (lots of curved ones !!),  
export them to brep and mesh them in GMSH without problems. Mesh will  
be conform.
http://forum.freecadweb.org/viewtopic.php?f=8&p=111039#p111039

It really is the CompSolid we are after! Still some things to do like  
rebuilding complex geometry.

bernd

Zitat von Theler German Guillermo <gtheler at cites-gss.com>:

> Nice Bernd!
>
> This example ought to go into either Gmsh's and/or FreeCAD's
> documentation.
>
> I mean, this finding is very important for people trying to mesh
> different materials with non-trivial geometries (i.e. for heat transfer
> problems).
>
>
>
>
> On Wed, 2016-01-13 at 08:10 +0100, Bernd Hahnebach wrote:
>> I did some more investigation in this regard. It seams a geometry
>> problem not a mesh problem. What we are after is called a compsolid in
>> OpenCascade, a container of solid(s) sharing common face(s) see
>> http://opencascade.blogspot.ch/2009/02/topology-and-geometry-in-open-cascade_27.html There is not much about them over the internet. If a VALID compsolid iss passad to GMSH in BREP it seams conformal meshing works even if there are inner curved shapes. As an example here the link to two boxes which are connected by a curved face in brep. Just import into GMSH mesh in 3D and export in your favorite mesh format. I used  
>> unv.
>> http://forum.freecadweb.org/download/file.php?id=19442
>>
>>
>> The problem is the creation of the compsolid. I did try in FreeCAD. If
>> someone is interested see
>> http://forum.freecadweb.org/viewtopic.php?f=8&t=13830
>>
>>
>> bernd
>>
>>
>> Zitat von Bernd Hahnebach <gmsh at b75.ch>:
>>
>> > Why does the faces have to be connected by an geometry option in
>> > GMSH? We could GMSH just tell the faces are connected, or give GMSH
>> > the geometry with connected faces allready, couldn't we? Would this
>> > allow GMSH to make an conformal mesh on curved faces?
>> >
>> > The question would be how could this be done. May be by directly
>> > passing a BREP in which the faces are connected allready? Or by the
>> > use of geo format?
>> >
>> > Mhh, most important would be if conformal meshing on curved inner
>> > faces would be possible by GMSH if passing appropriate geometry to
>> > GMSH ?
>> >
>> > Bernd
>> >
>> >
>> >
>> > Zitat von Bernd Hahnebach <gmsh at b75.ch>:
>> >
>> >> AFAIK
>> >>
>> >> GMSH Tools --> Options --> Geometry --> General --> Cut and merge
>> >> faces   (-string "Geometry.OCCConnectFaces = 1;") works on planar
>> >> faces only ! See http://www.geuz.org/pipermail/gmsh/2015/010043.html
>> >>
>> >> As Matthias stated Salomone seams the only open source tool
>> >> offering this for non planar faces.
>> >>
>> >> Bernd
>> >>
>> >>
>> >>
>> >> 11.01.2016, 14:10, "Zenker, Dr. Matthias"
>> >> <Matthias.Zenker at erbe-med.com>:
>> >>
>> >>> AFAIK Salomé is the only free tool which can repair duplicated faces
>> >>> in many cases (it also has difficulties with some cases of curved
>> >>> surfaces, however). You have to make a partition from your geometry,
>> >>> see
>> >>>
>> >>>  
>> http://www.elmerfem.org/elmerwiki/index.php?title=Multiple_bodies_from_Salome_to_Elmer
>> >>> for some hints.
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > gmsh mailing list
>> > gmsh at onelab.info
>> > http://onelab.info/mailman/listinfo/gmsh
>> >
>> >
>>
>>
>>
>>
>> _______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info
>> http://onelab.info/mailman/listinfo/gmsh
> ________________________________
>  Imprima este mensaje sólo si es absolutamente necesario.
> Para imprimir, en lo posible utilice el papel de ambos lados.
> El Grupo Sancor Seguros se compromete con el cuidado del medioambiente.
>
>
>
> ************AVISO DE CONFIDENCIALIDAD************
>
> El Grupo Sancor Seguros comunica que:
>
> Este mensaje y todos los archivos adjuntos a el son para uso  
> exclusivo del destinatario y pueden contener información  
> confidencial o propietaria, cuya divulgación es sancionada por ley.  
> Si usted recibió este mensaje erróneamente, por favor notifíquenos  
> respondiendo al remitente, borre el mensaje original y destruya las  
> copias (impresas o grabadas en cualquier medio magnético) que pueda  
> haber realizado del mismo. Todas las opiniones contenidas en este  
> mail son propias del autor del mensaje. La publicación, uso, copia o  
> impresión total o parcial de este mensaje o documentos adjuntos  
> queda prohibida.
>
> Disposición DNDP 10-2008. El titular de los datos personales tiene  
> la facultad de ejercer el derecho de acceso a los mismos en forma  
> gratuita a intervalos no inferiores a seis meses, salvo que acredite  
> un interés legítimo al efecto conforme lo establecido en el artículo  
> 14, inciso 3 de la Ley 25.326. La DIRECCIÓN NACIONAL DE PROTECCIÓN  
> DE DATOS PERSONALES, Organo de Control de la Ley 25.326, tiene la  
> atribución de atender las denuncias y reclamos que se interpongan  
> con relación al incumplimiento de las normas sobre la protección de  
> datos personales.
>
>






More information about the gmsh mailing list