[Gmsh] Help with gmsh

Christophe Geuzaine cgeuzaine at uliege.be
Mon Jul 29 22:19:47 CEST 2019


Here's an example using the Box field in Gmsh 4.4.1 (I exported you geometry first as a brep to make it load faster; and I didn't bother to define the transfinite volumes):

-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.geo
Type: application/octet-stream
Size: 398 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20190729/99f17c99/attachment-0001.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: export.brep
Type: application/octet-stream
Size: 382737 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20190729/99f17c99/attachment-0001.brep>
-------------- next part --------------



> On 27 Jul 2019, at 20:29, Christophe Geuzaine <cgeuzaine at uliege.be> wrote:
> 
> 
> Hi Ana,
> 
> I've looked at your file:
> 
> 1) There's indeed an incompatibility between occt 7.3.0 (used for our linux builds) and the pre-release version of occt 7.3.1 that we use on Windows and macOS, which leads to different numberings of entities. We will update the build environments so that all future builds are made with the same version.
> 
> 2) You are using the "Attractor" field with FacesList. As the documentation says: "Warning, this feature is still experimental. It might (read: will probably) give wrong results for complex surfaces". We haven't improved this in a long time, as a completely different strategy for boundary layers will eventually be implemented. In the meantime you should use another method to impose the size field (from points, in a box, using a simpler distance function to e.g. some points/curves in conjunction with a mathematical formula, ...)
> 
> Christophe
> 
> 
>> On 26 Jul 2019, at 18:43, Ana Gomes <ana.gomes at strath.ac.uk> wrote:
>> 
>> Sorry to bother you once again, but this problem has been persisting for a long time and if there is anything you can do to help, if you can have access to a Linux machine to reproduce my script, I would greatly appreciate it.
>> 
>> I have been trying to simplify the meshing definitions to debug this. At this point, I use an attractor field to, in a very simple way, have more refinement near the vehicle, and coarsening as we go away from the vehicle.
>> 
>> The 2D results work fine (see attractor-y.png), but it seems that the output for the volume mesh is not respecting the parameters defined for the attractor (see attractor-x.png).
>> 
>> What am I missing here?
>> 
>> Best regards,
>> Ana
>> <attractor-x.png><attractor-y.png><attractor.geo>_______________________________________________
>> 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
> 
> 
> 
> 
> _______________________________________________
> 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





More information about the gmsh mailing list