Skip to content
Translational.PartialRigid.md

Translational.PartialRigid

Rigid connection of two Translational 1D flanges This component is translated by DyadAI

This component extends from PartialTwoFlanges

Usage

TranslatedComponents.Translational.PartialRigid(L=0)

Parameters:

NameDescriptionUnitsDefault value
LLength of component, from left flange to right flange (= flange_b.s - flange_a.s)m0

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 component (s = flange_a.s + L/2 = flange_b.s - L/2)m

Source

dyad
# Rigid connection of two Translational 1D flanges
# This component is translated by DyadAI
partial component PartialRigid
  extends PartialTwoFlanges
  # Length of component, from left flange to right flange (= flange_b.s - flange_a.s)
  parameter L::Dyad.Length = 0
  # Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)
  variable s::Dyad.Position
relations
  flange_a.s = s - L / 2
  flange_b.s = s + L / 2
end
Flattened Source
dyad
# Rigid connection of two Translational 1D flanges
# This component is translated by DyadAI
partial component PartialRigid
  flange_a = Flange()
  flange_b = Flange()
  # Length of component, from left flange to right flange (= flange_b.s - flange_a.s)
  parameter L::Dyad.Length = 0
  # Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)
  variable s::Dyad.Position
relations
  flange_a.s = s - L / 2
  flange_b.s = s + L / 2
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses