felupe-contact documentation#

felupe-contact is an extension package for FElupe with a contact between the surfaces of deformable solid bodies, e.g. rubber components, which undergo large deformations and large relative displacements.

The contact is an item of FElupe, i.e. it is added to the items of a Step like a SolidBody. All other building blocks, like the mesh, the regions, the fields, the solid bodies, the boundary conditions, the jobs and their plugins, are taken from FElupe. Hence, an existing FElupe-script is extended by a contact with only a few lines of code.

πŸƒ Getting Started

New to felupe-contact? This guide adds a contact to a FElupe-script, step by step. Requires an understanding of the key concepts of FElupe.

Getting Started
πŸ“– API reference

The reference guide contains a detailed description of the API of felupe-contact, including the formulation of the contact. It describes how the methods work and which parameters can be used.

API Reference
☎ How-To

Step-by-step guides for specific tasks, like the definition of the contact surfaces, two-dimensional problems, the convergence of the Newton-Raphson method or friction.

How-To Guides
πŸ“š Examples

A gallery of examples.

Examples

Highlights

  • a contact between the surfaces of deformable solid bodies (surface-to-surface, penalty-based) with optional Coulomb friction

  • a frictionless Nitsche contact between solid bodies, whose contact pressure contains the normal stress of the bodies, i.e. its penetration doesn’t grow with the contact pressure

  • an item of FElupe, i.e. it is used in a Step, a Job and a CharacteristicCurve, and with the CutbackPlugin and the LinesearchPlugin

  • three-dimensional, plane strain and axisymmetric problems

  • all boundary regions of FElupe, i.e. faces with linear or quadratic shape functions

  • contact surfaces given by all faces on the outline of a mesh, i.e. no manual assignment of the faces in the contact zone is required

  • an estimated penalty stiffness, which requires no manual tuning for rubber-to-rubber or for rubber-to-metal contacts

Warning

felupe-contact is in an early stage of development. Its API may change without a deprecation.

Contact in FElupe and in felupe-contact#

FElupe contains contact formulations with rigid surfaces and a contact by a third medium. felupe-contact adds a contact between the surfaces of deformable solid bodies.

Contact formulations of FElupe and felupe-contact#

Class

Package

Contact partner

Friction

MultiPointContact

FElupe

rigid wall (point-to-wall)

no

ContactRigidPlane

FElupe

rigid plane (node-to-surface)

Coulomb

ContactRigidCylinder

FElupe

rigid cylinder (node-to-surface)

Coulomb

ThirdMediumContactMixed

FElupe

a third (soft) medium which fills the gap between the bodies

no

SolidBodyContact

felupe-contact

deformable solid bodies (surface-to-surface)

Coulomb

SolidBodyContactNitsche

felupe-contact

deformable solid bodies (surface-to-surface, Nitsche)

no

Installation#

Install Python, open a terminal and run

pip install felupe-contact

The development version is installed from its main branch

pip install git+https://github.com/adtzlr/felupe-contact.git@main

or by a clone of the repository in editable mode.

git clone https://github.com/adtzlr/felupe-contact.git
cd felupe-contact
pip install --editable .

felupe-contact has minimal requirements, all available at PyPI supporting all platforms.

  • felupe (v12.0 or later) for the finite element infrastructure

  • numpy for array operations

  • scipy for sparse matrices and the contact search

The optional dependencies of FElupe, e.g. pyvista for interactive visualizations and matplotlib for plotting graphs, are installed by pip install felupe-contact[all], or by replacing the last line of the editable install.

pip install --editable ".[all]"

felupe-contact is tested with the latest release and with the development version of FElupe.

License#

felupe-contact - Contact Extension-package for FElupe (C) 2026 Andreas Dutzler, Graz (Austria).

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Indices and tables#