Skip to content

Commit

Permalink
Enhance docs on meshing
Browse files Browse the repository at this point in the history
  • Loading branch information
adtzlr committed Sep 2, 2023
1 parent b13b07a commit 9fc6e93
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Binary file added docs/howto/images/fidget_spinner_boundary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions docs/howto/meshgen.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,23 @@ The elementary shapes are combined to create more complex shapes, e.g. a triangu
.. image:: images/fidget_spinner.png
:width: 400px

For quad- and hexahedron-meshes it is possible to extract the boundaries of the mesh by a boundary region.

.. code-block:: python
boundary = fem.RegionQuadBoundary(mesh)
boundary.mesh
.. image:: images/fidget_spinner_boundary.png
:width: 400px

.. code-block:: python
boundary.mesh_faces()
.. image:: images/fidget_spinner_boundary_faces.png
:width: 400px

Cylinders
*********

Expand Down

0 comments on commit 9fc6e93

Please sign in to comment.