They may be used to model the weather , ocean currents , water flow in a pipe , the air 's flow around a wing , and motion of stars inside a galaxy . They may be used to model the weather , ocean currents , water flow in a pipe and air flow around a wing .