Skip to content
PartialRigid.md

PartialRigid ​

Models a massless, rigid connection of a defined length between two translational 1D flanges.

This partial component defines an ideal rigid bar of length L that connects two translational 1D mechanical flanges, flange_a and flange_b. The component's position is characterized by the absolute coordinate s of its center point. The positions of the flanges are then kinematically constrained relative to this center point and the length L. The key equations governing these positions are:

flange_a.s=s−L2flange_b.s=s+L2

This also implies that the distance between the flanges is fixed:

flange_b.s−flange_a.s=L

As a partial component, it is intended to be used as a base for other, more complete components.

Usage ​

TranslationalComponents.PartialRigid(L=0.0)

Parameters: ​

NameDescriptionUnitsDefault value
LLength of component, from left flange to right flangem0

Connectors ​

  • flange_a - This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. (Flange)

  • flange_b - This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. (Flange)

Variables ​

NameDescriptionUnits
sAbsolute position of center of componentm

Source ​

dyad
"""
Models a massless, rigid connection of a defined length between two translational 1D flanges.

This partial component defines an ideal rigid bar of length `L` that connects two
translational 1D mechanical flanges, `flange_a` and `flange_b`. The component's
position is characterized by the absolute coordinate `s` of its center point.
The positions of the flanges are then kinematically constrained relative to this
center point and the length `L`. The key equations governing these positions are:

math flange_a.s = s - \frac{L}

math flange_b.s = s + \frac{L}

This also implies that the distance between the flanges is fixed:

math flange_b.s - flange_a.s = L

As a `partial component`, it is intended to be used as a base for other, more complete components.
"""
partial component PartialRigid
  "Left translational 1D flange"
  flange_a = Flange() {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
  "Right translational 1D flange"
  flange_b = Flange() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
  "Absolute position of center of component"
  variable s::Dyad.Position
  "Length of component, from left flange to right flange"
  parameter L::Length = 0.0
relations
  flange_a.s = s - L / 2
  flange_b.s = s + L / 2
end
Flattened Source
dyad
"""
Models a massless, rigid connection of a defined length between two translational 1D flanges.

This partial component defines an ideal rigid bar of length `L` that connects two
translational 1D mechanical flanges, `flange_a` and `flange_b`. The component's
position is characterized by the absolute coordinate `s` of its center point.
The positions of the flanges are then kinematically constrained relative to this
center point and the length `L`. The key equations governing these positions are:

math flange_a.s = s - \frac{L}

math flange_b.s = s + \frac{L}

This also implies that the distance between the flanges is fixed:

math flange_b.s - flange_a.s = L

As a `partial component`, it is intended to be used as a base for other, more complete components.
"""
partial component PartialRigid
  "Left translational 1D flange"
  flange_a = Flange() {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
  "Right translational 1D flange"
  flange_b = Flange() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
  "Absolute position of center of component"
  variable s::Dyad.Position
  "Length of component, from left flange to right flange"
  parameter L::Length = 0.0
relations
  flange_a.s = s - L / 2
  flange_b.s = s + L / 2
metadata {}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses