Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] integration of Mesquite: Mesh Quality Improvement Toolkit library #7

Open
otaolafranc opened this issue Sep 11, 2024 · 0 comments

Comments

@otaolafranc
Copy link

Salome lacks any kind of 3D smoothing, mesquite is a quite powerful toolkit which has this and several other capacities (mentioned in their webpage):

  • Untangle meshes,
  • Provide local size control,
  • Improve angles, orthogonality, and skew,
  • Increase minimum edge-lengths for increased time-steps,
  • Improve mesh smoothness,
  • Perform anisotropic smoothing,
  • Improve surface meshes, adapt to surface curvature,
  • Improve hybrid meshes (including pyramids & wedges),
  • Smooth meshes with hanging nodes,
  • Maintain quality of moving and/or deforming meshes,
  • Perform ALE rezoning,
  • Improve mesh quality on and near boundaries,
  • Improve transitions across internal boundaries,
  • Align meshes with vector fields, and
  • R-adapt meshes to solutions using error estimates.

in particular it would be a great synergy with salome itself, some points citing my original post in the forum:

  • it has a easy to integrate API (up to my knowledge at least before it was integrated inside CUBIT mesher and also here is an example of another project that integrates it maybe it helps…mesquite « math - ports - FreeBSD ports tree 1)
  • it is supposed to work with brep files for constraints of vertexes of the mesh (see chapter 6 https://github.com/sandialabs/mesquite/blob/main/mesquite/doc-2.3.0/users-guide.pdf 1)
  • it has several smoothing, untaggling algorithms (not only 2D but 3D also)
  • it can ‘fix’ nodes so the viscous layer are not modified during the smoothing process
  • it has a great build in tool to generate viscous layer that is quite powerful
  • one of the input format is the legacy vtk format, that it is exactly the same (1:1) structure of meshes in salome at least from the point of view of what we can have from python mesh objects
  • it is LGPL licence so the same licence as Salome
  • its smoother runs in parallel

(the only thing that at least out of the box is missing as capability is the possibility of smooth polyhedral meshes as up to my knowledge this feature does not exist in Mesquite, nevertheless today in salome the poly meshes are generated from the dualization of a tet mesh, which this one can be smoothed out, so it could be done before the dualization)

The link for mesquite is here (https://github.com/sandialabs/mesquite)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant