Summary: This module introduces an overview of the three-dimensional network wave equation, and discusses numerical solutions and eigenvalue approximations using the finite element method. A Matlab GUI for drawing webs is presented, and eigenvalues from FEM are compared to closed form solutions to the eigenvalues of the one-dimensional network wave equation. As of present, this module contains a rough draft of the material. Links and external files will be added soon.
Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.
Jesse Chan Web Report (1st draft)
The motion of most musical instrument strings can be described by the one dimensional wave equation on an interval
The purpose of the Physics of Strings seminar has traditionally been to study the motion of a vibrating string by analyzing its eigenfunctions and eigenvalues, equivalent to the string's fundamental modes and fundamental frequencies, respectively. The progression of these eigenvalues and eigenvectors tell us a great deal about the string; for example, given eigenvalues of a string, we can determine how quickly its vibrations decay, and whether the frequency of a vibration affects how quickly it's damped.
The properties of the string, likewise, can tell us something about the eigenvalues. Physical constants, such as the length of the string, are proportionally related to the eigenvalues. Given data on the vibration of a string, there are also methods to reverse-engineer the eigenvalues of that string. There are several models of a vibrating string, and the most detailed ones can reproduce eigenvalues that accurately match the reverse-engineered string eigenvalues. However, while much research has been done on several models of a single string, the behavior of networks of strings is less well understood.
We seek to mathematically model and investigate the motion of networks of strings, specifically by understanding eigenvalues and the corresponding modes of vibration. We study these behaviors within the context of the tritar (a guitar-like instrument based upon a Y-shaped network of 3 strings) and in the vibrations of more complex networks such as spiderwebs.
The vibration of a string in one dimension can be understood through the standard wave equation, given by
where
or equivalently, the first order matrix equation
We are especially interested in the eigenvalues
Since only trigonometric functions satisfy both our equation and our boundary conditions, our eigenfunction to take the form
These eigenfunctions constitute an infinite-dimensional basis for any solution to the wave equation, with
In this report, we use the finite element method to numerically solve for solutions to the wave equation. The idea behind this method is based on picking a finite-dimensional set of
We first derive what is called the “weak form" of our PDE. Given a function
If we integrate the right hand side by parts and apply Dirichlet boundary conditions, we get
This form of the wave equation is called the weak form. We now expand
Let
Note that if we define a new “energy" inner product
for
where
Using the finite element method, we choose these basis functions to be piecewise linear “hat" functions. If we partition the space
for
We can solve for our coefficients
We can see the relation to the continuous system,
where
A closely related equation is the wave equation with viscous damping (resulting from a viscous medium in which the string vibrates, i.e. air). To simulate this effect, a velocity-dependent damping function
For the cases we consider here, we shall take
Thankfully, the finite element discretization of this equation doesn't involve much new work; all we do is reuse some of our calculations. If we make the substitution for
we get
Taking an inner product with
We usually refer to the matrix
Should I write about eigenvalues here?
Unlike our simple one dimensional case, it is much more difficult to determine the closed form eigenvalues and eigenfunctions of a network of strings. To this end, we apply the finite element method to numerically simulate the behavior of a network wave equation.
Let the
where
where
If we define the set
This network wave equation stensor matrix can also be mathematically derived from the nonlinear model of Antman; the linear, one dimensional wave equation is derived by taking the orientation vector
|
The network wave equation is much more tractable for a concrete example. We begin by covering the network wave equation for the simplest net - a Y-shaped net called a “tritar", in honor of the http://www.tritare.com guitar with Y-shaped strings. For our simple case, then, we have the boundary conditions
with the force balance equation
We will investigate this example further using a discretization of the network.
To model behavior and structure of a continuous network, we discretize and solve our equations using the finite element method. For the most part, applying FEM to our network model is the same as applying it to a simple string - the hat functions overlap and form a basis for the structure of each leg. The exception is at a joint, which has a new type of hat function, with its support spanning a small section of each string connected at that joint.
|
Let us write out the discretization for the example net in Figure 2. If we take a uniform discretization of each string into
analagous to the one dimensional finite element discretization of a string. If we substitute in our approximation from the basis of hat functions
we arrive at the relation
Let
we see these inner products behave much like the simple string inner products on the topology our network. This gives the relation
The joint is a different case. Let us our joint hat function be
after integrating over each string where the joint hat function is nonzero. If we recall that our force balance equation was
Conveniently, the force balance equation allows us to generalize this condition to joints with multiple legs as well. Next, substituting in
If we define
Together, equations (Equation 34) and (Equation 38) provide us with a system of equations
where
If we assume
and we can assemble
We can reverse engineer some of the geometry of our network from examination of these matrices - notice that each leg has 3 blocks assigned to it, corresponding to the 3 non-joint hat functions on each string. The far off-diagonal terms capture the connection of the first string to the third string, and the presence of
Unfortunately, for larger and more complex webs, writing the system out by hand becomes far too tedious. We seek a more systematic and flexible way of producing our finite element discretizations. We should note two things about finite element discretizations. First, if we stay consistent, a reordering of the nodes does not affect our discretization, though it may change the structure of our matrix. Secondly, our hat functions are not required to be either uniform or symmetric - they can vary in width depending on index, and one side can have a different width than another. This idea is known as
Knowing this, it is possible to produce a generalized finite element discretization of a web given only physical constants, a set of nodal points and each point's neighbors. Given this, we can calculate the step size
Many of the concepts from the single-string case carry over to networks.
We begin by describing the notation of the information represented by our data structures. We denote the
Assuming we are given a set of
Given
In practice, we normalize the positions of our nodes such that the web lies within a box of a desired arbitrary size
With all our variables now in place, we can now proceed to the actual construction of our discretization matrices. This requires knowing
Starting with our
The last part is a generalization of our inner product for a uniform grid on a single string. For the off-diagonal case
since two different hat function can overlap on at most one leg (otherwise two legs of a hat function could cover the same support).
Next, we can create our
after which we only need
For
which again is analogous to our single-string case.
The case of the damped network wave equation is worth examining as well, especially in the mathematical modeling of a spider's web. The material proper ties of spiderwebs also make it ideal for simulation via the second order wave equation. These include minimal torsion (twisting) in vibrations, low stiffness, no hysteresis under small strains, and a loss of energy primarily through aerodynamic damping. The wave equation assumes negligible torsion and low stiffness, is meant to model string movement specifically under small strains, and is easy to add a constant aerodynamic/viscous damping term to.
Since the structure of our damping matrix
With this last bit of information, we know each block entry of our
Thanks goes to Robert Likamwa, who coded much of the 3-dimensional visualization code, and to Jeremy Morell, who was the first to work on larger networks.
|
Using a GUI to wrap around our framework which allows the user to point and click to place nodes down, then to click from one node to another to specify the connection pattern. Endpoints (where the nodes are pinned down, enforcing Dirichlet boundary conditions) are assumed to be nodes with only one neighbor (i.e., not a link in a chain). Once the initial pattern is set, the user can change the discretization fineness as desired, as well as rescale the size of the web to a larger or small grid. When the user is done, the positions and connection pattern of the nodes can be used to create a finite element discretization of the network of strings.
While code behind the discretization of the web remains the main engine driving the mathematics of this model, the GUI has probably been where most of the work has gone, making the creation of webs accessible to anyone, although it's still possible to create a web simply by loading a data file.
Along with calculating eigenvalues, we can solve a system of differential equations in order to solve our second order PDE once given our
Since
and use a numerical solver. We feed into Matlab's ode45 to compute our solution over time given any initial condition.
To simulate a smooth initial ripple, I coded in a 3-point Gaussian as the initial displacement to a single node when the user chooses to pluck the web at that specific node. Plucking multiple nodes sums the displacement up over each node, so that any overlap of the Gaussian initial condition between two nodes is accounted for.
Once we're given the mass and stiffness matrices, it's easy to numerically solve for the eigenvalues. Writing our second order system with damping (
This is typically done using eig(A,B)
in Matlab to solve this generalized eigenvalue problem, where
|
This behavior is typical of finite element discretizations; given the non-smooth nature of our basis functions, it is difficult to accurately approximate high-frequency eigenfunctions, and typically, only about
Suppose we take a Cholesky factorization of