> 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/integrator/implicit/newmark/rayleighnewmark.md).

# RayleighNewmark

Newmark Algorithm With Rayleigh Damping Model

The `RayleighNewmark` integrator is simply a wrapper of the `Newmark` integrator with Rayleigh model implemented on global level.

**For the moment, MPC cannot be considered in all global damping models.**

```
# valid starting from version 2.x
integrator RayleighNewmark (1) (2) (3) (4) (5) (6) (7)
# (1) int, unique tag
# (2) double, alpha (beta in some references) in Newmark method, normally 0.25
# (3) double, beta (gamma in some references) in Newmark method, normally 0.5
# (4) double, alpha
# (5) double, beta
# (6) double, theta
# (7) double, eta
```

## Theory

By default, the Rayleigh type damping model is used. No matter what other damping modifiers are defined, this integrator always set the element damping matrix to be

$$
C=\alpha{}M+\beta{}K\_C+\theta{}K\_I+\eta{}K\_T
$$

by the `Rayleigh` modifier in addition to the existing damping matrix defined in the element. In the above formulation, $$K\_C$$ is the current converged stiffness, $$K\_I$$ is the initial stiffness of the element, $$K\_T$$ is the trial stiffness of current iteration. Please note if $$K\_T$$ is involved, the damping force is then a function of trial displacement. The quadratic convergence rate is lost then.


---

# 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/integrator/implicit/newmark/rayleighnewmark.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.
