Here, we will post some useful example code and notes. It is not required for you to work with this code, but it may be helpful for getting started. For Fall 2018, the instructors were Charlie Peskin and Charles Puelz. For Fall 2019, the instructors are Charlie Peskin and Guanhua Sun. This class is associated with the Modeling and Simulation RTG grant here at Courant.
-building a bicycle: bicycle.m
-2d forward Euler example with a chain of springs: spring_string_2d.m
-Sphere Triangulation Program: sphere.zip
-2d bouncing ball: bouncing_ball.m. Try varying the spring and dashpot parameters to see how this impacts the dynamics. Be careful, the set of parameters in this file are close to being unstable with forward Euler :-).
-rigid bodies: rigid_body.m
-falling cone: falling_cone.m
-Stochastic Microscopic Mass Action: micro_mass_action.m
Here is a link to some notes that will be regularly updated. These are still a work in progress.
Here are some of Charlie’s hand written notes:
A project on 1D blood flow by Murphy Pan