modelSlidingMass3D

Same as SlidingMass3D, but with variable array sizes

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

TypeNameDefaultDescription
Integerp3
Real[p]n{i for i in 1:p}
Realm1

Components

TypeNameDefaultDescription
Realu0Generalized driving force
Reals
Realsd
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)