Reduction and reconstruction methods for simulation and control of fluids