PartialElementaryTwoSplinesAndSupport
IconPartialElementaryTwoSplinesAndSupport
Partial model for a component with two rotational 1-dim. shaft splines and a support spline used for textual modeling i.e., for elementary models
Usage
PartialElementaryTwoSplinesAndSupport()
Connectors
Variables
Name | Description | Units |
---|---|---|
phi_support | Absolute angle of support spline | rad |
Source
# Partial model for a component with two rotational 1-dim. shaft splines and a
# support spline used for textual modeling i.e., for elementary models
partial component PartialElementaryTwoSplinesAndSupport
spline_a = Spline() [{
"JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}
}]
spline_b = Spline() [{
"JuliaSim": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}
}]
support = Spline() [{
"JuliaSim": {
"placement": {"icon": {"iconName": "support", "x1": 450, "y1": 950, "x2": 550, "y2": 1050}}
}
}]
# Absolute angle of support spline
variable phi_support::Angle
relations
support.phi = phi_support
support.tau = -spline_a.tau-spline_b.tau
end
Flattened Source
# Partial model for a component with two rotational 1-dim. shaft splines and a # support spline used for textual modeling i.e., for elementary models partial component PartialElementaryTwoSplinesAndSupport spline_a = Spline() [{ "JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}} }] spline_b = Spline() [{ "JuliaSim": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}} }] support = Spline() [{ "JuliaSim": { "placement": {"icon": {"iconName": "support", "x1": 450, "y1": 950, "x2": 550, "y2": 1050}} } }] # Absolute angle of support spline variable phi_support::Angle relations support.phi = phi_support support.tau = -spline_a.tau-spline_b.tau metadata {} end
Test Cases
Related
- Examples
- Experiments
- Analyses