[Gmsh] Conformal mesh, no tetrahedra in region, BooleanDifference
Christophe Geuzaine
cgeuzaine at uliege.be
Fri Jan 26 19:53:05 CET 2018
> On 26 Jan 2018, at 18:49, Loic Thulliez <loicthulliez at hotmail.fr> wrote:
>
> Hello,
> I have not figured out my problem, if someone could look at it, I will greatly appreciate.
With
BooleanDifference{ Volume{A}; Delete; }{ Volume{B}; }
you generate a non-conformal geometry: the surface "between" result and B (which you don't delete) will be duplicated. You can either merge the two surfaces, or, simpler, just do
BooleanFragments{ Volume{A}; Delete; }{ Volume{B}; Delete; }
which does what you want in one step.
Christophe
> Best,
>
> Loïc
> De : Loic Thulliez <loicthulliez at hotmail.fr>
> Envoyé : vendredi 19 janvier 2018 15:04:53
> À : gmsh at onelab.info
> Objet : Conformal mesh, no tetrahedra in region, BooleanDifference
>
> Hello all,
>
> I am trying to create a conformal mesh with two volumes vol1 and vol2, with vol2 in vol1. I use the fonction vol3= BooleanDifference {Volume{vol1}; Delete;}{Volume{vol2};} to create a conformal mesh, since I want to keep the vol2 as it is to apply some boundary conditions to it.
> But when I perform the meshing, the "no tetrahedra in region N°=Volume" occurs for each volume...
> Sometimes with specific geometry values I succeed to mesh the all things, but it is not satisfactory. If I do vol3= BooleanDifference {Volume{vol1}; Delete;}{Volume{vol2}; Delete;}, it seems to work fine, but in this case the final result is not what I want.
> Do you have any idea from where my problem is?
> You will find my .geo files in attachement and the file to look at preferentially is "main.geo".
>
> Thank you in advance for your help,
> Loïc
>
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> 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
More information about the gmsh
mailing list