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

Use external mesh generators (such as Gmsh) #217

Open
wdeconinck opened this issue May 28, 2012 · 0 comments
Open

Use external mesh generators (such as Gmsh) #217

wdeconinck opened this issue May 28, 2012 · 0 comments
Labels

Comments

@wdeconinck
Copy link
Member

Motiviation:

  • Define simple geometry in python (such as @barche already implemented)
  • Gmsh has built-in support for curved boundaries (splines)
  • Gmsh generates high-order triangular, tetrahedral, quadrilateral, hexahedral, and hybrid meshes.
  • Having the curved geometric information in coolfluid itself (splines) allows for nice mesh-refinement algorithms

The steps necessary for Gmsh:

  • FindGmsh.cmake file to locate gmsh mesher
  • Meta-mesh generation API
    • Write gmsh geo file
    • system call to gmsh with correct arguments

Using a generic Meta-mesh generation API we will also be able to also support CGAL, or the BlockMesher @barche implemented.

On the same note, we could perhaps also extract a geometry from an already imported mesh.

  • identify surfaces or volumes from regions, splines or NURBS from curved boundaries.
  • write Gmsh geo file

This will allow to remesh a mesh easily.

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

No branches or pull requests

1 participant