> For the complete documentation index, see [llms.txt](https://docs.enercalc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enercalc.com/e3d-user-manual/analysis/toc161394061/toc161394063.md).

# 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 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://docs.enercalc.com/e3d-user-manual/analysis/toc161394061/toc161394063.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.
