> 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/material/material1d/degradation/customstraindegradation.md).

# CustomStrainDegradation

Strain History Based Degradation With Custom Rules

This model implements the [universal damage model](/suanpan-manual/material/material1d/degradation/degradation.md) assuming the degradation factor depends on the strain history.

## Syntax

```
material CustomStrainDegradation (1) (2) (3) [4]
# (1) int, unique material tag
# (2) int, host intact material tag
# (3) int, tension degradation expression tag
# [4] int, compression degradation expression tag, default: (3)
```

## Usage

The usage of `CustomStrainDegradation` is identical to [`CustomStressDegradation`](/suanpan-manual/material/material1d/degradation/customstressdegradation.md).

The degradations for positive/negative strains are defined separately.

$$
D\_{pos}=D\_{pos}(\varepsilon\_{max}),\quad
D\_{neg}=D\_{neg}(\varepsilon\_{min}).
$$

In which $$\varepsilon\_{max}$$ is the maximum strain (positive) of the whole loading history, and $$\varepsilon\_{min}$$ is the minimum strain (negative) of the whole loading history.


---

# 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/material/material1d/degradation/customstraindegradation.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.
