Interfaces.PartialElementaryTwoFlangesAndSupport2
Partial model for a component with two translational 1D flanges and a support.
This partial component extends PartialTwoFlanges to add a support flange. It defines the distances s_a and s_b between each flange and the support:
The force balance ensures the reaction force is transmitted to the support:
In the MSL, the support connector is conditional (useSupport). Here, the support is always present. To model a grounded support, connect it to a Fixed component.
This component extends from TranslationalComponents.Interfaces.PartialTwoFlanges
Usage
TranslationalComponents.Interfaces.PartialElementaryTwoFlangesAndSupport2()
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)support- This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. (Flange)
Variables
| Name | Description | Units |
|---|---|---|
s_a | Distance between left flange and support | m |
s_b | Distance between right flange and support | m |
Source
"""
Partial model for a component with two translational 1D flanges and a support.
This partial component extends `PartialTwoFlanges` to add a support flange.
It defines the distances `s_a` and `s_b` between each flange and the support:
```math
s_a = flange\_a.s - support.s
```
```math
s_b = flange\_b.s - support.s
```
The force balance ensures the reaction force is transmitted to the support:
```math
support.f = -flange\_a.f - flange\_b.f
```
In the MSL, the support connector is conditional (`useSupport`). Here, the support
is always present. To model a grounded support, connect it to a `Fixed` component.
"""
partial component PartialElementaryTwoFlangesAndSupport2
extends TranslationalComponents.Interfaces.PartialTwoFlanges
"Support/housing of component"
support = Flange() {"Dyad": {"placement": {"icon": {"x1": 450, "y1": 950, "x2": 550, "y2": 1050}}}}
"Distance between left flange and support"
variable s_a::Length
"Distance between right flange and support"
variable s_b::Length
relations
s_a = flange_a.s - support.s
s_b = flange_b.s - support.s
support.f = -flange_a.f - flange_b.f
endFlattened Source
"""
Partial model for a component with two translational 1D flanges and a support.
This partial component extends `PartialTwoFlanges` to add a support flange.
It defines the distances `s_a` and `s_b` between each flange and the support:
```math
s_a = flange\_a.s - support.s
```
```math
s_b = flange\_b.s - support.s
```
The force balance ensures the reaction force is transmitted to the support:
```math
support.f = -flange\_a.f - flange\_b.f
```
In the MSL, the support connector is conditional (`useSupport`). Here, the support
is always present. To model a grounded support, connect it to a `Fixed` component.
"""
partial component PartialElementaryTwoFlangesAndSupport2
"Left mechanical translational flange (connector)"
flange_a = Flange() {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
"Right mechanical translational flange (connector)"
flange_b = Flange() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
"Support/housing of component"
support = Flange() {"Dyad": {"placement": {"icon": {"x1": 450, "y1": 950, "x2": 550, "y2": 1050}}}}
"Distance between left flange and support"
variable s_a::Length
"Distance between right flange and support"
variable s_b::Length
relations
s_a = flange_a.s - support.s
s_b = flange_b.s - support.s
support.f = -flange_a.f - flange_b.f
metadata {}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses