Where can I find better documentation for air.cpp & air.h? The code seems to be a pretty simple time step calculation for pressure and velocity, but I would like a little more detail as to how it was made and about some fo the abbreviations. For example, dx, dy and dp are all pretty obviously self-explanatory, but ovx, ovy, etc. is less so. Thanks!
Simply put, no-one really dares try and document it (as far as i'm aware). Stuff prefixed with 'o', I believe, stands for "old", the old version of some piece of data.
Thanks! I'm not trying to anything specific at the moment, I'm just an aerospace engineering student with a splash of programming knowledge curious about how the simulations were created. I might tinker with it down the road, but I'm trying to figure out how everything fits in. This script is obviously called for each frame of the simulation, and also updates pressure/velocity to account for and alter particle motion, as well as stationary solids. Do you know where it's called in the main simulation?