> For the complete documentation index, see [llms.txt](https://enercalc.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enercalc.com/docs/e3d-user-manual/analysis/toc161394061/toc161394063.md). Agents can also search and read this documentation through its [MCP server](https://enercalc.com/docs/~gitbook/mcp).

# Mass and Stiffness

How to compute the global mass and stiffness matrices used in frequency and dynamic analysis.

The global mass matrix \[M] is diagonal and is computed based on the load combination for frequency analysis and/or additional nodal masses/mass moments of inertia. The load combination for frequency analysis may be specified in Analysis > Frequency Analysis. The program will automatically convert all forces (not moments) in the positive or negative gravity direction to nodal masses and apply them in all available mass degrees of freedom. Additional nodal masses and mass moments of inertia may be input from Loads > Additional Masses or Input > Additional Masses. Zero terms in the global mass matrix \[M] are allowed. The number of eigenvalues requested must be fewer than the mass DOFs which is the number of nonzero diagonal terms in \[M]. Due to the lumped mass modeling, the elements should be properly divided or submeshed for a continuous vibration model. For example, a beam with uniformly distributed mass should be divided into at least eight elements in order to find accurate vibration results.

The load combination for frequency analysis is also used to compute the global stiffness matrix \[K] if the model response is not linear. This may be the case if 1). The load combination for frequency analysis is of P-Delta type; or 2). The model contains nonlinear elements such as compression-only springs. In the first case (geometric nonlinearity), the compressive forces decrease the model stiffness (and therefore lengthen the vibration periods of the model) while tensile forces increase the model stiffness. The influence of the axial loads is greater on the lower frequencies than on the higher ones. The effect of nonlinearity on the stiffness matrix of the structure is incorporated as follows:

* An iterative (nonlinear) static analysis is first performed with the loads in the load combination for frequency analysis.
* The stiffness matrix at the end of the static analysis will be used in the frequency analysis. The stiffness therefore includes geometric and element nonlinearities corresponding to the end of the nonlinear static analysis.

**Forced displacements at supports are ignored in frequency 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://enercalc.com/docs/e3d-user-manual/analysis/toc161394061/toc161394063.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
