> For the complete documentation index, see [llms.txt](https://tlcfem.gitbook.io/suanpan-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tlcfem.gitbook.io/suanpan-manual/element/special/damper02.md).

# Damper02

Maxwell Model

The `Damper02` and `Damper04` are Maxwell models that use **displacement** and **velocity** as inputs, that is, element length is not used to compute strain or strain rate.

## References

The Maxwell model allows combinations of nonlinear springs and dampers. The algorithm implemented is documented in the following paper.

1. [10.1016/j.ymssp.2021.108795](https://doi.org/10.1016/j.ymssp.2021.108795)

## Damper02

The `Damper02` is the 2D version.

* Number of Nodes: 2
* Number of DoFs: 2 (Translation, Translation)
* DoF Label: U1, U2

## Damper04

The `Damper04` is the 3D version.

* Number of Nodes: 2
* Number of DoFs: 3 (Translation, Translation, Translation)
* DoF Label: U1, U2, U3

## Syntax

```
element Damper02 (1) (2) (3) (4) (5) [6] [7] [8]
element Damper04 (1) (2) (3) (4) (5) [6] [7] [8]
# (1) int, unique tag
# (2) int, node i
# (3) int, node j
# (4) int, damper tag
# (5) int, spring tag
# [6] bool string, if to use matrix in iteration, default: true
# [7] int, the maximum delay number, default: 0
# [8] double, beta, default: 0.5
```

## Remarks

1. Parameter `[7]` indicates if to stack diverged increments into next iteration. If $$0$$ is assigned, the material returns a failure flag as long as local iteration fails to converge. If $$n>0$$, a maximum $$n$$ increments are allowed to be stacked before exit due to divergence.
2. The `[8]` parameter controls the local time integration, $$\beta\in\[0,1]$$ shall be defined. The default value $$0.5$$ implies a constant acceleration rule for the spring component in the Maxwell model.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://tlcfem.gitbook.io/suanpan-manual/element/special/damper02.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
