ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 06 Oct 2013 20:24:37 +0200Particle Systems. Is SAGE suited to assign physical properties to point particles (eg attraction/repulsion formula) distributed in 3d visible space and simulate dynamic relocation? Any tips on best approach?https://ask.sagemath.org/question/10589/particle-systems-is-sage-suited-to-assign-physical-properties-to-point-particles-eg-attractionrepulsion-formula-distributed-in-3d-visible-space-and/Particle Systems. Is SAGE suited to assign physical properties to point particles (eg attraction/repulsion formula) distributed in 3d visible space and simulate dynamic relocation? Any tips on best approach?Fri, 04 Oct 2013 10:41:40 +0200https://ask.sagemath.org/question/10589/particle-systems-is-sage-suited-to-assign-physical-properties-to-point-particles-eg-attractionrepulsion-formula-distributed-in-3d-visible-space-and/Answer by jaia for <p>Particle Systems. Is SAGE suited to assign physical properties to point particles (eg attraction/repulsion formula) distributed in 3d visible space and simulate dynamic relocation? Any tips on best approach?</p>
https://ask.sagemath.org/question/10589/particle-systems-is-sage-suited-to-assign-physical-properties-to-point-particles-eg-attractionrepulsion-formula-distributed-in-3d-visible-space-and/?answer=15519#post-id-15519If you can write the system of ODEs, you can simulate it with any of Sage's numerical integrators. My favorite is desolve_odeint. You can then use point3d ([http://ask.sagemath.org/question/547/plot-a-list-of-3d-data](http://ask.sagemath.org/question/547/plot-a-list-of-3d-data "point3d")) to plot the points.
Hope that helps!Sun, 06 Oct 2013 20:24:37 +0200https://ask.sagemath.org/question/10589/particle-systems-is-sage-suited-to-assign-physical-properties-to-point-particles-eg-attractionrepulsion-formula-distributed-in-3d-visible-space-and/?answer=15519#post-id-15519