:orphan:
Elements
========
Per-element living documentation — one sub-gallery per registered
element. Each script is a runnable companion to the corresponding
theory page under
:doc:`/user-guide/pre-processing/elements/index`, exercising the same
shape functions, quadrature rule, and formulation options on a tiny
self-contained problem.
These examples run on every docs build, so the theory pages stay
grounded in code that actually works.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. thumbnail-parent-div-close
.. raw:: html
BEAM188 gallery
===============
Runnable BEAM188 (3D 2-node beam) examples.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /gallery/elements/beam188/images/thumb/sphx_glr_example_beam2_reference_geometry_thumb.png
:alt:
:doc:`/gallery/elements/beam188/example_beam2_reference_geometry`
.. raw:: html
BEAM2 reference geometry — Hermite cubic shape functions
.. raw:: html
.. only:: html
.. image:: /gallery/elements/beam188/images/thumb/sphx_glr_example_beam188_thumb.png
:alt:
:doc:`/gallery/elements/beam188/example_beam188`
.. raw:: html
BEAM2 — cantilever tip deflection and first mode
.. thumbnail-parent-div-close
.. raw:: html
COMBIN14 gallery
================
Runnable COMBIN14 (3D 2-node spring) examples.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /gallery/elements/combin14/images/thumb/sphx_glr_example_spring_reference_geometry_thumb.png
:alt:
:doc:`/gallery/elements/combin14/example_spring_reference_geometry`
.. raw:: html
SPRING — 2-node longitudinal spring stiffness
.. raw:: html
.. only:: html
.. image:: /gallery/elements/combin14/images/thumb/sphx_glr_example_combin14_thumb.png
:alt:
:doc:`/gallery/elements/combin14/example_combin14`
.. raw:: html
SPRING — two springs in series
.. thumbnail-parent-div-close
.. raw:: html
LINK180 gallery
===============
Gallery of runnable LINK180 (3D 2-node truss) examples.
See ``examples/link180/README.md`` in the repository for the element
theory write-up.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /gallery/elements/link180/images/thumb/sphx_glr_example_truss2_reference_geometry_thumb.png
:alt:
:doc:`/gallery/elements/link180/example_truss2_reference_geometry`
.. raw:: html
TRUSS2 reference geometry — linear axial bar
.. raw:: html
.. only:: html
.. image:: /gallery/elements/link180/images/thumb/sphx_glr_example_link180_thumb.png
:alt:
:doc:`/gallery/elements/link180/example_link180`
.. raw:: html
TRUSS2 — axial truss under end load
.. thumbnail-parent-div-close
.. raw:: html
MASS21 gallery
==============
Runnable MASS21 (1-node lumped mass) examples.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /gallery/elements/mass21/images/thumb/sphx_glr_example_point_mass_reference_geometry_thumb.png
:alt:
:doc:`/gallery/elements/mass21/example_point_mass_reference_geometry`
.. raw:: html
POINT_MASS — single-node lumped mass
.. raw:: html
.. only:: html
.. image:: /gallery/elements/mass21/images/thumb/sphx_glr_example_mass21_thumb.png
:alt:
:doc:`/gallery/elements/mass21/example_mass21`
.. raw:: html
POINT_MASS — single-DOF spring-mass oscillator
.. thumbnail-parent-div-close
.. raw:: html
PLANE182 gallery
================
Runnable PLANE182 (2D 4-node quad) examples.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /gallery/elements/plane182/images/thumb/sphx_glr_example_quad4_plane_reference_geometry_thumb.png
:alt:
:doc:`/gallery/elements/plane182/example_quad4_plane_reference_geometry`
.. raw:: html
QUAD4 plane reference geometry — bilinear shape functions + 2×2 Gauss
.. raw:: html
.. only:: html
.. image:: /gallery/elements/plane182/images/thumb/sphx_glr_example_quad4_shape_functions_thumb.png
:alt:
:doc:`/gallery/elements/plane182/example_quad4_shape_functions`
.. raw:: html
QUAD4 bilinear shape functions on the reference square
.. raw:: html
.. only:: html
.. image:: /gallery/elements/plane182/images/thumb/sphx_glr_example_plane182_thumb.png
:alt:
:doc:`/gallery/elements/plane182/example_plane182`
.. raw:: html
QUAD4_PLANE — plane-stress uniaxial tension
.. thumbnail-parent-div-close
.. raw:: html
SHELL181 gallery
================
Runnable SHELL181 (4-node shell) examples.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /gallery/elements/shell181/images/thumb/sphx_glr_example_quad4_shell_reference_geometry_thumb.png
:alt:
:doc:`/gallery/elements/shell181/example_quad4_shell_reference_geometry`
.. raw:: html
QUAD4 shell reference geometry — Mindlin–Reissner shape functions
.. raw:: html
.. only:: html
.. image:: /gallery/elements/shell181/images/thumb/sphx_glr_example_shell181_thumb.png
:alt:
:doc:`/gallery/elements/shell181/example_shell181`
.. raw:: html
QUAD4_SHELL — uniaxial stretch of a flat square plate
.. thumbnail-parent-div-close
.. raw:: html
SOLID185 gallery
================
Runnable SOLID185 (8-node hex) examples.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /gallery/elements/solid185/images/thumb/sphx_glr_example_hex8_reference_geometry_thumb.png
:alt:
:doc:`/gallery/elements/solid185/example_hex8_reference_geometry`
.. raw:: html
HEX8 reference geometry — nodes, shape functions, Gauss points
.. raw:: html
.. only:: html
.. image:: /gallery/elements/solid185/images/thumb/sphx_glr_example_hex8_shape_function_surfaces_thumb.png
:alt:
:doc:`/gallery/elements/solid185/example_hex8_shape_function_surfaces`
.. raw:: html
HEX8 shape-function surfaces on the reference cube
.. raw:: html
.. only:: html
.. image:: /gallery/elements/solid185/images/thumb/sphx_glr_example_solid185_thumb.png
:alt:
:doc:`/gallery/elements/solid185/example_solid185`
.. raw:: html
HEX8 — uniaxial tension of a unit cube
.. thumbnail-parent-div-close
.. raw:: html
SOLID186 gallery
================
Runnable SOLID186 (20-node serendipity hex) examples.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /gallery/elements/solid186/images/thumb/sphx_glr_example_solid186_thumb.png
:alt:
:doc:`/gallery/elements/solid186/example_solid186`
.. raw:: html
HEX20 — uniaxial tension on a 20-node hex
.. raw:: html
.. only:: html
.. image:: /gallery/elements/solid186/images/thumb/sphx_glr_example_hex20_reference_geometry_thumb.png
:alt:
:doc:`/gallery/elements/solid186/example_hex20_reference_geometry`
.. raw:: html
HEX20 reference geometry — corner + mid-edge nodes, Gauss points
.. raw:: html
.. only:: html
.. image:: /gallery/elements/solid186/images/thumb/sphx_glr_example_hex20_shape_function_slices_thumb.png
:alt:
:doc:`/gallery/elements/solid186/example_hex20_shape_function_slices`
.. raw:: html
HEX20 shape-function slices on the bottom face
.. thumbnail-parent-div-close
.. raw:: html
SOLID187 gallery
================
Runnable SOLID187 (10-node quadratic tetrahedron) examples.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /gallery/elements/solid187/images/thumb/sphx_glr_example_solid187_thumb.png
:alt:
:doc:`/gallery/elements/solid187/example_solid187`
.. raw:: html
TET10 — prescribed uniform strain on a 10-node tet
.. raw:: html
.. only:: html
.. image:: /gallery/elements/solid187/images/thumb/sphx_glr_example_tet10_shape_function_slices_thumb.png
:alt:
:doc:`/gallery/elements/solid187/example_tet10_shape_function_slices`
.. raw:: html
TET10 shape-function slices on the unit tetrahedron
.. raw:: html
.. only:: html
.. image:: /gallery/elements/solid187/images/thumb/sphx_glr_example_tet10_reference_geometry_thumb.png
:alt:
:doc:`/gallery/elements/solid187/example_tet10_reference_geometry`
.. raw:: html
TET10 reference geometry — corner + mid-edge nodes, Keast points
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
:includehidden:
/gallery/elements/beam188/index.rst
/gallery/elements/combin14/index.rst
/gallery/elements/link180/index.rst
/gallery/elements/mass21/index.rst
/gallery/elements/plane182/index.rst
/gallery/elements/shell181/index.rst
/gallery/elements/solid185/index.rst
/gallery/elements/solid186/index.rst
/gallery/elements/solid187/index.rst
.. only:: html
.. container:: sphx-glr-footer sphx-glr-footer-gallery
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: elements_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: elements_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_