Rotational.IdealGear ​
This component extends from PartialElementaryTwoFlangesAndSupport2
Usage ​
TranslatedComponents.Rotational.IdealGear(ratio=1)
Parameters: ​
| Name | Description | Units | Default value |
|---|---|---|---|
useSupport | – | false | |
ratio | – | 1 |
Connectors ​
flange_a- This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)flange_b- This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)support- This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)
Variables ​
| Name | Description | Units |
|---|---|---|
phi_support | rad | |
phi_a | rad | |
phi_b | rad |
Behavior ​
Source ​
dyad
component IdealGear
extends PartialElementaryTwoFlangesAndSupport2
parameter ratio::Real = 1
variable phi_a::Dyad.Angle
variable phi_b::Dyad.Angle
relations
phi_a = flange_a.phi - phi_support
phi_b = flange_b.phi - phi_support
phi_a = ratio * phi_b
0 = ratio * flange_a.tau + flange_b.tau
endFlattened Source
dyad
component IdealGear
flange_a = Spline()
flange_b = Spline()
support = Spline() if useSupport
structural parameter useSupport::Boolean = false
variable phi_support::Dyad.Angle
parameter ratio::Real = 1
variable phi_a::Dyad.Angle
variable phi_b::Dyad.Angle
relations
if !useSupport
phi_support = 0
else
initial support.phi = phi_support
end
if useSupport
initial support.tau = -flange_a.tau - flange_b.tau
end
phi_a = flange_a.phi - phi_support
phi_b = flange_b.phi - phi_support
phi_a = ratio * phi_b
0 = ratio * flange_a.tau + flange_b.tau
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses