Advanced mechanics of fluids