Gmsh 4.9 release

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
vm4dim
Posts: 129
Joined: Tue Nov 23, 2021 1:05 am

Gmsh 4.9 release

Post by vm4dim »

CHANGELOG
4.9.0 (December 3, 2021):
  • new initial 2D meshing algorithm; new quasi-structured quad algorithm;
  • improved handling of imperfect curve reparametrization on surfaces in 2D periodic meshing algorithm;
  • mesh renumbering now also renumbers dependent post-processing views;
  • the mesh size callback is now per-model and its returned value is not gathered with the other size constraints in a global min reduction anymore: instead the callback takes as additional argument the mesh size lc that would be prescribed in the absence of the callback, which allows to perform any desired modification (the old behavior can be achieved by returning min(lc, value));
  • OCC STL representation is now generated using relative deflection tolerance; new TransformMesh command in .geo files;
  • new behavior of Mesh.SaveGroupsOf{Nodes,Elements} in UNV and INP exports;
  • partitioned MSH4 files now contain the full partition topology (i.e. all partition entities);
  • fixed metric calculation with Eigen (for anisotropic mesh generation);
  • official binary builds now support OpenMP parallelization and are 64 bit only (build OS upgraded to Windows 10, macOS 10.15 and Linux glibc 2.24);
  • new experimental Fortran API;
  • new API functions to handle view options by tag instead of by index;
  • color options in the API can now be specified as in .geo files, in the form "Category.Color.Option";
  • small bug fixes.
  • * New API functions: model/setTag, mesh/reverse, mesh/affineTransform,
    mesh/getMaxNodeTag, mesh/getMaxElementTag, mesh/getSizes, mesh/getPeriodic,
    mesh/getAllEdges, mesh/getAllFaces, mesh/addEdge, mesh/addFace,
    mesh/getNumberOfPartitions, field/list, field/getType, field/getNumber,
    field/getNumbers, field/getString, view/option/setNumber,
    view/option/getNumber, view/option/setString, view/option/getString,
    view/option/setColor, view/option/getColor, view/option/copy.
  • * Incompatible API changes: new arguments to mesh/getNode, mesh/getElement and
    view/probe; additional argument to the mesh size callback function provided to
    mesh/setSizeCallback; new optional arguments to gmsh/initialize,
    model/isInside, mesh/partition and occ/addSurfaceFilling; renamed
    mesh/preallocateBasisFunctionsOrientationForElements as
    mesh/preallocateBasisFunctionsOrientation, mesh/getNumberOfKeysForElements as
    mesh/getNumberOfKeys, and mesh/getBasisFunctionsOrientationForElements as
    mesh/getBasisFunctionsOrientation; renamed mesh/getKeysForElements as
    mesh/getKeys and mesh/getInformationForElements as mesh/getKeysInformation,
    and modified their arguments; modified arguments to mesh/getKeysForElement;
    removed mesh/getLocalMultipliersForHcurl0; renamed view/copyOptions as
    view/option/copy.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Gmsh 4.9 release

Post by uwestoehr »

Many thanks for the info. Meanwhile 4.9.2 is out and I tried it.

It works well for me but they removes some API functions so it seems we need to act for FEM and the Mesh WB here and there.
Post Reply