Describe the process of fluid dynamics in mechanical systems, including the equations that govern fluid flow and the factors that influence fluid behavior in both laminar and turbulent flow conditions.