Basic principles of fluid dynamics