Fundamentals of hydro- and aeromechanics