Translational.PartialRigid ​
This component extends from PartialTwoFlanges
Usage ​
TranslatedComponents.Translational.PartialRigid(L=0)
Parameters: ​
| Name | Description | Units | Default value |
|---|---|---|---|
L | 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 | 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
endFlattened Source
dyad
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 {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses