FORTRAN SOFTWARE CATALOG

Repository owner: Jason Christopherson (jchristopherson)

friction

Coulomb, Stribeck and dynamic friction models for contacting bodies.

Repository · Pinned source (8e75dcac26f4) · Try in playground · Checked package example

GAMS classifications

About this package

Category
Dynamics and control
License
MIT

Topics: constitutive-models, contact-mechanics, coulomb, coulomb-friction, friction, generalized-maxwell-slip, lu-gre, maxwell, stribeck-friction

Classification scope and review notes

Constitutive friction models, with nonlinear parameter fitting and internal-state ODE integration in the reviewed source. The checked main covers algebraic Coulomb and Stribeck forces only; it does not validate parameter fitting or dynamic internal-state integration.

Package dependencies

Resolved GitHub repositories used by the verified playground build, combining direct and indirect dependencies. This list does not describe internal module dependencies or native system libraries.

Required by this build

Build record verified 2026-10-28.

Used by (0 selected packages)

No other selected build records this repository as a dependency. This is not a measure of usage outside the catalog.

Reviewed procedures

These mappings have pinned source evidence. A checked package example may exercise only some of them; source review is not a numerical benchmark.

friction_model%fit

Module: friction_core

L8

L8: source-supported

Derivatives / callbacks: not applicable

Parameter fitting remains unverified: the pinned Coulomb fit returned approximately 0.75 for noiseless observations with true coefficient 0.375 while reporting residual convergence. Source review finds fit_fcn returns model minus observed force, then passes observed force again as the least-squares target. Exact reproducer and cached GNU 16 result are retained in docs/gams-candidates/friction-double-subtraction. Ordinary algebraic force evaluation is separately checked; dynamic-state fitting remains unverified.

Pinned source: src/friction_core.f90

Author examples/tests: test/friction_model_tests.f90

internal_state_odes / internal_var_fit_fcn

Module: friction_core

I1

I1: source-supported

Derivatives / callbacks: not applicable

Constitutive friction models, with nonlinear parameter fitting and internal-state ODE integration in the reviewed source. The checked main covers algebraic Coulomb and Stribeck forces only; it does not validate parameter fitting or dynamic internal-state integration. Public LuGre state integration is now separately checked by friction-lugre-state; this does not verify the private interpolation/fitting callbacks recorded here.

Pinned source: src/friction_core.f90

lugre_model%state / evaluate (integrated with diffeq runge_kutta_23)

Module: friction_lugre

I1

I1: verified

Derivatives / callbacks: not applicable

Public LuGre constitutive internal-state ODE, distinct from the private fitting/interpolation callbacks in friction_core. Dedicated driver integrates constant-velocity segments with reversals, rest, changing segment loads and nonzero initial states against a closed-form exponential solution. Force histories and state derivatives are independently checked. No parameter-fitting or private callback claim.

Pinned source: src/models/friction_lugre.f90

Author examples/tests: examples/lugre_example.f90

Load checked GAMS driver: gams-friction-lugre-reference