> 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/translationconnector.md).

# TranslationConnector

Translation Connector Implemented via Penalty Method

## Syntax

### TranslationConnector2D

* Number of Nodes: 3
* Number of DoFs: 2 (Translation: UX, Translation: UY)

```
element TranslationConnector2D (1) (2) (3) (4) [5]
# (1) int, unique element tag
# (2) int, node i
# (3) int, node j
# (4) int, node k
# [5] double, penalty factor
```

### TranslationConnector3D

* Number of Nodes: 3
* Number of DoFs: 3 (Translation: UX, Translation: UY, Translation: UZ)

```
element TranslationConnector3D (1) (2) (3) (4) [5]
# (1) int, unique element tag
# (2) int, node i
# (3) int, node j
# (4) int, node k
# [5] double, penalty factor
```

## Theory

The schematic is shown as follows.

![TranslationConnector](https://1124082496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEquxr3H9WpPg4iPvT2mB%2Fuploads%2Fgit-blob-258535d47a270132e20fa6c4c0c739448cfa6200%2FTranslationConnector.svg?alt=media)

The initial position of node $$k$$ is not necessarily on the line defined by nodes $$i$$ and $$j$$.

The `TranslationConnector` will pull node $$k$$ to the (closest point of) line defined by nodes $$i$$ and $$j$$.

The ratio $$c$$ is computed according to the initial positions and remains constant during the analysis.


---

# 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/translationconnector.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.
