A Mathematical Framework For Volume Modeling And Simulation