Skip to content

visualdynamics.demo

demo

Models to try the toolset on, built by the toolset.

A structural dynamics package needs something to demonstrate on, and a from-scratch one has a particular reason to build its own: the demonstration is the claim. These models are assembled with visualdynamics.fem and nothing else, so every number they produce — geometry, mode shapes, synthesized FRFs — is the package's own answer rather than another library's, imported.

from visualdynamics.demo import drone

model = drone.build()
shapes = model.eigensolution(maximum_frequency=300, damping=0.02)
model.geometry().plot()

Building is deliberately a call rather than a module-level object. The dense quadcopter is 1230 degrees of freedom and its eigensolution takes a second or two, which is not something to spend on an import that may only have wanted the mesh.