Text this: Particle swarm modelling of a flexible beam structure