Priusds / ParGeo

Generate complex two-dimensional geometries for simulations based on mesh discretizations.
https://pypi.org/project/pargeo/
MIT License
2 stars 1 forks source link

Segmetize Introduktion #61

Open Drachiro opened 9 months ago

Drachiro commented 9 months ago

The presents of geometry intersection with possible coarse boundary elements can cause very poor meshes when applying gmsh.

For this reason it is required to have more vertices on the boundary interface, in particular the intersection sub manifold of composite and domain boundary.

Here are multiple solutions:

  1. Solve with lc from gmsh.
  2. shapely segmentize, but this has to respect aligned amount of vertices in case of periodic domains to ensure proper periodic functions spaces later in fenics.