I was watching this video here: https://www.youtube.com/watch?v=MTl5Xy_soFY
on the topic of calculating thrust for jet/rocket engines (where she arrives at $T+P_1A_1-P_2A_2=\frac{\partial(mv)}{\partial t}$). I was somewhat confused by the fact that she was able to assume that the mass flow rate was constant. If your engine is accelerating, the air intake (for a jet engine) will be increasing to some degree and since air is largely compressible, wouldn't you have to deal with the fact that $\frac{dm}{dt}$ isn't necessarily constant in the control volume? In the case of a rocket engine, if you had some design constraint that required a time-dependent release of fuel, would that also have the same effect?
The way I see it, one should apply the product rule to the RHS such that $\frac{\partial(mv)}{\partial t} = m\frac{\partial v}{\partial t} + v\frac{\partial m}{\partial t}$ where some relationship for $\frac{\partial m}{\partial t}$ is required based on the compressbility factor of the working fluid.
Am I completely wrong?