Translational.Rod
Rod without inertia This component is translated by DyadAI
This component extends from PartialRigid
Usage
TranslatedComponents.Translational.Rod(L=0)
Parameters:
| Name | Description | Units | Default value |
|---|---|---|---|
L | Length of component, from left flange to right flange (= flange_b.s - flange_a.s) | m | 0 |
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
| Name | Description | Units |
|---|---|---|
s | Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2) | m |
Behavior
Source
dyad
# Rod without inertia
# This component is translated by DyadAI
component Rod
extends PartialRigid
relations
0 = flange_a.f + flange_b.f
endFlattened Source
dyad
# Rod without inertia
# This component is translated by DyadAI
component Rod
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
0 = flange_a.f + flange_b.f
metadata {}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses