modelSlidingMass3D
Extends from Modelica.Icons.Example.
Information
This is a (correct) model of a sliding mass in 3D that can only be processed if the arrays are expanded (index reduction is only possible with expanded arrays), as explained in
Martin Otter, Hilding Elmqvist (2025): Resizable Arrays in Object-Oriented Modeling. International Modelica & FMI Conference 2025.
However, the model can be slightly changed as shown in SlidingMass3D, in order that it can be processed with the new methods presented in the reference above - without expanding the arrays. This is a general method that works for all tree-structured multibody systems. It is also possible to treat multibody systems with kinematic loops without array expansion, but this needs a slightly different design of a corresponding library.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | p | 3 | |
| Real[p] | n | {i for i in 1:p} | |
| Real | m | 1 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u | 0 | Generalized driving force |
| Real | s | ||
| Real | sd | ||
| Real[p] | r | ||
| Real[p] | v | ||
| Real[p] | f |
Revisions
- 2026-10-28 by Karim Abdelhak (HSBI): Changed to variable array sizes.
- 2025-05-02 by Martin Otter (DLR-FK): Initial version.
Copyright © 2025 Deutsches Zentrum für Luft- und Raumfahr e.V. - Institute of Vehicle Concepts .(DLR-FK)