I would like to simulate the projectile motion, but considering both initial velocity, gravity, drag and a wind vector field.
My wind is specified by a discrete set of values of position intensity and direction (it can be regular, if easier). Im currently restricting myself to the 2D vertical section domain.
Im also considering that the projectile has a drag coefficient independent of its resultant velocity direction (like a sphere type).
Can someone give me some initial guidance for the best implementation approach, especially in what concerns the integration of the discrete sampled vector field into the calculation of the projectile path (the program motor).
Here are some demonstrations that I found of interest:
http://demonstrations.wolfram.com/FlowOfAVectorFieldIn2D/
http://demonstrations.wolfram.com/MotionOfProjectileWithOrWithoutAirResistance/
http://demonstrations.wolfram.com/BallisticTrajectories/
I will later want to integrate the notion of walls. That is, the vector field is not defined in the entire 2D domain, since there are buildings in the middle. The projectile can eventually bump into these polygonal regions. No special treatment is needed on these cases, besides just treating it as, for instance, a black hole, or a point of velocity stagnation (although Im opened to suggestions on other type of treatments).
And just for curiosity, on the final state of the development, I will want to simulated the launch of hundreds these heavy particles, with a statistical variation of initial position and velocity, and check how many bump into one specific region.
Thank you in advance for any kind of input.