Skip to content
Projects

Examples

Download notebookView on GitHubRun when the site was built.

Run these notebooks to explore simgeometry with real grids and shapes. Each page includes its source notebook for download.

  1. Grids and coordinates explains node locations, masks, and periodic axes.

  2. Shapes and node masks selects grid nodes, tests point batches, and plots a circle.

  3. Parallel grids covers MPI decomposition metadata, local index ranges, and neighbouring ranks.

  4. Inspecting geometry covers plotting, 3D surfaces and interactive clipping.

  5. Slices and coordinate sampling covers labelled evaluation and arbitrary planes.

  6. Building composite shapes combines, transforms and names objects.

  7. Grid intersections and cut edges covers surface crossings and cell fractions.

  8. Sampling, export and diagnostics covers point clouds, portable meshes and resolution checks.

  9. Boundary outlines turns 2D shapes into vertex loops and panels for boundary-element solvers, and finds where particle steps cross a boundary.

  10. Conductors and level sets builds an Einzel lens from ring electrodes with voltages, reads Dirichlet values on a grid, and uses level sets for exact distances and edge crossings.

See Building the docs to add an example.