Skip to content
Translational.PartialCompliant.md

Translational.PartialCompliant

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

This component extends from PartialTwoFlanges

Usage

TranslatedComponents.Translational.PartialCompliant()

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
s_relRelative distance (= flange_b.s - flange_a.s)m
fForce between flanges (positive in direction of flange axis R)N

Source

dyad
# Compliant connection of two Translational 1D flanges
# This component is translated by DyadAI
partial component PartialCompliant
  extends PartialTwoFlanges
  # Relative distance (= flange_b.s - flange_a.s)
  variable s_rel::Dyad.Position
  # Force between flanges (positive in direction of flange axis R)
  variable f::Dyad.Force
relations
  s_rel = flange_b.s - flange_a.s
  flange_b.f = f
  flange_a.f = -f
end
Flattened Source
dyad
# Compliant connection of two Translational 1D flanges
# This component is translated by DyadAI
partial component PartialCompliant
  flange_a = Flange()
  flange_b = Flange()
  # Relative distance (= flange_b.s - flange_a.s)
  variable s_rel::Dyad.Position
  # Force between flanges (positive in direction of flange axis R)
  variable f::Dyad.Force
relations
  s_rel = flange_b.s - flange_a.s
  flange_b.f = f
  flange_a.f = -f
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses