LIBRARY
Mounting1D
Propagates 1D rotational flange reactions into the 3D frame.
Fixes the flange at angle phi0 and connects frame_a and housing_frame_a. The reaction torque from the 1D flange is projected onto the 3D axis n.
Usage
MultibodyComponents.Mounting1D(phi0=0, n=[1, 0, 0])
Parameters:
| Name | Description | Units | Default value |
|---|---|---|---|
phi0 | Fixed offset angle of housing | rad | 0 |
n | Axis of rotation = axis of support torque (resolved in frame_a) | – | [1, 0, 0] |
Connectors
frame_a- Frame3D is the fundamental 3D connector used for 6DOF motion. Most components have one or severalFrame
connectors that can be connected together (Frame3D)
housing_frame_a- Frame3D is the fundamental 3D connector used for 6DOF motion. Most components have one or severalFrame
connectors that can be connected together (Frame3D)
flange_b- This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)
Variables
| Name | Description | Units |
|---|---|---|
housing_tau | Reaction torque vector resolved in frame_a | N.m |
Behavior
Source
dyad
"""
Propagates 1D rotational flange reactions into the 3D frame.
Fixes the flange at angle `phi0` and connects `frame_a` and `housing_frame_a`.
The reaction torque from the 1D flange is projected onto the 3D axis `n`.
"""
component Mounting1D
frame_a = Frame3D() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 450, "y1": 310, "x2": 550, "y2": 410, "rot": 0}
},
"tags": []
}
}
housing_frame_a = Frame3D() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 50, "y1": 450, "x2": 150, "y2": 550, "rot": 0}
},
"tags": []
}
}
flange_b = Spline() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 450, "y1": 550, "x2": 550, "y2": 650, "rot": 0}
},
"tags": []
}
}
"Fixed offset angle of housing"
parameter phi0::Angle = 0
"Axis of rotation = axis of support torque (resolved in frame_a)"
parameter n::Real[3] = [1, 0, 0]
"Reaction torque vector resolved in frame_a"
variable housing_tau::Dyad.Torque[3]
relations
housing_tau = -n * flange_b.tau
flange_b.phi = phi0
connect(housing_frame_a, frame_a)
metadata {
"Dyad": {
"icons": {"default": "dyad://MultibodyComponents/Mounting1D.svg"},
"labels": [
{
"label": "$(instance)",
"x": 500,
"y": 150,
"rot": 0,
"attrs": {"font-size": "160"}
}
]
}
}
endFlattened Source
dyad
"""
Propagates 1D rotational flange reactions into the 3D frame.
Fixes the flange at angle `phi0` and connects `frame_a` and `housing_frame_a`.
The reaction torque from the 1D flange is projected onto the 3D axis `n`.
"""
component Mounting1D
frame_a = Frame3D() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 450, "y1": 310, "x2": 550, "y2": 410, "rot": 0}
},
"tags": []
}
}
housing_frame_a = Frame3D() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 50, "y1": 450, "x2": 150, "y2": 550, "rot": 0}
},
"tags": []
}
}
flange_b = Spline() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 450, "y1": 550, "x2": 550, "y2": 650, "rot": 0}
},
"tags": []
}
}
"Fixed offset angle of housing"
parameter phi0::Angle = 0
"Axis of rotation = axis of support torque (resolved in frame_a)"
parameter n::Real[3] = [1, 0, 0]
"Reaction torque vector resolved in frame_a"
variable housing_tau::Dyad.Torque[3]
relations
housing_tau = -n * flange_b.tau
flange_b.phi = phi0
connect(housing_frame_a, frame_a)
metadata {
"Dyad": {
"icons": {"default": "dyad://MultibodyComponents/Mounting1D.svg"},
"labels": [
{
"label": "$(instance)",
"x": 500,
"y": 150,
"rot": 0,
"attrs": {"font-size": "160"}
}
]
}
}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses