Force Source
Mechanics
Run the live example
Free · no sign-up · runs in your browser
The ForceSource block models an ideal mechanical force generator in 1D translational networks. It injects a prescribed through-force between its driving terminal (flange_a) and its reaction terminal (flange_b).
When the causal in control port is wired, it overrides the internal parameter value with a dynamic continuous signal.
Real-World Analog: Represents a linear motor, pneumatic pusher rod, or gravity weight exerting an active linear force.
Mathematical Model
The through-variable constraint imposed between flanges A and B is:
Where:
Fis the transmitted force from flange A to flange B in Newtons ().- Flange B provides the physical reaction force ().
The instantaneous mechanical power delivered to the network is:
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 |
|---|---|---|---|---|
force |
Force (F) | number | 10 |
Applied force in Newtons (N) |
Usage Examples
Constant Thrust Accelerating Vehicle Mass
Applying a constant propulsion force to an inertia load with linear damping:
ForceSource(force=500.0) -> Mass(m=100.0) -> TranslationalDamper(d=25.0) -> TranslationalReference
Dynamic Step Force Input
Driving a spring-damper suspension using a step signal wired to the control port:
Step(stepTime=1.0, initialValue=0, finalValue=250) -> ForceSource.in
ForceSource.flange_a -> TranslationalSpring(k=5000.0) -> TranslationalReferenceRemarks & Best Practices
- Reaction Terminal: To preserve physical d'Alembert equilibrium, flange B should connect to a reaction mass or to
TranslationalReference. - MNA Stelsel: Acts as an ideal current/through source in the MNA equations.
Related Components
- Mass: 1D translational inertia element
- TranslationalSpring: Linear compliant restoring spring
- TranslationalDamper: Viscous friction and dashpot
- VelocitySource: Prescribed across-velocity generator