Chain
Chain component
The Chain component models an extensible discretized chain with no bending integrity. The Chain component has options for wind lift/drag and for connecting to a Pulley component or a Winch component.
Usage
Parameters
Connections
The Chain component can be used separately or together with a Pulley component or a Winch component. The Chain component can be used in series to transfer force along a given path.
Chain components generally create a stiff system of equations. As such the best solver choice for models containing chains is the variable-step Rosenbrock solver.
Material Flow Sign Convention
If the Boolean parameters Fixed end a and/or Fixed end b are set to false (unchecked), 1D translational flanges are added to enable material flow.
Discretization
The number of middle nodes making up a Chain component is a user-defined parameter, n. The total mass of the Chain is given by M=Lunstretched⁢λ; where Lunstretched is the time-varying length of the chain excluding any stretching, and λ is the linear density of the chain. Each middle node has mass Mn+1. The two end nodes each have half the mass of a middle node, M2⁢n+1.
Wind
The Chain component has an option to enable wind forces. The wind speed in the global coordinate frame is provided via a 3-vector Real input signal. The following formulations are used to calculate the lift and drag on each segment:
cLi=cD0⁢sin⁡αi2⁢cos⁡αi
cDi=cD0⁢sin⁡αi3+π⁢cF
where cLi and cDi are the lift and drag coefficients of the i-th segment, respectively. cD0 and cF are user defined base drag and friction coefficients. αi is the angle-of-attack for the i-th segment and is calculated from the wind velocity vector and the instantaneous velocity and orientation of the i-th chain segment.
The user has the option to replace the above formula with a lookup table defining cL and cD w.r.t. to α.
Reference: S. F. Hoerner, Fluid-Dynamic Drag: Practical Information on Aerodynamic Drag and Hydrodynamic Resistance, Hoerner Fluid Dynamics Midland Park, NJ, 1965.
Basic
The initial length of a chain component is determined from the position of the multibody frames to which it is connected. Make sure the chain's multibody frames are connected to other elements with defined positions. See the example below.
Chains in Series
Chains and a Pulley
Before connecting a Chain to a Pulley or Winch on end a (frame_a) and/or on end b (frame_b), the Boolean parameters Pulley on end a and/or Pulley on end b must be set to true (checked), respectively. When set to true (checked) the selections are indicated on the Chain icon with an orange circle and the corresponding multibody frame is turned to a 2-vector port.
Formulation
Name
Condition
Default
Description
Modelica ID
n
5
Number of middle nodes. E.g., when n=5, there are 7 mass points.
No force in compression
Extensible=true
false
When checked (true) the chain applies no force in compression. This option may be avoided if the chain always remains in tension.
noCompression
Detail
Fixed end a=false∨Fixed end b=false∨Pulley on end a=true∨Pulley one end b=true
1
Formulation detail level: (1) Level 1: No flow inertial reaction (low flow velocity or acceleration) (2) Level 2: Full formulation (high flow velocity or acceleration)
Use node frames
When checked (true) n frames for the middle nodes are enabled
useNodeFrames
Tangent to pulley
Pulley on end a=true∨Pulley one end b=true
When checked (true) the chain segment connected to the pulley is forced to remain tangent to the pulley. Using this option will result in more realistic-looking simulations, however, the initialization may fail or the simulation may become unstable if the lengths of the chain segments are smaller than the radius of the pulley.
forceTangent
Properties
Units
λ
0.5
kgm
Linear density
lambda
EA
1000000
N
Axial rigidity: Modulus of elasticity (E) times area (A)
dr
0.01
Damping ratio: c=dr⁢EA
Pretension
When checked (true) the unstretched length is given by the initial length of the chain minus the pretension length.
usePretension
δL
Pretension=true
0.1
m
Pretension length
dL
d0
Use wind=false
N⁢sm
Linear drag (per unit length). This effect is only used to reduce excessive lateral vibrations.
d_0
Use wind
Enable wind calculations
useWind
Use data table
Use wind=true
When true (checked) lift and drag coefficients are defined as a function of the angle between chain segment and relative wind velocity.
useTable
cD0
Use wind=true∧Use data table=false
1.1
Drag coefficient, cD=cD0⁢sin⁡α3+π⁢cF and cL=cD0⁢sin⁡α2⁢cos⁡α
cF
0
Friction coefficient, cD=cD0⁢sin⁡α3+π⁢cF
data source
Use wind=true∧Use data table=true
inline
Data source
datasourcemode
table
Data set. First column: Angle of Attack (in rad), Second column: Lift coefficient, Third column: Drag coefficient
data
Attached data set. First column: Angle of Attack, Second column: Lift coefficient, Third column: Drag coefficient.
skip rows
Number of rows to skip
skipRows
smoothness
Linear segments
Smoothness of table interpolation
ρair
1.2
kgm3
Air density
rho_air
D
0.04
Chain effective diameter
Pulley on end a
When checked (true) the chain is to be connected to a pulley at frame_a
toPulley_a
Pulley on end b
When checked (true) the chain is to be connected to a pulley at frame_b
toPulley_b
Fixed end a
Pulley on end a=false
true
When checked (true) the chain is fixed to frame_a. When unchecked (false) a 1D mechanical flange is enabled for material flow.
fixed_a
Fixed end b
Pulley on end b=false
When checked (true) the chain is fixed to frame_b. When unchecked (false) a 1D mechanical flange is enabled for material flow.
fixed_b
Visualization
Show visualization
showVisualization
Transparent
Show visualization=true
transparent
radius
0.02
Chain radius. This radius is only used for the cylindrical visualization of the chain
Color mode
Single color
Choose color option: (1) Single color, (2) Two colors: Tension and No tension, (3) Multi-color: Color based on tension value
colorMode
Chain color
Show visualization=true∧Color mode=2
gray
Chain color 1
color
2nd chain color
Show visualization=true∧Color mode∈2,3
red
Chain color 2
color2
τmin
Show visualization=true∧Color mode=3
Minimum Tension: color 1
minTension
τmax
1000
Maximum Tension: color 2
maxTension
Force arrows
When checked (true), arrows are added at end points to visualize tension.
show Tension
Scale
Tension visualization=true
Force scale (N to m)
tensionscale
Color
cyan
Force arrow color
tensioncolor
Force arrow transparency
tensiontransparent
Flow rate arrow
Fixed end a=false∨Fixed end b=false∨Pulley on end a=true∨Pulley on end b=true
When checked (true), an arrow is added to visualize material flow speed and direction
showFlow
Fixed end a=false∨Fixed end b=false∨Pulley on end a=true∨Pulley on end b=true∧Flow visualization=true
Speed scale (m/s to m)
speedscale
magenta
Flow arrow color
flowcolor
Flow arrow transparency
flowtransparent
Summary Variables
Force unit
Unit in which the summary variables summary_Tension_a and summary_Tension_b are expressed
forceUnitSummary
framea
End a multibody frame.
frame_a
frameb
End b multibody frame.
frame_b
frameap
Pulley on end a=true
End a a 2-Vector multibody frame. For use with a Pulley or Winch component.
frame_ap
framebp
Pulley on end b=true
End b a 2-Vector multibody frame For use with a Pulley or Winch component.
frame_bp
framec
Used node frames=true
n-vector multibody port for the middle nodes
frame_c
flangea
Fixed end a=false∨Pulley on end a=true
End a 1D translational flange for chain flow.
flange_a
flangeb
Fixed end b=false∨Pulley on end b=true
End b 1D translational flange for chain flow.
flange_b
wind
3-vector signal input for wind velocity in global coordinate frame.
See Also
Pulley
Winch
Winch3D
Cable
Rope
Ropes and Pulleys Library Overview
Download Help Document