[Gmsh] Bug open cascade

Pierre K pierre.kerfriden at gmail.com
Mon Sep 25 09:50:52 CEST 2017


Hi, this "as-short-as-it-gets" code produces an erroneous mesh. The bug
gets worse as the cutting plane gets closer to the equator of the sphere.
Is this fixable?


SetFactory("OpenCASCADE");
Box(2) = {1, -1, -1, 2, 2, 2};
Sphere(3) = {0.95,0.2,0.2,0.7, -Pi/2,Pi/2, 2*Pi};
BooleanDifference{ Volume{3}; Delete; }{ Volume{2}; Delete; }


All the best

Pierre

---------------------------------
Dr. Pierre KERFRIDEN, Senior Lecturer, Cardiff University, UK
https://www.cardiff.ac.uk/people/view/364400-kerfriden-pierre
Too brief? Here's why! http://emailcharter.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170925/e417bd53/attachment.html>


More information about the gmsh mailing list