Sheet 03 — all projects

Sheet 03.2 — fig. 02

Trebuchator

Counterweight siege engine calculator

Screenshot of Trebuchator
Fig. 02 — Trebuchator

Three counterweight topologies — hinged, bolted and floating arm — are solved by one Lagrangian assembler, so they are the same physics rather than three approximations. A shot runs in three stages: dragged along the trough under a holonomic constraint, swinging free on the sling, then flying under quadratic drag with wind.

Liftoff is not a tuned threshold. The Lagrange multiplier on the trough constraint is the normal force, and the instant it passes through zero falls out of the solve. Beyond range it reports peak sling tension, peak frame reaction and beam bending moment at the pivot — the numbers you need to size an axle rather than guess one.

General notes

  1. Hinged, bolted and floating-arm counterweights through one solver
  2. Coulomb friction at the axle and hinge, and drag on the shot mid-stroke
  3. An energy audit that has to close
  4. Optimize returns a Pareto frontier of range against peak axle load
  5. What-if sweeps any one parameter and plots the range on offer
  6. Find best pin reports the spigot angle to actually bend
  7. Presets from a weekend build to Edward I's Warwolf, shareable by URL
  8. Validated against a published, instrumented machine

Control schedule

InputFunction
SpacePlay / pause
RFire again
DDimensions
AAngles
GGrid
NExplanations
[ Physics ][ Lagrangian mechanics ][ Simulation ][ Open source ]