Elements of Direct and Large-Eddy Simulation