Friday, June 14, 2013

First Step(Summer is Coming!!)

Coding Season is starting from 17 June, and community bonding period has been a good time, to connect with the people from the organization, and some brainstorming sessions on IRC on when and how things should be done.
 Some things have been sort out, and  some remains to be, but hopefully those will be sorted soon too.


Meanwhile I have been able to write a example, in the form of an IPython notebook, which although loosely implemented, describes the workflow we intend to accomplish in this coding season.

The example is based on the simulation of a simple mass spring system.

The workflow comprises of following steps:

1) Defining basic symbols (mass,gravity,stiffness etc.)

 2) Generate a Particle object, using built in mechanics Particle class.(sympy.physics.mechanics.Particle)

3)Define forces on particle.

4)Generate a Kane object for the particle.

5)Utilizing Kane object to generate symbolic equations of motion.

6) Using partially implemented code generation methods to generate numerical solutions to the equation of motion of the particle.

7) Passing the numerical values to the roughly implemented Javascript methods to simulate the motion in the output cell of IPython notebook.


Looks good so far. Feeling excited to start the coding session, writing some codes!! ..




No comments:

Post a Comment