title: Simple gas/fluid dynamics source code
body: <p>I have a 3D matrix of voxel objects that I'd like to use to store the state of some basic physics principles in. The intention here is to then represent the volume in real-time (~30FPS) in a video game.
  I would like to try to have the volume capable of the following:
  1. Store fluid and gas types of various weights and follow basic interaction principles. For example oxygen is lighter than water.
  2. Be able to determine pressure.
  3. Be able to interact with 'solid' objects. So a hollow 3D box can store something that won't 'leak' out.</p>
  
  <p>All of this can be very basic and can forgo any 'accuracy' tests.</p>
  
  <p>Happy to accept ideas as well as any decent resources for further reading. I would however posit that I don't believe I have the skill to take a paper or advanced equation and roll my own library.</p>