.. _sphx_glr_examples_contact: Contact and interfaces ---------------------- Contact between deformable bodies and self-contact, with the penalty method and with the Incremental Potential Contact (IPC) barrier, compared with analytical solutions (Hertz, Westergaard) where they exist. The folder also covers self-contact in 2D axisymmetric models (tube compression) and cohesive interfaces: :ref:`sphx_glr_examples_contact_cohesive_dcb_3d.py` opens a zero-thickness interface governed by a :class:`fedoo.constitutivelaw.CohesiveLaw`. The IPC examples (``ipc_*`` and the other scripts using ``IPCContact`` or ``IPCSelfContact``) require the optional dependency ``ipctk`` (``pip install fedoo[ipc]``). Some of them also need ``gmsh`` to mesh curved geometries. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_cohesive_dcb_3d_thumb.png :alt: :doc:`/examples/contact/cohesive_dcb_3d` .. raw:: html
Composite double-cantilever beam with a cohesive interface
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_hertz_axisymmetric_thumb.png :alt: :doc:`/examples/contact/hertz_axisymmetric` .. raw:: html
Hertz axisymmetric contact benchmark: rigid sphere on elastic half-space
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_ipc_disk_rectangle_thumb.png :alt: :doc:`/examples/contact/ipc_disk_rectangle` .. raw:: html
Disk-rectangle contact (2D, IPC method)
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_ipc_gyroid_compression_thumb.png :alt: :doc:`/examples/contact/ipc_gyroid_compression` .. raw:: html
Gyroid self-contact under compression (3D, IPC method)
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_ipc_gyroid_compression_periodic_thumb.png :alt: :doc:`/examples/contact/ipc_gyroid_compression_periodic` .. raw:: html
Gyroid compression with periodic BCs (3D, IPC method)
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_ipc_gyroid_compression_plastic_thumb.png :alt: :doc:`/examples/contact/ipc_gyroid_compression_plastic` .. raw:: html
Elasto-plastic gyroid self-contact under compression (3D, IPC method)
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_ipc_indentation_2d_thumb.png :alt: :doc:`/examples/contact/ipc_indentation_2d` .. raw:: html
Disk indentation (2D plane strain) — IPC contact with Hertz comparison
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_ipc_indentation_3d_thumb.png :alt: :doc:`/examples/contact/ipc_indentation_3d` .. raw:: html
Sphere indentation (3D) — IPC contact with Hertz comparison
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_ipc_punch_indentation_thumb.png :alt: :doc:`/examples/contact/ipc_punch_indentation` .. raw:: html
Hemispherical punch indentation (3D, IPC method)
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_ipc_self_contact_thumb.png :alt: :doc:`/examples/contact/ipc_self_contact` .. raw:: html
Self-contact — hole plate compression (2D, IPC method)
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_ipc_tube_compression_thumb.png :alt: :doc:`/examples/contact/ipc_tube_compression` .. raw:: html
Tube compression (2Daxi): IPC versus penalty self-contact
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_penalty_disk_rectangle_thumb.png :alt: :doc:`/examples/contact/penalty_disk_rectangle` .. raw:: html
Disk-rectangle contact (2D, penalty method)
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_penalty_self_contact_thumb.png :alt: :doc:`/examples/contact/penalty_self_contact` .. raw:: html
Self-contact — hole plate compression (2D, penalty method)
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_tube_compression_thumb.png :alt: :doc:`/examples/contact/tube_compression` .. raw:: html
Compression of a tube using 2D axisymmetric model
.. raw:: html
.. only:: html .. image:: /examples/contact/images/thumb/sphx_glr_westergaard_sinusoidal_thumb.png :alt: :doc:`/examples/contact/westergaard_sinusoidal` .. raw:: html
Westergaard sinusoidal contact benchmark: IPC vs penalty
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /examples/contact/cohesive_dcb_3d /examples/contact/hertz_axisymmetric /examples/contact/ipc_disk_rectangle /examples/contact/ipc_gyroid_compression /examples/contact/ipc_gyroid_compression_periodic /examples/contact/ipc_gyroid_compression_plastic /examples/contact/ipc_indentation_2d /examples/contact/ipc_indentation_3d /examples/contact/ipc_punch_indentation /examples/contact/ipc_self_contact /examples/contact/ipc_tube_compression /examples/contact/penalty_disk_rectangle /examples/contact/penalty_self_contact /examples/contact/tube_compression /examples/contact/westergaard_sinusoidal