I am a computer scientist currently writing a 3D simulation for high speed projectiles both sub and supersonic for various shapes and sizes of projectiles. For now I am focused on completing simulation of a simple model of a round ball shaped projectile (ie a cannonball or musket shot). I like my program to visually simulate the flow of heat due to air friction with the projectile but need direction to know what wikipedia source to read. I want to simulate friction force being converted into heat and simulate this transfer of infra red radiation from interaction of ball and air to air and to ball and from ball back to air. Hope that makes sense. I am confident I can find the relevant formula in publicly available articles on thermodynamics and college level physics as it sounds like a straight forward problem to me. How do I calculate the percentage of heat that is absorbed by the ball vs absorbed by the air when generated by the interaction of the two substances? Assuming that the ball is made of well known metallic materials such as alluminium where there is plenty of supporting properties and experimental data of the material to help with the above question. If supersonic speeds will make this too hard please then just assume subsonic speeds, perhaps of a typical 6lb cannon from the 1800's. Assume also that Drag coefficient is 0.47 The solution does not need to be 100% accurate, a simplified solution for 90-95% accuracy will surfice.