Re: [sympy] Re: Vector Debate

2015-10-24 Thread Francesco Bonazzi
I don't see the point at all in removing the ability to represent expressions like *C1.x * C1.i + C2.y * C2.j *, it is perfectly desirable and has a well-defined behavior under differential operators (since it's an addition). The point I brought up on github, is about the behavior of different

Re: [sympy] Need help with init_session

2015-10-24 Thread Manipal Singh
Thanks Aaron Meurer I was not aware about that. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email t

[sympy] Inertia of a rod

2015-10-24 Thread Philippe Fichou
Hey, all Consider a pendulum of length OA = 2a, of mass m as a rigid body of center of mass G (OG = a) which turn around (O,z). The angle between the reference frame R and the rod is q. The inertia of the body is I = (G,0,ma^2/3,ma^2/3) When I ask Sympy for the angular momentum about point O, it

[sympy] Re: Inertia of a rod

2015-10-24 Thread Philippe Fichou
I propose an answer to my own question. Would there not an error in Sympy ? I can read here http://docs.sympy.org/dev/modules/physics/mechanics/api/part_bod.html#sympy.physics.mechanics.rigidbody.RigidBody.angular_momentum that: *Angular momentum of the rigid body.* The angular momentum H, abo

Re: [sympy] Finding the Riemann tensor for the surface of a sphere with sympy.diffgeom

2015-10-24 Thread Imran Ali
I have made a geodesic solver using sympy.diffgeom and scipy.integrate. Currently I am having some issue with the solver. But the problem may be related to Scipy. I have posted a thread here : http://scicomp.stackexchange.com/questions/21103/numerical-solution-of-geodesic-differential-equations

Re: [sympy] Re: Inertia of a rod

2015-10-24 Thread Jason Moore
I think you are correct. Here is the output if you change the angular momentum function to use the velocity of the mass center: In [1]: %paste from sympy import symbols from sympy.physics.mechanics import * m,a = symbols('m a') q = dynamicsymbols('q') R = ReferenceFrame('R') R1 = R.orientnew('R1

Re: [sympy] Re: Inertia of a rod

2015-10-24 Thread Jason Moore
I just submitted this PR: https://github.com/sympy/sympy/pull/10037 with a fix. Jason moorepants.info +01 530-601-9791 On Sat, Oct 24, 2015 at 10:49 PM, Jason Moore wrote: > I think you are correct. Here is the output if you change the angular > momentum function to use the velocity of the mas

Re: [sympy] Re: Inertia of a rod

2015-10-24 Thread Philippe Fichou
Thank you Jason for your reply and to fix proposal, Philippe -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group,