Velocity Source
Mechanics
Run the live example
Free · no sign-up · runs in your browser
The VelocitySource block models an ideal mechanical velocity generator in 1D translational networks. It imposes a prescribed relative linear velocity across its driving terminal (flange_a) and reaction terminal (flange_b), regardless of the transmitted force.
Real-World Analog: Represents a kinematic lead-screw slider or motion stage driving a prescribed linear velocity profile regardless of opposing resistance.
Mathematical Model
The across-variable Dirichlet boundary condition is:
For DC mode, the velocity is constant:
For AC sinusoidal mode:
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | in |
Ctrl | number | Optional |
| → In | flange_a |
A | number | Required |
| → In | flange_b |
B | number | Required |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
velocity |
Velocity (v) | number | 1 |
Imposed linear velocity in m/s |
source_type |
Source Type | select | DC |
DC constant or AC sinusoidal velocity |
frequency |
Frequency (f) | number | 50 |
Frequency in Hz when AC source type is selected |
Usage Examples
Constant Speed Kinematic Test
Imposing a constant 3 m/s feed velocity on a cutting table damped by viscous friction:
VelocitySource(velocity=3.0) -> TranslationalDamper(damping_coefficient=6.0) -> TranslationalReference
Sinusoidal Shake Table Vibration
Simulating seismic base excitation on a building structure:
VelocitySource(velocity=0.5, source_type="AC", frequency=2.0) -> TranslationalSpring(k=1000.0) -> Mass(m=50.0)Remarks & Best Practices
- Dirichlet Boundary: Fixes node potential across terminals regardless of the force drawn.
- MNA Stelsel: Formulates an auxiliary branch current row in the MNA system matrix.
Related Components
- Mass: 1D translational inertia element
- TranslationalSpring: Compliant linear spring
- TranslationalDamper: Viscous damping element
- ForceSource: Prescribed force actuator