Spring

Linear 1D translational spring

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

A linear 1D translational spring. The component can be connected either between two sliding masses, or between a sliding mass and the housing (model Fixed), to describe a coupling of the sliding mass with the housing via a spring.

Parameters (2)

c

Value:

Type: TranslationalSpringConstant (N/m)

Description: Spring constant

s_rel0

Value: 0

Type: Distance (m)

Description: Unstretched spring length

Connectors (2)

flange_a

Type: Flange_a

Description: (left) driving flange (flange axis directed into cut plane, e. g. from left to right)

flange_b

Type: Flange_b

Description: (right) driven flange (flange axis directed out of cut plane)

Used in Examples (8)

SpringMassSystem

Modelica.Mechanics.MultiBody.Examples.Elementary

Mass attached with a spring to the world frame

InitialConditions

Modelica.Mechanics.Translational.Examples

Setting of initial conditions

WhyArrows

Modelica.Mechanics.Translational.Examples

Use of arrows in Mechanics.Translational

Damper

Modelica.Mechanics.Translational.Examples

Use of damper models

Oscillator

Modelica.Mechanics.Translational.Examples

Oscillator demonstrates the use of initial conditions

Friction

Modelica.Mechanics.Translational.Examples

Use of model Stop

PreLoad

Modelica.Mechanics.Translational.Examples

Preload of a spool using ElastoGap models

HeatLosses

Modelica.Mechanics.Translational.Examples

Demonstrate the modeling of heat losses

Used in Components (2)

Spring

Modelica.Mechanics.MultiBody.Forces

Linear translational spring with optional mass

Spring

Modelica.Mechanics.Translational.Examples.Utilities

Input/output block of a spring model